[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 1/2] x86/ubsan: Don't perform alignment checking on supporting compilers


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Jan Beulich <JBeulich@xxxxxxxx>
  • Date: Fri, 26 Jul 2019 07:33:52 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=suse.com;dmarc=pass action=none header.from=suse.com;dkim=pass header.d=suse.com;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ttB0aa3Gv9e9mWKiQ8yhAkvxFpOqidAXngnWBtWza1w=; b=ALvOfChoId7hp7gMIBaEdN7mvamwFfPtCsdfiEdBQs5he9qdOSq2apk7IEw2mjuJDdwk60lhcF0QTGzJctk4Dkc+mZ2ZYFjzOmCqKRdzJdttyjxlNpAvPsiPoxkzipnIWTbuntF15FXcTP0n1/5FRP/gskWbYP/KPZRjHc73wDyXaG+/trzleONAcWxzPPTnh8g+jnGc9pgCTqCTQds51YV4HIDwGTwPZNLmZXa8X255dkI0Feq3bPPAU0xzUtOnkydGz32jwP85/a81M4re8sR4hQxpSIogI3R5EH8Ikbh+5OPIAoMyKwtsZeoo4EisrscPOb00nefJz2EBG4lahw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iUIOQ99axduekaTKNarX1xhwU55K2OLwYHLVzqFMFtw8vHAx2YmlGejeJSyA4hc5+GQMYyNxisPYHkcD0tb7ixYJfoZMOKRg7QDewu6de7WSkGDbHx+8xMjyKflckr/1Uperw32ykKSgQRxxleV6PDhbQ673Gp5APk/CrcB8y334POhWVkWLeU952+wmevhkfJAj6Bf7awJ2tEwWvf7/QeeDrsjVM6+RVKas6YPqUc7n2/WJOzLHnAtrkUfoCFIOf/KJUE5DbuRJekNERtOJpoZRi2nUgrylA+h45w682Malsg9AS6hzJfTVmqkLf6oNzCXh9aEP5rCSbgfkTOUBaw==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=JBeulich@xxxxxxxx;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Julien Grall <julien.grall@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Fri, 26 Jul 2019 07:37:32 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVQ4R5ovDVdvhS/keGiUf3ND87nw==
  • Thread-topic: [PATCH v3 1/2] x86/ubsan: Don't perform alignment checking on supporting compilers

>>> On 27.06.19 at 20:56, <andrew.cooper3@xxxxxxxxxx> 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 <andrew.cooper3@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

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
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.