-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open-Source Kernel Modules Doesn't Link Against LLVM Thin-LTO TKG Kernel(s) #109
Comments
Create a own issue at https://github.com/NVIDIA/open-gpu-kernel-modules and follow their bug report guidelines. |
You can try to change the thinlto cachedir with the following patch, does work also for 5.17 the patch: This fixes for me the compile of zfs modules with thinlto. |
@ptr1337 I tried this and it made little difference; it seems to progress further(?) but it ultimately fails anyway: |
One thing you ould try removed !buildflags from the pkgbuild and built the complete nvidia-open-dkms with llvm exported in your makepkg.conf and with this patch. Actually I only have a 1070ti so I can't test it much. |
I've already tried that. |
Below I've attached a full log of the issue.
nvidia-build.log
Both the kernel and the nvidia-all PKGBUILD are inheriting clang variables from
makepkg.conf
, for reference these are the set variables:Note: Disabling LTO via makepkg makes no difference.
The text was updated successfully, but these errors were encountered: