[Bug 1868169] [NEW] Cannot build nvidia driver via dkms because compiler doesn't match kernel
Tim
1868169 at bugs.launchpad.net
Thu Mar 19 19:50:26 UTC 2020
Public bug reported:
The same as this issue https://bugs.launchpad.net/ubuntu/+source/gcc-
defaults/+bug/1608753 but on 18.04
relevant output from /var/lib/dkms/nvidia/440.33.01/build/make.log:
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~18.04.1)
does not match the compiler used here:
cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
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! ***
** Affects: gcc-defaults (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1868169
Title:
Cannot build nvidia driver via dkms because compiler doesn't match
kernel
Status in gcc-defaults package in Ubuntu:
New
Bug description:
The same as this issue https://bugs.launchpad.net/ubuntu/+source/gcc-
defaults/+bug/1608753 but on 18.04
relevant output from /var/lib/dkms/nvidia/440.33.01/build/make.log:
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~18.04.1)
does not match the compiler used here:
cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
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! ***
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1868169/+subscriptions
More information about the foundations-bugs
mailing list