Open ThisNekoGuy opened 2 years ago
Create a own issue at https://github.com/NVIDIA/open-gpu-kernel-modules and follow their bug report guidelines. Here also a upstream archlinux issue: https://bugs.archlinux.org/task/74714?project=1&string=nvidia-open-dkms
You can try to change the thinlto cachedir with the following patch, does work also for 5.17 the patch: https://github.com/ptr1337/kernel-patches/blob/master/5.18/0001-thinlto-cachdir.patch
This fixes for me the compile of zfs modules with thinlto.
You can try to change the thinlto cachedir with the following patch, does work also for 5.17 the patch: https://github.com/ptr1337/kernel-patches/blob/master/5.18/0001-thinlto-cachdir.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: nvidia-open-dkms.log
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.