Multiple DKMS kernel drivers fail to build with gcc-9 [error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible]

Bug #1835764 reported by vasilisc
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gcc-9 (Ubuntu)
New
Undecided
Unassigned
nvidia-graphics-drivers-430 (Ubuntu)
Confirmed
Critical
Unassigned
virtualbox (Ubuntu)
Confirmed
Critical
Unassigned

Bug Description

DKMSKernelVersion: 5.0.0-20-generic
Date: Mon Jul 8 13:11:52 2019
DuplicateSignature: dkms:virtualbox-dkms:6.0.8-dfsg-7:./include/linux/compiler.h:192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
Package: virtualbox-dkms 6.0.8-dfsg-7
PackageVersion: 6.0.8-dfsg-7
SourcePackage: virtualbox
Title: virtualbox-dkms 6.0.8-dfsg-7: virtualbox kernel module failed to build

----

# LANG=C apt-cache policy gcc
gcc:
  Installed: 4:9.1.0-1ubuntu4
  Candidate: 4:9.1.0-1ubuntu4
  Version table:
 *** 4:9.1.0-1ubuntu4 500
        500 http://archive.ubuntu.com/ubuntu eoan/main amd64 Packages
        100 /var/lib/dpkg/status
---

# LANG=C lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Eoan Ermine (development branch)
Release: 19.10
Codename: eoan

tags: added: eoan
summary: virtualbox-dkms 6.0.8-dfsg-7: virtualbox kernel module failed to build
+ [error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible]
summary: - virtualbox-dkms 6.0.8-dfsg-7: virtualbox kernel module failed to build
- [error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible]
+ Multiple DKMS kernel drivers fail to build with gcc-9 [error:
+ ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible]
Changed in virtualbox (Ubuntu):
importance: Undecided → Critical
Changed in nvidia-graphics-drivers-430 (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nvidia-graphics-drivers-430 (Ubuntu):
status: New → Confirmed
Changed in virtualbox (Ubuntu):
status: New → Confirmed
tags: added: regression
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.