mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1032
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @qiuzan2001 on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2576
Follow-up to #2054 (the maintainer asked for it as its own issue).
What happens. On a rolling distribution the system
g++can move past what the installed CUDA toolkit accepts.In #2054, gcc went from 14 to 16 on CachyOS with CUDA 12.8, and the engine build stopped in CMake's CUDA compiler
check with nvcc's
#error -- unsupported GNU version! gcc versions later than 14 are not supported, althoughg++-14was installed. The same build had worked the day before.Where.
setup.py:3876(host_compiler_defs,296b59d2) passesCMAKE_C_COMPILER/CMAKE_CXX_COMPILER/CMAKE_CUDA_HOST_COMPILERonly when the user setsCC/CXX/CUDAHOSTCXX(#1645). Otherwise CMake takes thedefault
g++, and nothing tries an older one.Workaround (from #2054).
CC=gcc-14 CXX=g++-14 CUDAHOSTCXX=g++-14 ./update.sh.Possible change. When none of the three is set and the default
g++is newer than the toolkit accepts, look foran installed
g++-N/gcc-Nthe toolkit does accept (newest first) and pass it as the host compiler, saying so.Or, at least, catch nvcc's "unsupported GNU version" and print the workaround.
Not reproduced here: this box (Ubuntu, CUDA 13.1, gcc 15.2) builds with its default compiler.
@wilmer2000 commented on GitHub (Oct 17, 2026):
Same here:
Fedora 44
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.