Re: Bug#861878: nvidia-cuda-toolkit: nvcc needs to pass -fpie to compiler

2017-05-05 Thread Samuel Thibault
Samuel Thibault, on ven. 05 mai 2017 11:59:19 +0200, wrote: > Now that gcc has defaulted to building with pie, we're getting issues > with the binaries produced by nvcc: > > cc-c -o test.o test.c > nvcc -ccbin clang-3.8 -c test-cuda.cu -o test-cuda.o > cc test.o test-cuda.o -lcudart -o test

Bug#861878: nvidia-cuda-toolkit: nvcc needs to pass -fpie to compiler

2017-05-05 Thread Samuel Thibault
Package: nvidia-cuda-toolkit Version: 8.0.44-3 Severity: serious Justification: breaks basic use of nvcc Hello, Now that gcc has defaulted to building with pie, we're getting issues with the binaries produced by nvcc: cc-c -o test.o test.c nvcc -ccbin clang-3.8 -c test-cuda.cu -o test-cuda.o