Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513218 - dev-util/nvidia-cuda-toolkit-6.0.37 should allow sys-devel/gcc-4.8
Summary: dev-util/nvidia-cuda-toolkit-6.0.37 should allow sys-devel/gcc-4.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-14 13:41 UTC by LE GARREC Vincent
Modified: 2014-06-16 20:18 UTC (History)
3 users (show)

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 LE GARREC Vincent 2014-06-14 13:41:34 UTC
gcc 4.8 should be enabled.

/opt/cuda/include/host_config.h says "#error -- unsupported GNU version! gcc 4.9 and up are not supported!"
so gcc 4.8 looks fine.

Thanks, this will help me to keep only one version of gcc.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-06-15 07:34:49 UTC
+*nvidia-cuda-toolkit-6.0.37-r2 (15 Jun 2014)
+
+  15 Jun 2014; Justin Lecher <jlec@gentoo.org>
+  nvidia-cuda-toolkit-6.0.37-r1.ebuild, +nvidia-cuda-toolkit-6.0.37-r2.ebuild:
+  Raise gcc version requirement, #513218
+
Comment 2 Marius Brehler 2014-06-16 07:40:18 UTC
Well actually the package should "allow" gcc 4.8, but it seems that it now forces gcc 4.8:

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by dev-util/nvidia-cuda-toolkit-6.0.37-r2
# required by dev-util/nvidia-cuda-sdk-6.0.37::local
# required by @selected
# required by @world (argument)
=sys-devel/gcc-4.8.3 ~amd64

Officially the following combinations of compilers are support/allowed:
http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#system-requirements

Should I open a new bug for this?
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2014-06-16 20:18:20 UTC
+  16 Jun 2014; Justin Lecher <jlec@gentoo.org>
+  nvidia-cuda-toolkit-6.0.37-r2.ebuild:
+  Fix version of gcc dependency, #513218
+