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

--- Comment #21 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
(In reply to Erich Löw from comment #16)
> In parallel: how did I come to "CCFLAGS=-pipe -march=native -O2 -fPIC
> -fomit-frame-pointer"?
> --> They are from linux kernel compiling

This is not correct.  The current kernel building system ignores any custom
CFLAGS.  And "-march=native" or "-fPIC" are just not suitable for the kernel,
if you forcefully inject them into a kernel build the kernel will most likely
just fail to boot.

Reply via email to