** Also affects: backport-iwlwifi-dkms (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: virtualbox (Ubuntu Eoan)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Eoan)
   Importance: Undecided
       Status: New

** Also affects: xtables-addons (Ubuntu Eoan)
   Importance: Undecided
       Status: New

** Also affects: gcc-9 (Ubuntu Eoan)
   Importance: Undecided
       Status: New

** Also affects: nvidia-graphics-drivers-430 (Ubuntu Eoan)
   Importance: Undecided
       Status: New

** Also affects: backport-iwlwifi-dkms (Ubuntu Eoan)
   Importance: Undecided
       Status: New

** Changed in: backport-iwlwifi-dkms (Ubuntu)
       Status: New => Fix Released

** Changed in: gcc-9 (Ubuntu Eoan)
       Status: New => Won't Fix

** Changed in: linux (Ubuntu Eoan)
       Status: New => Fix Released

** Changed in: nvidia-graphics-drivers-430 (Ubuntu Eoan)
       Status: New => Fix Released

** Changed in: virtualbox (Ubuntu Eoan)
       Status: New => Won't Fix

** Changed in: xtables-addons (Ubuntu Eoan)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-430 in Ubuntu.
https://bugs.launchpad.net/bugs/1830961

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

Status in backport-iwlwifi-dkms package in Ubuntu:
  Fix Released
Status in gcc-9 package in Ubuntu:
  Won't Fix
Status in linux package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-430 package in Ubuntu:
  Fix Released
Status in virtualbox package in Ubuntu:
  Won't Fix
Status in xtables-addons package in Ubuntu:
  Won't Fix
Status in backport-iwlwifi-dkms source package in Eoan:
  New
Status in gcc-9 source package in Eoan:
  Won't Fix
Status in linux source package in Eoan:
  Fix Released
Status in nvidia-graphics-drivers-430 source package in Eoan:
  Fix Released
Status in virtualbox source package in Eoan:
  Won't Fix
Status in xtables-addons source package in Eoan:
  Won't Fix

Bug description:
  Compiling kernels & kernel modules fails due to these errors:

  ./include/linux/compiler.h:193:1: error: ‘-mindirect-branch’ and
  ‘-fcf-protection’ are not compatible

  (This happens with any kernel modules.)

  This appears to be due to the changes in 9.1.0-3ubuntu1 enabling -fcf-
  protection by default on 19.10's gcc-9.

  Switching to gcc-8 allows compilation to proceed.

  WORKAROUND:

  sudo ln -fs gcc-8 /usr/bin/gcc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/backport-iwlwifi-dkms/+bug/1830961/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to