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
Latest ebuild was gcc-8.3.0-r3
(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.
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.
*** This bug has been marked as a duplicate of bug 674570 ***