should aarch64 cross-build work at amd64?

Boris Samorodov bsam at passap.ru
Fri Sep 23 21:54:20 UTC 2016


24.09.2016 00:44, Boris Samorodov пишет:
> 24.09.2016 00:39, Glen Barber пишет:
>> On Sat, Sep 24, 2016 at 12:35:30AM +0300, Boris Samorodov wrote:
>>> make[1]: /poudriere/jails/HEAD-aarch64/usr/src/Makefile.inc1 line 177:
>>> In-tree binutils does not support the aarch64 architecture. Install the
>>> aarch64-binutils port or package or set CROSS_BINUTILS_PREFIX.
>>
>> These lines are relevant.
> 
> Ops. Thank you.

The error when aarch64-binutils are installed:
-----
% sudo poudriere jail -c -j HEAD-aarch64 -a arm.aarch64 -v head -m
svn+https -J 8
[00:00:00] ====>> Cross-building ports for arm.aarch64 on amd64 requires
QEMU
[00:00:00] ====>> Creating HEAD-aarch64 fs... done
[00:00:01] ====>> Checking out the sources from svn... done
[00:03:41] ====>> Starting make buildworld with 8 jobs
--- buildworld ---
make[1]: "/poudriere/jails/HEAD-aarch64/usr/src/Makefile.inc1" line 146:
SYSTEM_COMPILER: Determined that CC=cc matches the source tree.  Not
bootstrapping a cross-compiler.
make[1]: "/poudriere/jails/HEAD-aarch64/usr/src/Makefile.inc1" line 371:
Unknown target aarch64:arm.
*** [buildworld] Error code 1
-----

-- 
WBR, bsam


More information about the freebsd-current mailing list