[Bug target/93654] Inappropriate "-fcf-protection and -mindirect-branch=thunk are incompatible on x86_64" restriction

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Apr 28 15:02:26 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93654

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Please DO disable -fcf-protection in the kernel build.  We are enabling
CET for the user space first.   The kernel CET will be the next.

I am enclosing a proposal to make -fcf-protection compatible with retpoline.
It targets user space.  It can be made compatible with kernel.


More information about the Gcc-bugs mailing list