FS#55580 - [cuda] nvcc fails any compilation
Attached to Project:
Community Packages
Opened by Simon (Giggi) - Sunday, 10 September 2017, 18:44 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 13 September 2017, 15:47 GMT
Opened by Simon (Giggi) - Sunday, 10 September 2017, 18:44 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 13 September 2017, 15:47 GMT
|
Details
Description:
If I try to compile any program with nvcc I've always the same error: $ nvcc max.cu -Wno-deprecated-gpu-targets /usr/include/bits/floatn.h(61): error: invalid argument to attribute "__mode__" /usr/include/bits/floatn.h(73): error: identifier "__float128" is undefined 2 errors detected in the compilation of "/tmp/tmpxft_00004e70_00000000-9_max.cpp1.ii". Additional info: cuda 8.0.61-2 Steps to reproduce: Try to compile any cuda application .... nvcc hello.cu something like this: http://www.computer-graphics.se/hello-world-for-cuda.html Note: The problem seems to be appeared after the last gcc update. But nvcc require gcc 5. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Wednesday, 13 September 2017, 15:47 GMT
Reason for closing: Fixed
Wednesday, 13 September 2017, 15:47 GMT
Reason for closing: Fixed
https://devtalk.nvidia.com/default/topic/1023776/-request-add-nvcc-compatibility-with-glibc-2-26/?offset=2
The solutions are downgrade the glibc or install the RC of cuda 9
[Please note that actually for job I'm developing an application with the nvcc compiler, so for me, cuda, is a critical package].
I encourage you to read up on the section titled "Severity".
Your bug is *not* critical, stop spreading FUD.
But according severity classification this bug should be "High".
"nvcc" is the main application of cuda.
But the download and usage of the package is allowed only if you are subscribed to the Nvidia developer website.
(At the moment the downgrade of glibc is working without any problem).
Edit: cuda-8.0.61-3-x86_64 is still working
TNX.