Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Mark Millard
On Aug 13, 2023, at 14:37, Juraj Lutter wrote: > On 13 Aug 2023, at 23:13, Mark Millard wrote: >> >> On Aug 13, 2023, at 14:01, Mark Millard wrote: >> >>> On Aug 13, 2023, at 13:19, Juraj Lutter wrote: >>> > On 13 Aug 2023, at 21:13, Mark Millard wrote: > > But the offical CI

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Juraj Lutter
> On 13 Aug 2023, at 23:13, Mark Millard wrote: > > On Aug 13, 2023, at 14:01, Mark Millard wrote: > >> On Aug 13, 2023, at 13:19, Juraj Lutter wrote: >> On 13 Aug 2023, at 21:13, Mark Millard wrote: But the offical CI builds on amd64 do not have the problem.

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Mark Millard
On Aug 13, 2023, at 14:01, Mark Millard wrote: > On Aug 13, 2023, at 13:19, Juraj Lutter wrote: > >>> On 13 Aug 2023, at 21:13, Mark Millard wrote: >>> >>> But the offical CI builds on amd64 do not have the problem. >>> >>> We still have not found what is different about your context from

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Mark Millard
On Aug 13, 2023, at 13:19, Juraj Lutter wrote: >> On 13 Aug 2023, at 21:13, Mark Millard wrote: >> >> 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

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Mike Karels
On 13 Aug 2023, at 15:19, Juraj Lutter wrote: >> On 13 Aug 2023, at 21:13, Mark Millard wrote: >> >> 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,

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Juraj Lutter
> On 13 Aug 2023, at 21:13, Mark Millard wrote: > > 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

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Mark Millard
Juraj Lutter wrote on Date: Sun, 13 Aug 2023 17:49:16 UTC : > > On 13 Aug 2023, at 17:22, Juraj Lutter wrote: > > > > > > > >> On 13 Aug 2023, at 17:17, Mike Karels wrote: > >> > >> > >> On 13 Aug 2023, at 10:00, Juraj Lutter wrote: > >> > On 13 Aug 2023, at 16:55, Mike Karels

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Juraj Lutter
> On 13 Aug 2023, at 19:50, Mark Millard wrote: > > So it still looks to me like a build infrastructure problem: > it did not do what it said it would do. I've no clue about > why at this point. > > I'll note that clang and lld do not get per-target builds like > gcc does. "bootstrap" means

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Mark Millard
On Aug 13, 2023, at 10:10, Juraj Lutter wrote: > Mark, > >> On 13 Aug 2023, at 19:04, Mark Millard wrote: >> >> No arm64.aarch64/tmp/ SYSTEM_COMPILER or SYSTEM_LINKER bootstrap >> compiler/linker were built. >> >> From what I can tell, this leads to: >> >> cc -march=armv7 -m32 -target

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Juraj Lutter
> On 13 Aug 2023, at 17:22, Juraj Lutter wrote: > > > >> On 13 Aug 2023, at 17:17, Mike Karels wrote: >> >> >> On 13 Aug 2023, at 10:00, Juraj Lutter wrote: >> On 13 Aug 2023, at 16:55, Mike Karels wrote: lib32 is not built until stage 4.3.1, after build and cross

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Juraj Lutter
Mark, > On 13 Aug 2023, at 19:04, Mark Millard wrote: > > No arm64.aarch64/tmp/ SYSTEM_COMPILER or SYSTEM_LINKER bootstrap > compiler/linker were built. > > From what I can tell, this leads to: > > cc -march=armv7 -m32 -target armv7-unknown-freebsd14.0-gnueabihf > -DCOMPAT_LIBCOMPAT=\"32\"

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Mark Millard
Juraj Lutter wrote on Date: Sun, 13 Aug 2023 12:42:45 UTC : > > On 13 Aug 2023, at 00:17, Mike Karels wrote: > > > > On 12 Aug 2023, at 15:32, Juraj Lutter wrote: > > > > Did the buildworld start out by building a cross-compiler? > > > > Have you tried without meta mode? With a clean objdir,

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Juraj Lutter
> On 13 Aug 2023, at 17:17, Mike Karels wrote: > > > On 13 Aug 2023, at 10:00, Juraj Lutter wrote: > >>> On 13 Aug 2023, at 16:55, Mike Karels 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

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Mike Karels
On 13 Aug 2023, at 10:00, Juraj Lutter wrote: >> On 13 Aug 2023, at 16:55, Mike Karels 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

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Juraj Lutter
> On 13 Aug 2023, at 16:55, Mike Karels 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

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Warner Losh
On Sun, Aug 13, 2023, 8:55 AM Mike Karels wrote: > On 13 Aug 2023, at 9:25, Juraj Lutter wrote: > > >> On 13 Aug 2023, at 14:42, Juraj Lutter wrote: > >> > >> Hi, > >> > >>> On 13 Aug 2023, at 00:17, Mike Karels wrote: > >>> > >>> On 12 Aug 2023, at 15:32, Juraj Lutter wrote: > >>> > >>> Did

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Mike Karels
On 13 Aug 2023, at 9:25, Juraj Lutter wrote: >> On 13 Aug 2023, at 14:42, Juraj Lutter wrote: >> >> Hi, >> >>> On 13 Aug 2023, at 00:17, Mike Karels wrote: >>> >>> On 12 Aug 2023, at 15:32, Juraj Lutter wrote: >>> >>> Did the buildworld start out by building a cross-compiler? >>> >>> Have you

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Juraj Lutter
> On 13 Aug 2023, at 14:42, Juraj Lutter wrote: > > Hi, > >> On 13 Aug 2023, at 00:17, Mike Karels wrote: >> >> On 12 Aug 2023, at 15:32, Juraj Lutter wrote: >> >> Did the buildworld start out by building a cross-compiler? >> >> Have you tried without meta mode? With a clean objdir, I

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Juraj Lutter
Hi, > On 13 Aug 2023, at 00:17, Mike Karels wrote: > > On 12 Aug 2023, at 15:32, Juraj Lutter wrote: > > 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. >

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-12 Thread Mark Millard
Mike Karels wrote on Date: Sat, 12 Aug 2023 22:17:39 UTC : 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

RE: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-12 Thread Mark Millard
Juraj Lutter wrote on Date: Sat, 12 Aug 2023 20:32:53 UTC : > 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:

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-12 Thread Mike Karels
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

Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-12 Thread Juraj Lutter
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