[PATCH 0/2] Fixups for fcf-protection

2020-05-11 Thread Jason Andryuk
Two patches to fix building with a cf-protection toolchain. The first handles the case where the compiler fails to run with "error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible". The second fixes a runtime error that prevented Xen booting in legacy mode. I still haven't figured o

Re: [PATCH 0/2] Fixups for fcf-protection

2020-05-12 Thread Stefan Bader
On 12.05.20 05:39, Jason Andryuk wrote: > Two patches to fix building with a cf-protection toolchain. The first > handles the case where the compiler fails to run with "error: > ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible". > > The second fixes a runtime error that prevented Xen

Re: [PATCH 0/2] Fixups for fcf-protection

2020-05-12 Thread Andrew Cooper
On 12/05/2020 08:17, Stefan Bader wrote: > On 12.05.20 05:39, Jason Andryuk wrote: >> Two patches to fix building with a cf-protection toolchain. The first >> handles the case where the compiler fails to run with "error: >> ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible". >> >> The s

Re: [PATCH 0/2] Fixups for fcf-protection

2020-05-12 Thread Stefan Bader
On 12.05.20 20:47, Andrew Cooper wrote: > On 12/05/2020 08:17, Stefan Bader wrote: >> On 12.05.20 05:39, Jason Andryuk wrote: >>> Two patches to fix building with a cf-protection toolchain. The first >>> handles the case where the compiler fails to run with "error: >>> ‘-mindirect-branch’ and ‘-fc

Re: [PATCH 0/2] Fixups for fcf-protection

2020-05-13 Thread Jan Beulich
On 13.05.2020 07:41, Stefan Bader wrote: > On 12.05.20 20:47, Andrew Cooper wrote: >> On 12/05/2020 08:17, Stefan Bader wrote: >>> Not sure it was already hit but that additional .note section breaks the >>> build >>> of the emulator as generated headers become gigantic: >>> >>> https://git.launch