x86/ubsan: Don't perform alignment checking on supporting compilers
Jan Beulich
Reviewed-byQuoted 11 lines
Quoted 1 line
Quoted 1 line · On 27.06.19 at 20:56, <[email protected]> wrote:
GCC 5 introduced -fsanitize=alignment which is enabled by default by
CONFIG_UBSAN. This trips a load of wont-fix cases in the ACPI tables and the hypercall page and stubs writing logic.It also causes the native Xen boot to crash before the console is set up, for an as-yet unidentified reason (most likley a wont-fix case earlier on boot).
Disable alignment sanitisation on compilers which would try using it.
Signed-off-by Andrew Cooper <[email protected]>
I'm sorry for the delay - it was only now that I've been told how to access the mails still delivered to my old mailbox between me leaving the office that day and the switch of mailboxes actually having happened.
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 10 lines · Jan Beulich
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 27.06.19 at 20:56, <[email protected]> wrote:
GCC 5 introduced -fsanitize=alignment which is enabled by default by
CONFIG_UBSAN. This trips a load of wont-fix cases in the ACPI tables and the hypercall page and stubs writing logic.It also causes the native Xen boot to crash before the console is set up, for an as-yet unidentified reason (most likley a wont-fix case earlier on boot).
Disable alignment sanitisation on compilers which would try using it.
Quoted 7 lines
Quoted 1 line
Signed-off-by Andrew Cooper <[email protected]>Reviewed-by Jan Beulich <[email protected]>I'm sorry for the delay - it was only now that I've been told how to access the mails still delivered to my old mailbox between me leaving the office that day and the switch of mailboxes actually having happened.
TBH, I'd completely forgotten about this series. Thanks for the reminder.
~Andrew
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel