svn commit: r325504 - head/lib/libclang_rt
Ngie Cooper (yaneurabeya)
yaneurabeya at gmail.com
Wed Nov 8 04:00:48 UTC 2017
> On Nov 7, 2017, at 11:20, Bryan Drewery <bdrewery at FreeBSD.org> wrote:
>
> On 11/6/2017 10:26 PM, Ngie Cooper wrote:
>> Author: ngie
>> Date: Tue Nov 7 06:26:48 2017
>> New Revision: 325504
>> URL: https://svnweb.freebsd.org/changeset/base/325504
>>
>> Log:
>> Redo r325502
>>
>> :U:Mfoo expands to :Mfoo, apparently. Explicit check for CPUTYPE being
>> defined, and test for it's value not containing *soft* before calling CRTARCH
>> armhf.
>>
>> Tested, somewhat. Unfortunately recent changes appear to have affected
>> cross-builds where it no longer works, per my tests after universe12a being
>> upgraded from 07/2017 to 11/2017 sources (DESTDIR isn't being used in WORLDTMP;
>> MK_SYSTEM_COMPILER might be causing issues right now).
>>
>
> In buildworld DESTDIR usually is set to WORLDTMP. But how does the
> comment relate to CPUTYPE? What "no longer works" about cross-builds?
If I had my log, I would dig it up, but it’s easy to trigger with “make tinderbox TARGETS=arm” on that branch :/.
Basically, it wasn’t looking for libraries in the host toolchain’s directory (`/usr/lib/…`), not `<WORLDTMP>/usr/lib/…`.
Cheers,
-Ngie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20171107/a0076611/attachment.sig>
More information about the svn-src-all
mailing list