should aarch64 cross-build work at amd64?

Mikaël Urankar mikael.urankar at gmail.com
Wed Sep 28 06:07:21 UTC 2016


2016-09-28 6:22 GMT+02:00 Glen Barber <gjb at freebsd.org>:
>> The more I read this, the less I understand.  I've built and install'd
>> aarch64-binutils on my poud box, then created an "-x -a arm64.aarch64 -m svn"
>> jail - which worked fine - but that jail won't build anything.  No
>> /usr/bin/ld, so toolchain is borked, so can't build ports-mgmt/pkg.
>> What utterly obvious thing have I missed?  I've spent hours trying to
>> fake out the nxb-bin stuff, or to find some other point of entry, no
>> joy.

You need this ld: http://people.freebsd.org/~andrew/arm64/ld
and put it in your jail (something like that):

zfs destroy zroot/poudriere/jails/JAILNAME at clean
cp ld /usr/local/poudriere/jails/JAILNAME/nxb-bin/usr/bin
cp ld /usr/local/poudriere/jails/JAILNAME/usr/bin
zfs create zroot/poudriere/jails/JAILNAME at clean


More information about the freebsd-current mailing list