On 09 Jan 2016, at 04:46, Mark Millard <[email protected]> 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
signature.asc
Description: Message signed with OpenPGP using GPGMail
