Cannot build nvidia driver via dkms because compiler doesn't match kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bionic |
New
|
Undecided
|
Unassigned |
Bug Description
The same as this issue https:/
relevant output from /var/lib/
Compiler version check failed:
The major and minor number of the compiler used to
compile the kernel:
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~
does not match the compiler used here:
cc (Ubuntu 7.5.0-3ubuntu1~
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! ***
tags: | added: rls-bb-incoming |
Status changed to 'Confirmed' because the bug affects multiple users.