nvidia-361 361.42-0ubuntu2: nvidia-361 kernel module failed to build when gcc and g++ are set to v4.8 instead of default v5.3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Expired
|
High
|
Unassigned | ||
nvidia-graphics-drivers-361 (Ubuntu) |
Expired
|
High
|
Unassigned |
Bug Description
after a routine system update, Linux kernel was upgraded to 4.4.0-24-generic. Since then, the nvidia graphic drivers simply refuses to build:
> Building initial module for 4.4.0-24-generic
> Error! Bad return status for module build on kernel: 4.4.0-24-generic (x86_64)
> Consult /var/lib/
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: nvidia-361 361.42-0ubuntu2
ProcVersionSign
Uname: Linux 4.4.0-24-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
DKMSKernelVersion: 4.4.0-24-generic
Date: Sun Jun 12 19:45:40 2016
DuplicateSignature: dkms:nvidia-
InstallationDate: Installed on 2015-10-31 (225 days ago)
InstallationMedia: Xubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
PackageVersion: 361.42-0ubuntu2
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.12~
SourcePackage: nvidia-
Title: nvidia-361 361.42-0ubuntu2: nvidia-361 kernel module failed to build
UpgradeStatus: Upgraded to xenial on 2016-05-04 (39 days ago)
summary: |
nvidia-361 361.42-0ubuntu2: nvidia-361 kernel module failed to build + when gcc and g++ are set to v4.8 instead of default v5.3 |
tags: | removed: need-duplicate-check |
Changed in nvidia-graphics-drivers-361 (Ubuntu): | |
importance: | Undecided → High |
Changed in hundredpapercuts: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in nvidia-graphics-drivers-361 (Ubuntu): | |
status: | Confirmed → New |
Changed in hundredpapercuts: | |
status: | Confirmed → New |
Found the issue. I set my gcc and g++ to 4.8 or 4.9 via update-alternative because we to support Ubuntu 12.04. I moved gcc and g++ back to the default 5.3, did `apt-get remove nvidia-* --purge`, then `apt-get install nvidia-361` and it worked.