Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64
Date: Sun, 13 Aug 2023 15:17:16 UTC
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=arm64 TARGET_ARCH=aarch64). 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. >> > > Earlier builds worked for me as well. I use it for “make packages” 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 “native-xtools” and associated targets are not being built. >>> If I do “make TARGET=arm64 TARGET_ARCH=aarch64 native-xtools”, 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 eafd028327cee688b54bc526e088c2a3b98f94e0 backed out > to see if it will make any difference. > > otis > > > — > Juraj Lutter > otis@FreeBSD.org