Several posters are asking for the mainline builds to be fixed. The
mainline builds are an exact reflection of the upstream git master
repositories. Therefore they have to wait for Seth's patch submission,
which has been picked up and accepted by the kbuild team, to propagate
it's way to the mainline upstream git branch. Earlier today, a kernel
5.3-rc1 merge request was issued by the kbuild team [1]. Once that
branch has been "pulled" into the upstream mainline, the Ubuntu mainline
daily compiles should start working the next day. In about 8 days there
will be kernel 5.3-rc1, which should have the patch.

[1] https://www.spinics.net/lists/linux-kbuild/msg22526.html

Other references:

https://kernel.ubuntu.com/~kernel-ppa/mainline/daily/
https://www.spinics.net/lists/linux-kbuild/msg22298.html
https://patchwork.kernel.org/patch/11037379/

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux 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 gcc-9 package in Ubuntu:
  Invalid
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

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/gcc-9/+bug/1830961/+subscriptions

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

Reply via email to