Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2023 19:10:16 +0200
From:      Juraj Lutter <otis@FreeBSD.org>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        Current FreeBSD <freebsd-current@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, Mike Karels <mike@karels.net>
Subject:   Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64
Message-ID:  <3D94C0A3-0231-4C04-8C69-5516A4A41B03@FreeBSD.org>
In-Reply-To: <2A8F9F90-B03C-4A7B-9B03-B54386CEBBAE@yahoo.com>
References:  <2A8F9F90-B03C-4A7B-9B03-B54386CEBBAE.ref@yahoo.com> <2A8F9F90-B03C-4A7B-9B03-B54386CEBBAE@yahoo.com>

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

Mark,

> On 13 Aug 2023, at 19:04, Mark Millard <marklmi@yahoo.com> 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\"  -DCOMPAT_libcompat=\"32\"  -DCOMPAT_LIB32  --sysroot=/usr/obj/usr/src/arm64.aarch64/tmp  -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/lib32  -O2 -pipe -fno-common -fPIC  -g -gz=zlib -MD  -MF.depend.libssp_nonshared.o -MTlibssp_nonshared.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter  -Qunused-arguments    -c /usr/src/lib/libssp_nonshared/libssp_nonshared.c -o libssp_nonshared.o
> 
> using the pre-existing system compiler that, in your context, gets:
> 
> error: unable to create target: 'No available targets are compatible with triple "armv7-unknown-freebsd14.0-gnueabihf"'
> 1 error generated.
> 

True, exactly the same error I’m getting.

> 
> I doubt that "make package" was tested for being able to handle
> the lib32 addition to aarch64 builds for SYSTEM_COMPILER or
> SYSTEM_LINKER bootstrap cases.
> 

I’m getting it in buildworld, not in packages (it does not come to packages target)

otis

—
Juraj Lutter
otis@FreeBSD.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D94C0A3-0231-4C04-8C69-5516A4A41B03>