Article View: linux.debian.bugs.dist
Article #4026Bug#1153637: nvidia-cuda-toolkit: nvcc on debian sid hangs forever on a single line compile
From: Giacomo Mulas
Date: Tue, 10 Nov 2026 15:40
Date: Tue, 10 Nov 2026 15:40
68 lines
5419 bytes
5419 bytes
Package: nvidia-cuda-toolkit Version: 12.4.131~12.4.1-8.2+b1 Severity: normal Dear Maintainer, I was trying to compile a local version of libelpa with gpu support, but the compilation blocked forever, with 100% cpu usage, on some .cu files. Upon investigating, I found out that a single line suffices to reproduce the bug: $ printf '#include <complex.h>\n' > c1.cu $ nvcc -arch sm_75 -c c1.cu # compiler backend chosen by Debian default = gcc-13: cicc hung at 100% cpu forever $ nvcc -arch sm_75 -ccbin g++-12 -c c1.cu # 2 s, OK it is cicc that hangs, cudafe++ and gcc-13 preprocessing go through also #include "/usr/include/complex.h" causes the same hung cicc, whereas <complex> alone compiles, as well as <complex.h> compiled with -D__STRICT_ANSI__ The difference appears to be that bits/floatn.h e bits/floatn-common.h do not define any more typedef _Float32/_Float64/_Float32x , assuming they are native in the compiler. Apparently they are not in cicc, even if it declares itself to be gcc 13.5 While this is not critical (other sources compile without problems), it is a real problem, and should be assessed or, at the very least, documented, explaining how to work around it. Thanks, best regards Giacomo Mulas -- System Information: Debian Release: forky/sid APT prefers unstable APT policy: (401, 'unstable'), (10, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 7.2.15+deb14-amd64 (SMP w/12 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages nvidia-cuda-toolkit depends on: ii clang 1:21.1.8-74 ii g++-11 11.5.0-13 ii g++-12 12.5.0-11 ii g++-13 13.5.0-4 ii libc6 2.43-7 ii libgcc-s1 16.2.0-4 ii libstdc++6 16.2.0-4 ii nvidia-cuda-dev 12.4.127~12.4.1-8.2+b1 ii nvidia-profiler 12.4.127~12.4.1-8.2+b1 ii ocl-icd-opencl-dev [opencl-dev] 2.3.4-1+b1 Versions of packages nvidia-cuda-toolkit recommends: ii nsight-compute 2024.1.1.4~12.4.1-8.2+b1 ii nsight-systems 2023.4.4.54~12.4.1-8.2+b1 ii nvidia-cuda-gdb 12.4.127~12.4.1-8.2+b1 ii nvidia-cuda-toolkit-doc 12.4.1-8.2 Versions of packages nvidia-cuda-toolkit suggests: ii nvidia-driver 550.163.01-6 -- no debconf information
Technical Details
Message-ID:
<NXW6Z-b2Df-11@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Giacomo Mulas <giacomo.mulas@inaf.it>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153637: nvidia-cuda-toolkit: nvcc on debian sid hangs forever on a single line compile
Date: Tue, 10 Nov 2026 16:40:01 +0100
Message-ID: <NXW6Z-b2Df-11@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Nov 10 15:37:10 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Giacomo Mulas <giacomo.mulas@inaf.it>, 1153637@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-nvidia-devel@lists.alioth.debian.org
X-Debian-Pr-Message: report 1153637
X-Debian-Pr-Package: nvidia-cuda-toolkit
X-Debian-Pr-Source: nvidia-cuda-toolkit
X-Gm-Message-State: APuU4Z/2fiW9D75OZ405dB6vjAfsVnfXYr1hK7XeSwg+JmASzGkfhjg0
Sm1jSC5AzmUtPPQcIWShvEbUxC1F6lz3qItRpeAtARxZ5YjeGjon04yjlJvQXp51qnt+QGMjlkj
RAouk
X-Gm-Gg: AYBFou2Ew+eMPNDXoiyDOY1S/pl+U3EHfuGrDg3aRDemeAmhZHHQ5UgzqYEuWukda1S
EfBmlo0h9OlrNSsDif/bOSII3V9dBBeoQoeNP2ZKAoin6BIKqilue6NlOLfKJ6ZorWNsXonZUs5
0vLFWjXKZgYKJr0vpiAY7gcKcFY5BO9JV7mUR+aAoSEzFKbVyFOwx9ochsL1XT72EBQs81+f1XJ
F0RYvYvrx1qVWXh8Cr31NnBQEbtl2hUB+neQv5W3hloiR/3fjxFXrDy+8rKw63xiXt8bIVFfOE2
svyAC1hufWNYgfnDg+Zly7nJ+8vqbS64+Rrcsmj+zJ4FPdfyWOPLMp5NB8j/Bjs6iSsGeO5K55y
jKm4qTqWnnGIV0n5wYe1b87IIorF5HHIrw8gsc55FuuHAgRQnP3Cncl6GlCPKFfSynujnh37A+2
rdNHFODiHnhDW0QRVQ1lh+XbXyFndRWXPXVMmtDZK2wtqHepcPZCz9xmp4h80HytdBiYcufHnNw
ml6/1vkDkzTAaGjdETsp3mBUcDmtSPDtUSJZJOOr7E/vyINZy8nBG+Q390ICHTvnK+KiifHUehR
bNBVqMjvr7BdvqghkcZCAvjmVPaXxe+iH+IgkWOJWxixOH7KerJJEoRsScDytFwV1bSBolxwut+
JbFHTZ9uQheaPs437KA==
X-Received: by 2002:a5d:5e93:0:b0:498:364d:7509 with SMTP id ffacd0b85a97d-498364d75e0mr5509559f8f.24.1794324922341;
Tue, 10 Nov 2026 07:35:22 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001850
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 68
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 10 Nov 2026 16:35:21 +0100
X-Original-Message-ID: <179432492145.1673297.392490713958865342.reportbug@capitanata.oa-cagliari.inaf.it>