FS#58435 - [linux][nvidia-dkms][gcc] Kernel 4.16.7-1 is compiled with gcc 8.1, which breaks nvidia-dkms
Attached to Project:
Arch Linux
Opened by Dmitriy Kharitonov (dark-saber) - Thursday, 03 May 2018, 09:48 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 03 May 2018, 13:29 GMT
Opened by Dmitriy Kharitonov (dark-saber) - Thursday, 03 May 2018, 09:48 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 03 May 2018, 13:29 GMT
|
Details
Description:
Kernel 4.16.7-1 in testing is compiled with gcc 8.1, while gcc 8.1 is still in staging, which breaks nvidia-dkms 390.48-13 from testing. Additional info: * package version(s) linux 4.16.7-1 gcc 7.3.1+20180406-1 nvidia-dkms 390.48-13 * config and/or log files etc. /var/lib/dkms/nvidia/390.48/build/make.log: DKMS make.log for nvidia-390.48 for kernel 4.16.7-1-ARCH (x86_64) Thu May 3 14:43:50 YEKT 2018 make[1]: Entering directory '/usr/lib/modules/4.16.7-1-ARCH/build' SYMLINK /var/lib/dkms/nvidia/390.48/build/nvidia/nv-kernel.o SYMLINK /var/lib/dkms/nvidia/390.48/build/nvidia-modeset/nv-modeset-kernel.o Compiler version check failed: The major and minor number of the compiler used to compile the kernel: gcc version 8.1.0 (GCC) does not match the compiler used here: cc (GCC) 7.3.1 20180406 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. It is recommended to set the CC environment variable to the compiler that was used to compile the kernel. The compiler version check can be disabled by setting the IGNORE_CC_MISMATCH environment variable to "1". However, mixing compiler versions between the kernel and kernel modules can result in subtle bugs that are difficult to diagnose. *** Failed CC version check. Bailing out! *** make[2]: *** [/var/lib/dkms/nvidia/390.48/build/Kbuild:180: cc_version_check] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:1562: _module_/var/lib/dkms/nvidia/390.48/build] Error 2 make[1]: Leaving directory '/usr/lib/modules/4.16.7-1-ARCH/build' make: *** [Makefile:79: modules] Error 2 Steps to reproduce: Install linux, gcc and nvidia-dkms from testing. nvidia-dkms module will fail to compile. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Thursday, 03 May 2018, 13:29 GMT
Reason for closing: Fixed
Additional comments about closing: gcc 8 moved to testing
Thursday, 03 May 2018, 13:29 GMT
Reason for closing: Fixed
Additional comments about closing: gcc 8 moved to testing
Comment by
Dmitriy Kharitonov (dark-saber) -
Thursday, 03 May 2018, 12:16 GMT
gcc 8.1.0 is now in testing, so the problem is resolved.