* Steps to reproduce: $ ACCEPT_KEYWORDS='~amd64' emerge '=dev-util/nvidia-cuda-sdk-4.1' It will fail with a bunch of "undefined reference to ... @GLIBCXX_3.4.14" * Full output: http://pastebin.ca/2107534 * Possible fix: dev-util/nvidia-cuda-toolkit-4.1 could use "cudatoolkit_4.1.28_linux_64_ubuntu10.04.run" (file for Ubuntu 10.04)instead of "cudatoolkit_4.1.28_linux_64_ubuntu11.04.run" (file for Ubuntu 11.04). The patched ebuild for this (dev-util/nvidia-cuda-sdk-4.1-r1) can be found here: https://github.com/npinto/sekyfsr-gentoo-overlay/blob/master/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.1-r1.ebuild The following works for me: $ layman -a sekyfsr $ layman -S && emerge --sync $ ACCEPT_KEYWORDS='~amd64' emerge '=dev-util/nvidia-cuda-toolkit-4.1-r1' '=dev-util/nvidia-cuda-sdk-4.1' HTH Nicolas
no problem with gcc-4.5.3-r1 nvidia-cuda-sdk needs check >=gcc-4.5 use gcc-config to switch to gcc-4.5
(In reply to comment #1) > nvidia-cuda-sdk needs check >=gcc-4.5 > use gcc-config to switch to gcc-4.5 Thanks. I updated the nvidia-cuda-sdk accordingly: https://github.com/npinto/sekyfsr-gentoo-overlay/commit/0f8f3b617998b58f7b922487a49a8d795cbd1dff#diff-1
Thanks for the bug report and the proposed fix. I added the gcc version check to the sdk ebuild and the gcc dependency directly to nvidia-cuda-toolkit, as it looks like it's cudaart.so that needs it.
Thanks! BTW, http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.1.ebuild?revision=1.3&view=markup at line 35 says ">=sys-devel/gcc-4.4" where it should say ">=sys-devel/gcc-4.5"