Bug 205663 Clang getting Bus Errors (arm SCLTR Bit[12]==1 context): Reported fixed on llvm's trunk

Dimitry Andric dim at FreeBSD.org
Sat Jan 9 14:02:22 UTC 2016


On 09 Jan 2016, at 04:46, Mark Millard <markmi at dsl-only.net> wrote:
> 
> On 2016-Jan-7, at 2:57 PM, Dimitry Andric <dim at FreeBSD.org> wrote:
...
>> FYI, I have added a -mno-movt option for this purpose upstream, and
>> imported a newer snapshot into the clang380-import branch.  As of
>> r293384, it now uses the new option spelling for modules, if your clang
>> is 3.8.0 or higher.
>> 
>> -Dimitry
> 
> I've not been able to get to the point of running clang++ 3.8 on the rpi2 yet: R_ARM_CALL and R_ARM_JUMP24 relocation truncations during the cross build's buildworld interfere.

Yes, this is caused by too large call distances.  In other words, the
clang executable is getting to big to link.  Apparently we need to do
some tricks with -mlongcall to fix this.  As I am no arm expert, I
welcome any patch submissions. :-)

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-toolchain/attachments/20160109/ea82d945/attachment.sig>


More information about the freebsd-toolchain mailing list