#1600 closed defect (fixed)
CUDA build errors with Fedora 27
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 2.2 |
Component: | packaging | Version: | trunk |
Keywords: | Cc: |
Description
The rawhide buildbot is spewing out:
found gcc version: 7.1.1 found CUDA compiler: /usr/local/cuda-8.0/bin/nvcc version 8.0.44 found CUDA compiler: /usr/local/cuda/bin/nvcc version 8.0.44 CUDA compiling ARGB_to_NV12 (no file) '/usr/local/cuda/bin/nvcc' '-fatbin' '-c' 'xpra/codecs/cuda_common/ARGB_to_NV12.cu' '-o' 'xpra/codecs/cuda_common/ARGB_to_NV12.fatbin' '-std=c++11' '-gencode=arch=compute_30,code=sm_30' '-gencode=arch=compute_35,code=sm_35' '-gencode=arch=compute_50,code=sm_50' '-gencode=arch=compute_52,code=sm_52' '-gencode=arch=compute_53,code=sm_53' '-gencode=arch=compute_60,code=sm_60' '-gencode=arch=compute_61,code=sm_61' '-gencode=arch=compute_62,code=sm_62' Error: failed to compile CUDA kernel ARGB_to_NV12 /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_00004589_00000000-21_ARGB_to_NV12.compute_62.cpp1.ii". error: Bad exit status from /var/tmp/rpm-tmp.1ToY7b (%build) Bad exit status from /var/tmp/rpm-tmp.1ToY7b (%build)
Hopefully a new CUDA SDK will come out and fix this?
Change History (3)
comment:1 Changed 3 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 6 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1600
Note: See
TracTickets for help on using
tickets.
Workaround found here https://github.com/caffe2/caffe2/issues/1194#issuecomment-330668216 is to manually patch the system headers file
/usr/include/bits/floatn.h
(yukky but this works):This will have to do for now, the proper fix needs to come from nvidia.
We now have beta builds for Fedora 27.