From owner-freebsd-toolchain@freebsd.org Mon Dec 28 23:06:09 2015 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A7CDA54FD6 for ; Mon, 28 Dec 2015 23:06:09 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-152.reflexion.net [208.70.211.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0A94D13A0 for ; Mon, 28 Dec 2015 23:06:08 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 8059 invoked from network); 28 Dec 2015 23:06:12 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 28 Dec 2015 23:06:12 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v7.80.0) with SMTP; Mon, 28 Dec 2015 18:06:07 -0500 (EST) Received: (qmail 5799 invoked from network); 28 Dec 2015 23:06:06 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 28 Dec 2015 23:06:06 -0000 X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.1.8] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 62CC51C43C4; Mon, 28 Dec 2015 15:06:00 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: llvm.org's James Molloy on the need for -mno-unaligned-access for SCTLR bit[1]==1 arm contexts From: Mark Millard Date: Mon, 28 Dec 2015 15:06:04 -0800 Cc: freebsd-arm , FreeBSD Toolchain , Konstantin Belousov , Andrew Turner , mat@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Ian Lepore , Warner Losh X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2015 23:06:09 -0000 Begin forwarded message: > From: bugzilla-daemon@llvm.org > Subject: [Bug 25958] FreeBSD 11.0-CURRENT clang++ 3.7.1 gets Bus = Errors during compilation on arm that has SCTLR bit[1]=3D=3D1 (alignment = required) > Date: December 28, 2015 at 1:28:28 PM PST > To: >=20 > James Molloy changed bug 25958=20 > What Removed Added > CC james.molloy@arm.com >=20 > Comment # 2 on bug 25958 from James Molloy > Hi Mark, >=20 > Thanks for raising this. Before checking the specifics of what you = found - did > you compile Clang with -mno-unaligned-access? We will by default = compile > assuming SCTLR.A is 0. -mno-unaligned-access switches this assumption = off and > enables strict alignment mode. >=20 > Cheers, >=20 > James =3D=3D=3D Mark Millard markmi at dsl-only.net