Bug#807579: [patch] CUDA 7.5 works well with GCC5, while CUDA 7.0 fails to.

lumin cdluminate at gmail.com
Thu Dec 10 14:13:36 UTC 2015


Package: nvidia-cuda-toolkit
Version: 7.0.28-1
Severity: normal
tag: patch
x-debbugs-cc: debian-devel at lists.debian.org, anbe at debian.org, doko at debian.org 

Hi,

After changed default compiler to GCC5, many cuda-related packages
get FTBFS because cuda << 7.5 can't work well with GCC5.

The CUDA 7.0 present in experimental is still not working with GCC5, 
even applied the gcc compatibility hack that ArchLinux applied[1]

I'm working on packaging CUDA 7.5, and my local test shows that
CUDA 7.5 works with GCC-5.3.1 from Sid, with the the same hack as [1]
applied.

My package debian-science/caffe finally gets rid of FTBFS,
it passed the build without any nvcc/gcc complain.
I also noticed that there are many packages influenced by
CUDA's failure working with GCC5, hence cc'ing -devel.

My work is still in process, and I'll attach patches in the following
mails to this bug.

Thanks.

[1] https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/cuda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20151210/b20dc7e2/attachment.sig>


More information about the pkg-nvidia-devel mailing list