[SeaBIOS] Re: [PATCH] build: use -fcf-protection=none when available

2020-03-20 Thread Christian Ehrhardt
On Fri, Mar 20, 2020 at 12:20 AM Fangrui Song wrote: > On 2020-03-19, Christian Ehrhardt wrote: > >Some hardened gcc v9 compilers (such as the one in Ubuntu) > >default this option which for seabios leads to emulation errors > >when running in KVM (does not trigger in TCG) on older intel >

[SeaBIOS] Re: [PATCH] build: use -fcf-protection=none when available

2020-03-19 Thread Fangrui Song
On 2020-03-19, Christian Ehrhardt wrote: Some hardened gcc v9 compilers (such as the one in Ubuntu) default this option which for seabios leads to emulation errors when running in KVM (does not trigger in TCG) on older intel chips of the Penryn generation (~2006-2008). Symptom in KVM looks