Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2015 15:06:04 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        Ian Lepore <ian@FreeBSD.org>, Warner Losh <imp@bsdimp.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, Konstantin Belousov <kostikbel@gmail.com>, Andrew Turner <andrew@fubar.geek.nz>, mat@FreeBSD.org
Subject:   llvm.org's James Molloy on the need for -mno-unaligned-access for SCTLR bit[1]==1 arm contexts
Message-ID:  <BFCE0D06-587C-49FF-B63F-C6DACBF1A32C@dsl-only.net>
References:  <bug-25958-7604-AFkrdlNz2P@http.llvm.org/bugs/>

next in thread | previous in thread | raw e-mail | index | archive | help

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: <markmi@dsl-only.net>
>=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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BFCE0D06-587C-49FF-B63F-C6DACBF1A32C>