Messages in this thread | | | Date | Tue, 17 Mar 2020 15:49:42 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH] x86: fix early boot crash on gcc-10 |
| |
On Tue, Mar 17, 2020 at 03:39:14PM +0100, Jakub Jelinek wrote: > That is because the option is called -fno-stack-protector, so one needs to > use __attribute__((optimize("no-stack-protector")))
Ha, that works even! :-)
And my guest boots.
I guess we can do that then. Looks like the optimal solution to me.
Also, I'm assuming older gccs will simply ignore unknown optimize options?
Thx.
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |