Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2023 17:17:39 -0500
From:      Mike Karels <mike@karels.net>
To:        Juraj Lutter <otis@FreeBSD.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64
Message-ID:  <0FA5C2F2-6639-4522-AA29-537F596A5F81@karels.net>
In-Reply-To: <68CBFC44-9C0A-43D1-A0C2-530207E0762F@FreeBSD.org>
References:  <68CBFC44-9C0A-43D1-A0C2-530207E0762F@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

On 12 Aug 2023, at 15:32, Juraj Lutter wrote:

> Hi,
>
> recent 14.0-ALPHA1 sources is giving an error:
>
> Building /usr/obj/usr/src/arm64.aarch64/obj-lib32/lib/libssp_nonshared/libssp_nonshared.o
> Building /usr/obj/usr/src/arm64.aarch64/obj-lib32/lib/libgcc_eh/int_util.o
> error: unable to create target: 'No available targets are compatible with triple "armv7-unknown-freebsd14.0-gnueabihf"'
> 1 error generated.
> error: unable to create target: 'No available targets are compatible with triple "armv7-unknown-freebsd14.0-gnueabihf"'
> *** [libssp_nonshared.o] Error code 1
>
> Commandline:
> make -j`sysctl -n hw.ncpu` WITH_META_MODE=1 TARGET=arm64 TARGET_ARCH=aarch64 buildworld buildkernel
>
> The build runs in clean objdir, src git hash 220427da0e9b2c1d8e964120becc17eb7524e46f
>
> Host runs 14.0-CURRENT 28d2e3b5dedf
>
> Am I missing something obvious?
> Thanks.

Did the buildworld start out by building a cross-compiler?

Have you tried without meta mode?  With a clean objdir, I don't see how
it would matter, but I'm not sure I've tried it.

The ALPHA1 builds seem to have worked, but I think they run on arm64.

		Mike
> —
> Juraj Lutter
> otis@FreeBSD.org


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0FA5C2F2-6639-4522-AA29-537F596A5F81>