On Thursday 09 May 2024, David C. Rankin wrote:
TW users,
Just a note, gcc 14 will break the nvidia driver module build. The discussion and initial workaround/patch is discussed in https://forums.developer.nvidia.com/t/nvidia-modules-build-failure-with- upcoming-gcc-14-and-recent-kernels-due-to-misfiring-conftest-sh-test-head s-up/279072
I've not got a patch for the 470 or 390 drivers worked out yet -- if you do, post a link, but I think we can port the fixes in the above discussion to those versions as well. The CFLAGS default change also impacts the build.
If I work out a patch or get one from the Arch list, I'll drop a link here.
Thanks for the warning. If I don't update the kernel and the Nvidia driver (by zypper lock), will it be OK to allow the dup to gcc 14 to proceed? (I normally have both of these locked and only dup including them when I have time to deal with any fallout.) Michael