Skip to contentSkip to conversation

x86/ubsan: Don't perform alignment checking on supporting compilers

PATCH Jan Beulich 2 participants 2 messages Jul 26, 2019 – Jul 31, 2019

lore
Share & tools
lore

Jan Beulich

author Reviewed-by
#0 lore raw
Quoted 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.

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

#1 lore raw
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

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