Your message dated Mon, 29 May 2017 21:04:56 +0000 with message-id <e1dfrqs-0004my...@fasolo.debian.org> and subject line Bug#861878: fixed in nvidia-cuda-toolkit 8.0.44-4 has caused the Debian Bug report #861878, regarding nvidia-cuda-toolkit: nvcc needs to pass -fpie to compiler to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 861878: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861878 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---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 cc test.o test-cuda.o -lcudart -o test /usr/bin/ld: test-cuda.o: relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output The attached archive shows this testcase: it just builds a test.o with nvcc, and tries to link it with gcc, and that fails with the message above. This can be fixed by passing --compiler-options -fpie to nvcc, but that's something that users will have a hard time understanding, while it will be basically always needed in Stretch. So I'd tend to think /usr/bin/nvcc should actually do exec /usr/lib/nvidia-cuda-toolkit/bin/nvcc --compiler-options -fpie "$@" to save users big headaches. Samuel -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.11.0 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages nvidia-cuda-toolkit depends on: ii clang 1:3.8-36 ii clang-3.8 1:3.8.1-23 ii g++-5 5.4.1-8 ii gcc-5 5.4.1-8 ii libc6 2.24-10 ii libgcc1 1:7-20170407-1 ii libnvvm3 8.0.44-3 ii libstdc++6 7-20170407-1 ii nvidia-cuda-dev 8.0.44-3 ii nvidia-profiler 8.0.44-3 ii ocl-icd-opencl-dev [opencl-dev] 2.2.11-1 Versions of packages nvidia-cuda-toolkit recommends: pn nvidia-cuda-doc <none> ii nvidia-cuda-gdb 8.0.44-3 ii nvidia-visual-profiler 8.0.44-3 Versions of packages nvidia-cuda-toolkit suggests: ii libcupti-dev 8.0.44-3 pn nvidia-driver <none> -- no debconf information -- Samuel Fatal Error: Found [MS-Windows] System -> Repartitioning Disk for Linux... (By cbbr...@io.org, Christopher Browne)
test.tgz
Description: application/gtar-compressed
--- End Message ---
--- Begin Message ---Source: nvidia-cuda-toolkit Source-Version: 8.0.44-4 We believe that the bug you reported is fixed in the latest version of nvidia-cuda-toolkit, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 861...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Andreas Beckmann <a...@debian.org> (supplier of updated nvidia-cuda-toolkit package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Mon, 29 May 2017 20:48:54 +0200 Source: nvidia-cuda-toolkit Binary: nvidia-cuda-toolkit nvidia-cuda-doc nvidia-cuda-gdb nvidia-profiler nvidia-visual-profiler nvidia-nsight nvidia-cuda-dev nvidia-opencl-dev libcudart8.0 libcuinj64-8.0 libnvrtc8.0 libnvtoolsext1 libnvvm3 libcupti8.0 libcupti-dev libcupti-doc libcublas8.0 libnvblas8.0 libcufft8.0 libcufftw8.0 libcurand8.0 libcusolver8.0 libcusparse8.0 libnppc8.0 libnppi8.0 libnppial8.0 libnppicc8.0 libnppicom8.0 libnppidei8.0 libnppif8.0 libnppig8.0 libnppim8.0 libnppist8.0 libnppisu8.0 libnppitc8.0 libnpps8.0 libnvgraph8.0 Architecture: source Version: 8.0.44-4 Distribution: unstable Urgency: medium Maintainer: Debian NVIDIA Maintainers <pkg-nvidia-de...@lists.alioth.debian.org> Changed-By: Andreas Beckmann <a...@debian.org> Description: libcublas8.0 - NVIDIA cuBLAS Library libcudart8.0 - NVIDIA CUDA Runtime Library libcufft8.0 - NVIDIA cuFFT Library libcufftw8.0 - NVIDIA cuFFTW Library libcuinj64-8.0 - NVIDIA CUINJ Library (64-bit) libcupti-dev - NVIDIA CUDA Profiler Tools Interface development files libcupti-doc - NVIDIA CUDA Profiler Tools Interface documentation libcupti8.0 - NVIDIA CUDA Profiler Tools Interface runtime library libcurand8.0 - NVIDIA cuRAND Library libcusolver8.0 - NVIDIA cuSOLVER Library libcusparse8.0 - NVIDIA cuSPARSE Library libnppc8.0 - NVIDIA Performance Primitives core runtime library libnppi8.0 - NVIDIA Performance Primitives for image processing runtime librar libnppial8.0 - NVIDIA Performance Primitives lib for Image Arithmetic and Logic libnppicc8.0 - NVIDIA Performance Primitives lib for Image Color Conversion libnppicom8.0 - NVIDIA Performance Primitives lib for Image Compression libnppidei8.0 - NVIDIA Performance Primitives lib for Image Data Exchange and Ini libnppif8.0 - NVIDIA Performance Primitives lib for Image Filters libnppig8.0 - NVIDIA Performance Primitives lib for Image Geometry transforms libnppim8.0 - NVIDIA Performance Primitives lib for Image Morphological operati libnppist8.0 - NVIDIA Performance Primitives lib for Image Statistics libnppisu8.0 - NVIDIA Performance Primitives lib for Image Support libnppitc8.0 - NVIDIA Performance Primitives lib for Image Threshold and Compare libnpps8.0 - NVIDIA Performance Primitives for signal processing runtime libra libnvblas8.0 - NVBLAS runtime library libnvgraph8.0 - NVIDIA Graph Analytics library (nvGRAPH) libnvrtc8.0 - CUDA Runtime Compilation (NVIDIA NVRTC Library) libnvtoolsext1 - NVIDIA Tools Extension Library libnvvm3 - NVIDIA NVVM Library nvidia-cuda-dev - NVIDIA CUDA development files nvidia-cuda-doc - NVIDIA CUDA and OpenCL documentation nvidia-cuda-gdb - NVIDIA CUDA Debugger (GDB) nvidia-cuda-toolkit - NVIDIA CUDA development toolkit nvidia-nsight - NVIDIA Nsight Eclipse Edition nvidia-opencl-dev - NVIDIA OpenCL development files nvidia-profiler - NVIDIA Profiler for CUDA and OpenCL nvidia-visual-profiler - NVIDIA Visual Profiler for CUDA and OpenCL Closes: 861878 Changes: nvidia-cuda-toolkit (8.0.44-4) unstable; urgency=medium . [ Zhou Mo ] * README.Debian: Discuss adding nvcc options regarding PIE when mixing GCC and CLANG generated objects, since the defaults differ between the compilers. (Closes: #861878) Checksums-Sha1: 1d27570112ead61e2a8eb51b0d8d825112d1385a 5172 nvidia-cuda-toolkit_8.0.44-4.dsc 6e2a206425dd984334cd4ab897b30e78bfeffe5b 76152 nvidia-cuda-toolkit_8.0.44-4.debian.tar.xz bde1c8dd1e31c43e1177f32e08863a3b4bb287a4 4848 nvidia-cuda-toolkit_8.0.44-4_source.buildinfo Checksums-Sha256: b88b9c73fb2b21bc472b3be1573dd633c45124bf3e381d4d3679e31e5d977929 5172 nvidia-cuda-toolkit_8.0.44-4.dsc 63e194be6e2c84bc720f72829091af2a5763e0fa1bbb3c35599b95b1acdaaf0c 76152 nvidia-cuda-toolkit_8.0.44-4.debian.tar.xz 879d3a2518be7c9fc6de8f6d5e95f85468f5164c689f97b0952eea1a38fc4426 4848 nvidia-cuda-toolkit_8.0.44-4_source.buildinfo Files: 7bb2755b187336c3678ef33511285ada 5172 non-free/libs extra nvidia-cuda-toolkit_8.0.44-4.dsc 9d5d2f6745e7d80f950bcd072ef47f44 76152 non-free/libs extra nvidia-cuda-toolkit_8.0.44-4.debian.tar.xz 4e64f1dcfb73b76dae911884a8563db8 4848 non-free/libs extra nvidia-cuda-toolkit_8.0.44-4_source.buildinfo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJZLH2vAAoJEF+zP5NZ6e0IHUkP/3IPp24F/LgsPdk0wfVz7DKs wXz4TdkRnYf2vIqG5xPndQnBeifDQEf1zTzBXpOYGCekP3aqKuILHNrLVqMhqM9I LCb+ANeOZ8y3BgT3KB65Xpu9ne4bUa9/KzxorONfTWO0PkhdGZxeQ1eeopL/KtnE 7r7YLUGyq5Eff2tnDP4mtmHuf25ESN8tmOBWaVP/td+SZPNjF6tf1Th8xK+PzZpe iNc0O8/7ZUcvwndJRSck8M+MTG6QVb4t+HlLWPBnFvIM7zfCWma/WN2kakOvwJan 6bSEe62AM9b6WXT7LNu/DIU+9bhRHbApeNBpJm+vAgZMaDWPZN3OCh2+uhs6ajcg Kg47eudtZEwD1WWWV5ijIwcsQL5BPqJBiXEHKXIGMn+l3HBXVUxb8yHvc3BwXof3 Cvdg1dKVyijYeYVKBQFzk06YTcOpuGKjaRqVj3/Oft5U+h82fkakneBFFvKy9P5f pieAhYTPfsFioZNlQEN5AUeUWAAYYWTCHckj00tir0iT1hq8YQe7PDf+g1hGgN8o fjvre8qNsyRMFv90WUEBLR6QvIlzZshLHHbKl2A5GypzQEOx4X7VtLzk+nvPNrC+ dpZyuKoY0o6vKKUFKWx5PsmVJTCMeG+Ubn6ImmfIl19rx0luKik+nxofs1afzcrO GystI7PiNKJu/T393k3N =1MPZ -----END PGP SIGNATURE-----
--- End Message ---