On 5/8/24 21:33, Michael Hamilton wrote:
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
Sorry for using the same post, since I get the list via gmail, I don't see my replies. The patch WORKS for the 390.xx driver and the 6.8.9 kernel with gcc-14. I used: $ cat gcc-14.patch diff --git a/kernel/conftest.sh b/kernel/conftest.sh index 093704c..a9db899 100755 --- a/kernel/conftest.sh +++ b/kernel/conftest.sh @@ -153,7 +153,8 @@ test_headers() { build_cflags() { BASE_CFLAGS="-O2 -D__KERNEL__ \ -DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \ --nostdinc -isystem $ISYSTEM" +-nostdinc -isystem $ISYSTEM \ +-Wno-implicit-function-declaration -Wno-strict-prototypes -Wno-incompatible-pointer-types" if [ "$OUTPUT" != "$SOURCES" ]; then OUTPUT_CFLAGS="-I$OUTPUT/include2 -I$OUTPUT/include" On Arch I built the kernel modules and opencl (the nvidia-utils-390xx package) for both the 6.8.9 kernel and the LTS kernel 6.6.30 and had no issues whatsoever. Original patch link again: https://bbs.archlinux.org/viewtopic.php?pid=2170078#p2170078 Hope it helps! -- David C. Rankin, J.D.,P.E.