Re: should aarch64 cross-build work at amd64?

From: Glen Barber <gjb_at_FreeBSD.org>
Date: Fri, 23 Sep 2016 22:19:15 +0000
On Sat, Sep 24, 2016 at 12:54:05AM +0300, Boris Samorodov wrote:
> 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

Try with 'arm64.aarch64'.

> [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
> -----
> 

Glen


Received on Fri Sep 23 2016 - 20:19:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:08 UTC