FS#55581 - [cuda] nvcc fails the compilation

Attached to Project: Arch Linux
Opened by Simon (Giggi) - Sunday, 10 September 2017, 19:13 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 10 September 2017, 19:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


If I try to compile any cuda application with nvcc it fails the compilation.

With the following error:

> nvcc test_main.cu -o test

/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_000074fd_00000000-9_test_main.cpp1.ii".

Additional info:
cuda 8.0.61-2

Steps to reproduce:
Try to compile a cuda app with nvcc.

The problem seems to be appeared after the gcc update.

This task depends upon

Closed by  Eli Schwartz (eschwartz)
Sunday, 10 September 2017, 19:26 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#55580