Cannot build nvidia driver via dkms because compiler doesn't match kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Invalid
|
Critical
|
Unassigned | ||
dkms (Ubuntu) |
Invalid
|
Critical
|
Unassigned | ||
gcc-defaults (Ubuntu) |
Invalid
|
Critical
|
Unassigned | ||
Bug Description
The kernel installed with 16.04 was built with gcc 5.3.1, but the default compiler installed is 5.4.0 - as such, DKMS refuses to build the nvidia video card driver due to the mismatch. Either build the kernel with the shipping compiler or ship the compiler that was used to build the kernel.
cat /proc/version
Linux version 4.4.0-34-lowlatency (buildd@lgw01-20) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1) ) #53-Ubuntu SMP PREEMPT Wed Jul 27 19:23:26 UTC 2016
gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~
lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: dkms 2.2.0.3-2ubuntu11.1
ProcVersionSign
Uname: Linux 4.4.0-34-lowlatency x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Mon Aug 1 21:26:15 2016
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: dkms
UpgradeStatus: Upgraded to xenial on 2016-07-23 (9 days ago)
Changed in gcc-defaults (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in dkms (Ubuntu): | |
importance: | Undecided → Critical |
status: | Confirmed → Invalid |
Changed in hundredpapercuts: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in gcc-defaults (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in hundredpapercuts: | |
status: | Confirmed → Triaged |
Status changed to 'Confirmed' because the bug affects multiple users.