FS#59516 - [NVIDIA-DKMS] UPDATE VERSION TO 396.45

Attached to Project: Arch Linux
Opened by Marcin (jaqu3) - Friday, 03 August 2018, 07:11 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 03 August 2018, 07:15 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
When I update this I have error
"==> dkms install nvidia/396.45 -k 4.17.11-1-clear
Error! Bad return status for module build on kernel: 4.17.11-1-clear (x86_64)
Consult /var/lib/dkms/nvidia/396.45/build/make.log for more information.
"

DKMS make.log for nvidia-396.45 for kernel 4.17.11-1-clear (x86_64)
Fri 3 Aug 09:06:47 CEST 2018
make[1]: Entering directory '/usr/lib/modules/4.17.11-1-clear/build'
SYMLINK /var/lib/dkms/nvidia/396.45/build/nvidia/nv-kernel.o
SYMLINK /var/lib/dkms/nvidia/396.45/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.1 20180531 (GCC)

does not match the compiler used here:

cc (GCC) 8.2.0
Copyright (C) 2018 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/396.45/build/Kbuild:180: cc_version_check] Error 1
make[1]: *** [Makefile:1572: _module_/var/lib/dkms/nvidia/396.45/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.17.11-1-clear/build'
make: *** [Makefile:79: modules] Error 2


Steps to reproduce:
Also when You can upgrade nvidia u should downgrade gcc 8.2.0-2 to version 8.1.1
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 03 August 2018, 07:15 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Issue is with your kernel

Loading...