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.
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.