Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2023 12:13:20 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Juraj Lutter <otis@freebsd.org>, Mike Karels <mike@karels.net>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64
Message-ID:  <3B0BBEB1-D16C-405A-B2FA-F53022CFC925@yahoo.com>
References:  <3B0BBEB1-D16C-405A-B2FA-F53022CFC925.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Juraj Lutter <otis_at_FreeBSD.org> wrote on
Date: Sun, 13 Aug 2023 17:49:16 UTC :

> > On 13 Aug 2023, at 17:22, Juraj Lutter <otis@FreeBSD.org> wrote:
> >=20
> >=20
> >=20
> >> On 13 Aug 2023, at 17:17, Mike Karels <mike@karels.net> wrote:
> >>=20
> >>=20
> >> On 13 Aug 2023, at 10:00, Juraj Lutter wrote:
> >>=20
> >>>> On 13 Aug 2023, at 16:55, Mike Karels <mike@karels.net> wrote:
> >>>>=20
> >>>>=20
> >>>> lib32 is not built until stage 4.3.1, after build and cross =
tools. I tested
> >>>> a build just now on amd64 with empty /usr/obj, and it worked =
(make -j$NCU
> >>>> buildworld TARGET=3Darm64 TARGET_ARCH=3Daarch64). However, the =
host was
> >>>> approximately at the level of ALPHA1, and the first lines of the =
output
> >>>> showed that a cross-compiler was not needed. However, my earlier =
builds
> >>>> that required a cross-compiler worked fine.
> >>>>=20
> >>>=20
> >>> Earlier builds worked for me as well. I use it for =E2=80=9Cmake =
packages=E2=80=9D that I use to upgrade my RPi.
> >>>=20
> >>> It definitely worked on 20230712 when I did the build last time.
> >>=20
> >> That was before the lib32 addition went in (20230725).
> >=20
> > Yeah, that=E2=80=99s why I will try with commit just before =
eafd028327cee688b54bc526e088c2a3b98f94e0 or
> > with eafd028327cee688b54bc526e088c2a3b98f94e0 backed out to see if =
it will help.
>=20
> To me it seems that f1d5183124d3e18d410ded61e45adb9a23b23c83 is the =
commit that broke it.
> I did =E2=80=9Cgit revert=E2=80=9D on that single commit, these were =
rebuilt:
>=20
> Building =
/usr/obj/usr/src/arm64.aarch64/tmp/obj-tools/lib/clang/libllvmminimal/Supp=
ort/Path.o
> Building =
/usr/obj/usr/src/arm64.aarch64/tmp/obj-tools/lib/clang/libllvmminimal/Supp=
ort/Signals.o
> Building =
/usr/obj/usr/src/arm64.aarch64/tmp/obj-tools/lib/clang/libllvmminimal/libl=
lvmminimal.a
>=20
> And cross tools started to build as well.

But the offical CI builds on amd64 do not have the problem.

We still have not found what is different about your context from the
standard context used for CI builds and snapshot builds, all of which
have worked find building on amd64 to target aarch64 with armv7 support.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B0BBEB1-D16C-405A-B2FA-F53022CFC925>