Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643814 - dev-util/nvidia-cuda-sdk-9.0.176:fails to build in profile 17
Summary: dev-util/nvidia-cuda-sdk-9.0.176:fails to build in profile 17
Status: RESOLVED DUPLICATE of bug 638230
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-07 18:19 UTC by Samuel Bernardo
Modified: 2018-01-09 07:46 UTC (History)
1 user (show)

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


Attachments
complete build log (build.log,55.22 KB, text/x-log)
2018-01-07 18:19 UTC, Samuel Bernardo
Details
output of `emerge --info '=dev-util/nvidia-cuda-sdk-9.0.176::gentoo'` (nvidia-cuda-sdk-9.0.176.info,9.78 KB, text/plain)
2018-01-07 18:29 UTC, Samuel Bernardo
Details
output of `emerge -pqv '=dev-util/nvidia-cuda-sdk-9.0.176::gentoo'` (nvidia-cuda-sdk-9.0.176.pqv,103 bytes, text/plain)
2018-01-07 18:29 UTC, Samuel Bernardo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bernardo 2018-01-07 18:19:33 UTC
Created attachment 513686 [details]
complete build log

#$ cicc --c++14 --gnu_version=60400 --allow_managed   -arch compute_70 -m64 -ftz=0 -prec_div=1 -prec_sqrt=1 -fmad=1 --include_file_name "tmpxft_000028d9_00000000-2_simpleIPC.fatbin.c" -tused -nvvmir-library "/opt/cuda/bin/../nvvm/libdevice/libdevice.10.bc" --gen_module_id_file --module_id_file_name "/var/tmp/portage/dev-util/nvidia-cuda-sdk-9.0.176/temp/tmpxft_000028d9_00000000-3_simpleIPC.module_id" --orig_src_file_name "simpleIPC.cu" --gen_c_file_name "/var/tmp/portage/dev-util/nvidia-cuda-sdk-9.0.176/temp/tmpxft_000028d9_00000000-5_simpleIPC.compute_70.cudafe1.c" --stub_file_name "/var/tmp/portage/dev-util/nvidia-cuda-sdk-9.0.176/temp/tmpxft_000028d9_00000000-5_simpleIPC.compute_70.cudafe1.stub.c" --gen_device_file_name "/var/tmp/portage/dev-util/nvidia-cuda-sdk-9.0.176/temp/tmpxft_000028d9_00000000-5_simpleIPC.compute_70.cudafe1.gpu"  "/var/tmp/portage/dev-util/nvidia-cuda-sdk-9.0.176/temp/tmpxft_000028d9_00000000-12_simpleIPC.compute_70.cpp1.ii" -o "/var/tmp/portage/dev-util/nvidia-cuda-sdk-9.0.176/temp/tmpxft_000028d9_00000000-5_simpleIPC.compute_70.ptx"
/usr/include/bits/floatn.h(61): error: invalid argument to attribute "__mode__"

/usr/include/bits/floatn.h(73): error: identifier "__float128" is undefined
Comment 1 Samuel Bernardo 2018-01-07 18:29:17 UTC
Created attachment 513688 [details]
output of `emerge --info '=dev-util/nvidia-cuda-sdk-9.0.176::gentoo'`
Comment 2 Samuel Bernardo 2018-01-07 18:29:52 UTC
Created attachment 513690 [details]
output of `emerge -pqv '=dev-util/nvidia-cuda-sdk-9.0.176::gentoo'`
Comment 3 Samuel Bernardo 2018-01-08 01:40:51 UTC
I found a possible solution is in the following post:

https://github.com/caffe2/caffe2/issues/1194#issuecomment-330668216

I already try to apply patch to ebuild using /etc/portage/patches but it didn't work because, when it tries to apply, file floatn.h is not present.
Comment 4 Marius Brehler 2018-01-09 07:46:32 UTC

*** This bug has been marked as a duplicate of bug 638230 ***