Thank you! I can confirm that the fix works. I was not able to use the
"proposed" package suite, however.
```
# setup:
docker run -it ubuntu:26.04
apt update
apt upgrade
apt install cuda-toolkit
# reproduced:
printf "int main() {}" > main.cu
/usr/local/cuda-13.1/bin/nvcc main.cu
# got errors as documented
# following guide at https://wiki.ubuntu.com/Testing/EnableProposed
# edited /etc/apt/sources.list.d/ubuntu.sources:
# added "resolute-proposed" to suites
# tried "apt update && apt upgrade", but did not receive the update
# manual upgrade:
apt install wget
wget
http://launchpadlibrarian.net/875855723/cuda-crt-13-1_13.1.115-0ubuntu1.1_amd64.deb
dpkg -i cuda-crt-13-1_13.1.115-0ubuntu1.1_amd64.deb
# fix confirmed:
/usr/local/cuda-13.1/bin/nvcc main.cu
# no errors, binary is produced and runs
./a.out
```
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2155233
Title:
cuda-toolkit cannot compile minimal example
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cuda-crt-13-1/+bug/2155233/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs