Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2023 10:17:16 -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:  <5B72C521-91B9-40AF-8FEC-8A8B687F6A3D@karels.net>
In-Reply-To: <81A42C4C-2A83-4D9B-A291-EBB360D06AD3@FreeBSD.org>
References:  <68CBFC44-9C0A-43D1-A0C2-530207E0762F@FreeBSD.org> <0FA5C2F2-6639-4522-AA29-537F596A5F81@karels.net> <8A772467-B246-4C6B-AD7E-81AD16903196@FreeBSD.org> <ADBC05FC-E963-49E9-8C7B-737607309F5A@FreeBSD.org> <CD57F058-0A74-4EE8-ABE5-7F186A566F62@karels.net> <81A42C4C-2A83-4D9B-A291-EBB360D06AD3@FreeBSD.org>

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

On 13 Aug 2023, at 10:00, Juraj Lutter wrote:

>> On 13 Aug 2023, at 16:55, Mike Karels <mike@karels.net> wrote:
>>
>>
>> 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 w=
as
>> approximately at the level of ALPHA1, and the first lines of the outpu=
t
>> showed that a cross-compiler was not needed.  However, my earlier buil=
ds
>> that required a cross-compiler worked fine.
>>
>
> Earlier builds worked for me as well. I use it for =E2=80=9Cmake packag=
es=E2=80=9D that I use to upgrade my RPi.
>
> It definitely worked on 20230712 when I did the build last time.

That was before the lib32 addition went in (20230725).

		Mike

>> Yes, lib32 is supposed to be built on aarch64 as of a few weeks ago.
>>
>>> So it seems that =E2=80=9Cnative-xtools=E2=80=9D and associated targe=
ts are not being built.
>>> If I do =E2=80=9Cmake TARGET=3Darm64 TARGET_ARCH=3Daarch64 native-xto=
ols=E2=80=9D, cross tools are
>>> being built and lib32 is built, in turn, also.
>>
>> I don't see native-xtools built either. but the build worked.
>>
>> Have you checked src.conf?
>
> Yes, I only have KERNCONF there. I will try with eafd028327cee688b54bc5=
26e088c2a3b98f94e0 backed out
> to see if it will make any difference.
>
> otis
>
>
> =E2=80=94
> Juraj Lutter
> otis@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5B72C521-91B9-40AF-8FEC-8A8B687F6A3D>