nvidia-* kernel module failed to build [cc: error: unrecognized command line option ‘-fstack-protector-strong’]

Bug #1526155 reported by Henrique Pompeo Modesto on 2015-12-15
194
This bug affects 31 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-304-updates (Ubuntu)
Undecided
Unassigned
nvidia-graphics-drivers-340 (Ubuntu)
Undecided
Unassigned
nvidia-graphics-drivers-352 (Ubuntu)
Undecided
Unassigned
nvidia-graphics-drivers-361 (Ubuntu)
Undecided
Unassigned
nvidia-graphics-drivers-375 (Ubuntu)
Undecided
Unassigned
nvidia-graphics-drivers-384 (Ubuntu)
Undecided
Unassigned
nvidia-graphics-drivers-390 (Ubuntu)
Undecided
Unassigned

Bug Description

I don't know

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: nvidia-340 340.96-0ubuntu0.14.04.1
Uname: Linux 4.0.4-040004-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
DKMSKernelVersion: 4.3.2-040302-generic
Date: Tue Dec 15 01:29:18 2015
DuplicateSignature: dkms:nvidia-340:340.96-0ubuntu0.14.04.1:cc: error: unrecognized command line option ‘-fstack-protector-strong’
InstallationDate: Installed on 2014-10-15 (425 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageVersion: 340.96-0ubuntu0.14.04.1
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.5
 apt 1.0.1ubuntu2.10
SourcePackage: nvidia-graphics-drivers-340
Title: nvidia-340 340.96-0ubuntu0.14.04.1: nvidia-340 kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.modprobe.d.nvidia.340.hybrid.conf: [deleted]

tags: removed: need-duplicate-check
summary: nvidia-340 340.96-0ubuntu0.14.04.1: nvidia-340 kernel module failed to
- build
+ build [cc: error: unrecognized command line option ‘-fstack-protector-
+ strong’]

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-340 (Ubuntu):
status: New → Confirmed
Changed in nvidia-graphics-drivers-352 (Ubuntu):
status: New → Confirmed
Greg (greg-yorkshire-uk) wrote :

This is resolved by installing gcc4.9 and setting it up as an alternative with aoto gcc selection on. The same also fixes the virtual box dkms issue with recent kernels

Brad Peterson (bradpeterson) wrote :

Greg is correct. I ran into the bug and accidentally submitted it, and it let me here. The problem was I set up update-alternatives, and tried to run it under gcc and g++ 4.8. When I went back to gcc and g++ 5.2.1, the bug went away.

summary: - nvidia-340 340.96-0ubuntu0.14.04.1: nvidia-340 kernel module failed to
- build [cc: error: unrecognized command line option ‘-fstack-protector-
- strong’]
+ nvidia-* kernel module failed to build [cc: error: unrecognized command
+ line option ‘-fstack-protector-strong’]
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-304-updates (Ubuntu):
status: New → Confirmed
Changed in nvidia-graphics-drivers-361 (Ubuntu):
status: New → Confirmed
Changed in nvidia-graphics-drivers-375 (Ubuntu):
status: New → Confirmed
Daniel van Vugt (vanvugt) wrote :

Looks like bug 1574982 might provide more relevant information.

Changed in nvidia-graphics-drivers-384 (Ubuntu):
status: New → Confirmed
tags: added: artful
tags: added: bionic
Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers