[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Package: nvidia-cuda-toolkit
Version: 7.0.28-1
Severity: normal
tag: patch
x-debbugs-cc: debian-devel@lists.debian.org, anbe@debian.org, doko@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

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: