mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #959] ./setup.sh fails on Gentoo Linux #418
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#418
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 @kyeno on GitHub (Oct 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/959
The default
./setup.shapproach fails on Gentoo Linux (profile:default/linux/amd64/23.0/desktop/gnome/systemd), no matter how you specify, export or even symlinkCUDA_PATH,CUDACXXorLD_LIBRARY_PATH.The only way to truly build Strata is:
./setup.shlet it fail
rm -rf buildninja -C build./setup.shtl;dr, Gentoo by default installs CUDA in
/opt/cuda/and may not properly propagateLD_LIBRARY_PATH.Setup scripts in Strata should be aware of this.
@kyeno commented on GitHub (Oct 5, 2026):
I have accidentally passed in my 86 architecture there (RTX 3090). You may want to remove it while building yourself.
@Niko1221 commented on GitHub (Oct 6, 2026):
Thanks for the details. setup already finds nvcc in /opt/cuda*. The failure itself is not in the report: please paste the first error from
./setup.sh(the cmake output, not the last line). If cmake picks a host gcc newer than CUDA supports,CUDAHOSTCXX=/usr/bin/g++-<N>is the usual Gentoo fix, and setup can say so once we see the message.@kyeno commented on GitHub (Oct 7, 2026):
Hey! I'm aware about "too new GCC" issue on Gentoo vs what CUDA wants, but I also "clamped down" my GCC quite a while back exactly for that reason:
I just pulled the newest, clean source of Strata to test it again:
Then with your proposed fix - sadly nothing changes. I tried gcc-14 and gcc-12 (left both on this system).
My "fix" still works.
@kyeno commented on GitHub (Oct 7, 2026):
Maybe this will shed some extra light on it for you:
@Niko1221 commented on GitHub (Oct 7, 2026):
Could you post the first cmake error from setup.sh? On Gentoo it is often the host compiler: try CUDAHOSTCXX with a gcc that your CUDA accepts, and send the output if it still fails.
@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.