Comment 4 for bug 1830961

Revision history for this message
Vidar Braut Haarr (vhaarr+launchpad) wrote : Re: 9.1.0-3ubuntu1 prevents kernel & kernel module compilation on 19.10 due to enabled fcf-protection

As a temporary workaround I changed the compile flags in /usr/src/linux-headers-foo/Makefile around line 634 to

RETPOLINE_CFLAGS_GCC := -mindirect-branch-register
RETPOLINE_VDSO_CFLAGS_GCC := -mindirect-branch-register

and now it compiled with gcc9