Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 729296

Summary: please restore sys-devel/gcc-8.3.0
Product: Gentoo Linux Reporter: Soren Harward <stharward>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal CC: slyfox
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Soren Harward 2020-06-23 12:11:58 UTC
gcc-8.3.0 is the latest version that works with dev-util/nvidia-cuda-toolkit-10.2.89-r1.  8.4.0 and greater do not work. Please restore gcc-8.3.0 to the tree. Thanks.

Reproducible: Always
Comment 1 Soren Harward 2020-06-23 12:13:09 UTC
Latest ebuild was gcc-8.3.0-r3
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2020-06-23 17:21:35 UTC
(In reply to Soren Harward from comment #0)
> gcc-8.3.0 is the latest version that works with
> dev-util/nvidia-cuda-toolkit-10.2.89-r1.  8.4.0 and greater do not work.
> Please restore gcc-8.3.0 to the tree. Thanks.
> 
> Reproducible: Always

We can restore it, but can you clarify why it does not work.

I don't think I got the answer last time I asked. 8.3.0 and 8.4.0 are from the same gcc branch. They are supposed to have the same API and ABI. From gcc-10 we will not even allow multiple gcc versions from one major branch.

It's still very easy to add them back locally if needed. But I'd really like to understand why 8.3.0 works while 8.4.0 does not.
Comment 3 Soren Harward 2020-06-23 21:21:37 UTC
Okay, I see that the nvidia-cuda-toolkit ebuild was updated a couple weeks ago to work with 8.4.0.  I re-emerged nvidia-cuda-toolkit and my CUDA programs, and it works fine.  Closing as INVALID.

Version 11.0 of CUDA is near release, and it supports gcc-9.
Comment 4 Andreas Sturmlechner gentoo-dev 2020-06-27 10:50:32 UTC

*** This bug has been marked as a duplicate of bug 674570 ***