Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jan 2016 18:22:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 205663] clang++ 3.7.1 gets Bus Errors during compilation on arm that has SCTLR bit[1]==1 (alignment required)
Message-ID:  <bug-205663-8-ThJfC3oaMa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205663-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205663-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205663

--- Comment #6 from Mark Millard <markmi@dsl-only.net> ---
llvm.org's Bugzilla reports that clang trunk has been fixed and clang 3.8 w=
ill
contain the fixes:

James Molloy changed bug 25958=20
What    Removed Added
Status  NEW     RESOLVED
Resolution      ---     FIXED
Comment # 8 on bug 25958 from James Molloy
Hi Mark,

Thanks for your detailed investigation. I can confirm that this is fixed on
trunk and therefore will be fixed for LLVM 3.8.

The fixes were done for SPARC, which requires strict accesses much as ARM d=
oes
with SCTLR=3D1.

There was a sequence of commits by James Knight that fixed these, but an
example is http://reviews.llvm.org/rL242554 .

The fixes were in a similar vein to yours, but required changes in fewer pl=
aces
and there were a few more sticky issues to solve too. I'll CC James here in
case he wants to comment on the current state of the clang codebase for
self-hosting in a strict alignment environment.

Cheers,

James

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205663-8-ThJfC3oaMa>