Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278210 - dev-util/nvidia-cuda-*: CUDA does not support GCC 4.4 and crashes during compile (error: inline function ‘int __signbit(double)’ cannot be declared weak), please modify the Ebuilds
Summary: dev-util/nvidia-cuda-*: CUDA does not support GCC 4.4 and crashes during comp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-17 21:52 UTC by Some stupid real name
Modified: 2009-07-19 00:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Some stupid real name 2009-07-17 21:52:22 UTC
The CUDA team at nVidia says that it will take them time to add support for GCC 4.4. At the moment, if you try to compile any of their products using GCC 4.4 the compiler complains about these errors:

error: inline function ‘int __signbit(double)’ cannot be declared weak

and tons of look-alikes. Could the ebuild be modified so that GCC 4.3 is used instead of GCC 4.4?

Reproducible: Always

Steps to Reproduce:
1. Emerge any of the CUDA ebuilds using GCC 4.4
2. Errors show up.

Actual Results:  
error: inline function ‘int __signbit(double)’ cannot be declared weak

Expected Results:  
Clean compile

For response from nVidia please go here:

http://forums.nvidia.com/index.php?showtopic=99139
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2009-07-18 21:12:20 UTC
I have just modified the nvidia-cuda-sdk ebuilds so that they require <=gcc-4.3.  I will also add a warning about this to nvidia-cuda-toolkit.
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2009-07-19 00:12:49 UTC
Fixed in CVS -- added a warning about GCC 4.4 not being supported by the current CUDA toolkit releases.
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2009-07-19 00:13:18 UTC
Closing the bug.