[Bug 1835764] Re: Multiple DKMS kernel drivers fail to build with gcc-9 [error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible]
Daniel van Vugt
daniel.van.vugt at canonical.com
Tue Jul 9 07:28:04 UTC 2019
*** This bug is a duplicate of bug 1830961 ***
https://bugs.launchpad.net/bugs/1830961
** Also affects: gcc-9 (Ubuntu)
Importance: Undecided
Status: New
** Tags added: regression
** This bug has been marked a duplicate of bug 1830961
9.1.0-3ubuntu1 prevents kernel & kernel module compilation on 19.10 due to enabled fcf-protection
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-9 in Ubuntu.
https://bugs.launchpad.net/bugs/1835764
Title:
Multiple DKMS kernel drivers fail to build with gcc-9 [error:
‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible]
Status in gcc-9 package in Ubuntu:
New
Status in nvidia-graphics-drivers-430 package in Ubuntu:
Confirmed
Status in virtualbox package in Ubuntu:
Confirmed
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/1835764/+subscriptions
More information about the foundations-bugs
mailing list