#1033027 blhc: misinterprets nvcc compilation as linking

#1033027#5
Date:
2023-03-15 22:31:01 UTC
From:
To:
Hi,

blhc seems to misparse nvcc compilation as linking, reporting missing
LDFLAGS:

https://salsa.debian.org/nvidia-team/nvidia-nccl/-/jobs/4055703

2294:LDFLAGS missing (-Wl,-z,relro): /usr/bin/nvcc -DNCCL_OP=0 -DNCCL_TYPE=0 -ccbin cuda-g++ -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_35,code=sm_35 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_80,code=sm_80 -gencode=arch=compute_90,code=sm_90 -gencode=arch=compute_90,code=compute_90 -std=c++11 --expt-extended-lambda -Xptxas -maxrregcount=96 -Xfatbin -compress-all -O3 -Xptxas -v -Xcompiler -Wall,-Wextra,-Wno-unused-parameter -I. -I.. -I/builds/nvidia-team/nvidia-nccl/debian/output/source_dir/build/include -I../../include --compiler-options "-fPIC -fvisibility=hidden" -dc /builds/nvidia-team/nvidia-nccl/debian/output/source_dir/build/obj/collectives/device/sendrecv_sum_i8.cu -o /builds/nvidia-team/nvidia-nccl/debian/output/source_dir/build/obj/collectives/device/sendrecv_sum_i8.o


Andreas

#1033027#10
Date:
2023-03-16 07:14:15 UTC
From:
To:
Hi Andreas,

should be fixed in 21f2f4 [1].

Best,
Simon

[1]: https://ruderich.org/simon/gitweb/?p=blhc/blhc.git;a=commitdiff;h=21f2f49049ef599e6d7116c815e5974b2fcdd505

#1033027#15
Date:
2023-03-17 18:04:01 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
blhc, 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 1033027@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joao Eriberto Mota Filho <eriberto@debian.org> (supplier of updated blhc 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 17 Mar 2023 14:24:18 -0300
Source: blhc
Architecture: source
Version: 0.13-5
Distribution: unstable
Urgency: medium
Maintainer: Joao Eriberto Mota Filho <eriberto@debian.org>
Changed-By: Joao Eriberto Mota Filho <eriberto@debian.org>
Closes: 1033027
Changes:
 blhc (0.13-5) unstable; urgency=medium
 .
   * debian/control: bumped Standards-Version to 4.6.2.
   * debian/patches/030_fix-nvcc.patch: created to fix false positives when using
     nvcc. Thanks to Simon Ruderich <simon@ruderich.org>. (Closes: #1033027)
Checksums-Sha1:
 02dbd87f8d6d79b8498504a954d3f8ea7de20e91 2094 blhc_0.13-5.dsc
 b391a668bc79078cc74c65832ca396529520739d 10996 blhc_0.13-5.debian.tar.xz
 7f671bd27b1e9b7657564c51b236507b5063b43a 5914 blhc_0.13-5_source.buildinfo
Checksums-Sha256:
 8f572349fdacbfdea67d35cc28f1648554dee6c16a8a211bbb3317d66b50d666 2094 blhc_0.13-5.dsc
 4fea3dfce34a015b9eb3e3dace4b7b6bc08587add2d29de3f6d8007f7796cea9 10996 blhc_0.13-5.debian.tar.xz
 5b1f065d11c1f4ada7c15981ab13e6ca08b29cdfb545357c293fea4865b84058 5914 blhc_0.13-5_source.buildinfo
Files:
 dba5e4949cda325c45657b165fb33453 2094 utils optional blhc_0.13-5.dsc
 a4a6960ef6c7f7cea76047307da0a948 10996 utils optional blhc_0.13-5.debian.tar.xz
 13445e3b72f6a06cb975b0a32a8890c7 5914 utils optional blhc_0.13-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEENX3LDuyVoBrrofDS3mO5xwTr6e8FAmQUprQACgkQ3mO5xwTr
6e9AGBAAk79RvSAmR70FXN0i4T60JPbGE9rfpPl3qGjfwwDjEalq6bGPkfrZA6/T
1yU8Sx5stXYQa7gKNcT2598w75Lp9zeWDLFx8g+jzbUpE6ItZhBNk9EjAS2qrMRF
71FE7VXb8l9ElBdHjevj15AKya3voaWb/801t71aYCHxYRqqLOZpfP/L9dzeRJZK
zouT6/kz/BqpbffGqxksybryYgZSdsMoIrGTCuovt4ddAI8K3VJ67+3ndaAVTtJv
8xplKgiJo+xwOlW0RajTfho8DQ2cA/nVdXqw85XpS19cOBkYTjvK0F0Vp1RQ5Sdf
y9kQyp8DyojVAmKTTQ5WA3c43+uDAcwO3omDJ9AEaveH3ZNJG6+8Fosh7nJPvnlx
hWBvfNBdqbPYxJ+1cZQpyerCulkbP+Az7L88TeMuIzSE/q1HV896pjEyNqn52o9Q
+akFsO+HC1Rbzwk2B+ugJqpGe0yfKuk5vKMUsLMO9CeVm46tF8r9mwWS+cKyTOy8
JKIrFi8hI6XFaswrN7bhq04gF8xH2eNkMcP3XIwnphikYY4tx1DEH0hyp9FrZAMI
zrjp/IAS0g0BunsaUOp2vYW/nO1i/K5akElawegX7QCI/OWV8J/4FtV2hT/967Pm
zbpZ7qA3VX6j7649DZf2oNF4GeBzYbpxMgaUaIKZWXBZOmXZM0U=
=ndYE
-----END PGP SIGNATURE-----