nvidia-dkms-435 435.21-0ubuntu1: nvidia kernel module failed to build [error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible]

Bug #1847678 reported by Wen K Lai
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-435 (Ubuntu)
New
Undecided
Unassigned

Bug Description

not sure sorry

ProblemType: Package
DistroRelease: Ubuntu 19.10
Package: nvidia-dkms-435 435.21-0ubuntu1
ProcVersionSignature: Ubuntu 5.3.0-13.14-generic 5.3.0
Uname: Linux 5.3.0-13-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu8
Architecture: amd64
DKMSKernelVersion: 4.15.0-1018-oracle
Date: Thu Oct 10 18:19:31 2019
DuplicateSignature: dkms:nvidia-dkms-435:435.21-0ubuntu1:/var/lib/dkms/nvidia/435.21/build/common/inc/nvmisc.h:572:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
InstallationDate: Installed on 2019-10-10 (0 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Beta amd64 (20190926.1)
PackageVersion: 435.21-0ubuntu1
Python3Details: /usr/bin/python3.7, Python 3.7.5rc1, python3-minimal, 3.7.3-1
PythonDetails: /usr/bin/python2.7, Python 2.7.16+, python-minimal, 2.7.16-1
RelatedPackageVersions:
 dpkg 1.19.7ubuntu2
 apt 1.9.4
SourcePackage: nvidia-graphics-drivers-435
Title: nvidia-dkms-435 435.21-0ubuntu1: nvidia kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Wen K Lai (wekul1) wrote :
Revision history for this message
Marc Deslauriers (mdeslaur) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
tags: removed: need-duplicate-check
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This bug is already fixed in current Ubuntu versions (see bug 1830961)

The only problem here is that you still have an old kernel installed that's not compatible with gcc-9. Just uninstall kernel 4.15.0-1018-oracle.

summary: nvidia-dkms-435 435.21-0ubuntu1: nvidia kernel module failed to build
+ [error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible]
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.