Comment 12 for bug 1830961

Revision history for this message
jean-christophe manciot (manciot-jeanchristophe) wrote :

Same issue with:

Ubuntu 19.10
xtables-addons-dkms 3.2-1ubuntu2
linux kernel 5.0.0-17 and 5.0.0-20
gcc-9: 9.1.0-6ubuntu2

The compilation complains that:
 echo >&2; \
 echo >&2 " ERROR: Kernel configuration is invalid."; \
 echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
 echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \

but both files are present. Later on, I get a huge number of similar errors like the following:
 ./include/linux/compiler.h:192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible

Switching to gcc-8 works around this critical issue.