Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369665 - dev-util/nvidia-cuda-sdk-4.0 incompatible with gcc-4.5.x
Summary: dev-util/nvidia-cuda-sdk-4.0 incompatible with gcc-4.5.x
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-01 14:01 UTC by tman
Modified: 2011-06-15 22:50 UTC (History)
1 user (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 tman 2011-06-01 14:01:45 UTC
* Messages for package dev-util/nvidia-cuda-toolkit-4.0:

 * Package:    dev-util/nvidia-cuda-toolkit-4.0
 * Repository: gentoo
 * Maintainer: spock@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   ccache preserve-libs sandbox
 * Package:    dev-util/nvidia-cuda-toolkit-4.0
 * Repository: gentoo
 * Maintainer: spock@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   ccache preserve-libs sandbox
 * If you want to natively run the code generated by this version of the
 * CUDA toolkit, you will need >=x11-drivers/nvidia-drivers-260.19.21.
 * 
 * Run '. /etc/profile' before using the CUDA toolkit. 

 * Messages for package dev-util/nvidia-cuda-sdk-4.0:

 * Package:    dev-util/nvidia-cuda-sdk-4.0
 * Repository: gentoo
 * Maintainer: spock@gentoo.org
 * USE:        amd64 cuda doc elibc_glibc examples kernel_linux multilib userland_GNU
 * FEATURES:   ccache preserve-libs sandbox
 * This package requires <=sys-devel/gcc-4.4 to build sucessfully.
 * Please use gcc-config to switch to a compatible GCC version.
 * ERROR: dev-util/nvidia-cuda-sdk-4.0 failed (setup phase):
 *   <=sys-devel/gcc-4.4 required
 * 
 * Call stack:
 *                    ebuild.sh, line  56:  Called pkg_setup
 *   nvidia-cuda-sdk-4.0.ebuild, line  35:  Called die
 * The specific snippet of code:
 *   		die "<=sys-devel/gcc-4.4 required"
 * 
 * If you need support, post the output of 'emerge --info =dev-util/nvidia-cuda-sdk-4.0',
 * the complete build log and the output of 'emerge -pqv =dev-util/nvidia-cuda-sdk-4.0'.
 * The complete build log is located at '/var/log/portage/dev-util:nvidia-cuda-sdk-4.0:20110601-131733.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/nvidia-cuda-sdk-4.0/temp/die.env'.
 * S: '/var/tmp/portage/dev-util/nvidia-cuda-sdk-4.0/work'

 * GNU info directory index is up-to-date.



Reproducible: Always




Portage 2.2.0_alpha37_p8 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r2, 2.6.39-gentoo x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.2
Timestamp of tree: Wed, 01 Jun 2011 11:30:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r2, 3.1.3-r1, 3.2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1::poly-c
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.4.5, 4.5.3_pre::poly-c
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo amielke-overlay emacs gnome lorelei-overlay java-overlay lxde mgorny mpd nikai qting-edge roslin scarabeus_local_overlay science Techwolf bleeding-edge poly-c wirelay kde lokal
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2011-06-01 14:17:37 UTC
The ebuild askes you to install gcc:4.4


RDEPEND="${DEPEND}
   >=sys-devel/binutils-2.20
   sys-devel/gcc:4.4
   profiler? ( x86? (
      x11-libs/qt-gui
      x11-libs/qt-core
      x11-libs/qt-assistant
      x11-libs/qt-sql[sqlite] )
      media-libs/libpng:1.2
   )
   debugger? ( >=sys-libs/libtermcap-compat-2.0.8-r2 )
   !<=x11-drivers/nvidia-drivers-256.53"


So please attach full buildlog and output of eix -e gcc
Comment 2 tman 2011-06-15 08:11:46 UTC
Calculating dependencies... done!
[ebuild  NS    ] sys-devel/gcc-4.4.5 [4.5.3_pre] USE="fortran gcj gtk mudflap (multilib) nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -graphite (-hardened) (-libffi) -multislot -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla" 62,991 kB
[ebuild  N     ] dev-util/nvidia-cuda-toolkit-4.0  USE="-debugger -doc -profiler" 206,949 kB

Total: 2 packages (1 new, 1 in new slot), Size of downloads: 269,940 kB




gcc-config -l
 [1] x86_64-pc-linux-gnu-4.5.3 *


it should be also possible to use later gcc, to compile it.
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2011-06-15 22:50:44 UTC
(In reply to comment #2)
> Calculating dependencies... done!
> [ebuild  NS    ] sys-devel/gcc-4.4.5 [4.5.3_pre] USE="fortran gcj gtk mudflap
> (multilib) nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point)
> -graphite (-hardened) (-libffi) -multislot -nocxx -nopie -nossp -objc -objc++
> -objc-gc -test -vanilla" 62,991 kB
> [ebuild  N     ] dev-util/nvidia-cuda-toolkit-4.0  USE="-debugger -doc
> -profiler" 206,949 kB
> 
> Total: 2 packages (1 new, 1 in new slot), Size of downloads: 269,940 kB
> 
> 
> gcc-config -l
>  [1] x86_64-pc-linux-gnu-4.5.3 *
> 
> 
> it should be also possible to use later gcc, to compile it.

I completely agree with you -- please tell that to the NVIDIA guys :)

Closing as upstream, as there is really nothing we can do about it.