Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2023 15:46:59 -0500
From:      Mike Karels <mike@karels.net>
To:        Juraj Lutter <otis@FreeBSD.org>
Cc:        Mark Millard <marklmi@yahoo.com>, 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:  <277CBF0A-5620-433B-A2CA-045E5ABE3A82@karels.net>
In-Reply-To: <3AE647E3-B988-4387-BF56-A2DB6533B5FD@FreeBSD.org>
References:  <3B0BBEB1-D16C-405A-B2FA-F53022CFC925.ref@yahoo.com> <3B0BBEB1-D16C-405A-B2FA-F53022CFC925@yahoo.com> <3AE647E3-B988-4387-BF56-A2DB6533B5FD@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 Aug 2023, at 15:19, Juraj Lutter wrote:

>> On 13 Aug 2023, at 21:13, Mark Millard <marklmi@yahoo.com> 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 amd64 to target aarch64 with armv7 suppor=
t.
>
> My src.conf:
>
> WITHOUT_PROFILE=3Dyes
> WITHOUT_TESTS=3Dyes
> WITHOUT_STATIC=3Dyes
>
> WITHOUT_LLVM_TARGET_ALL=3Dyes
>
> .if "${TARGET}" =3D=3D "arm64" && "${TARGET_ARCH}" =3D=3D "aarch64"
> KERNCONF?=3DGENERIC-MMCCAM
> REPODIR?=3D/data/poudriere/packages/pkgbase
> MODULES_EXTRA=3D"rpi_ft5406"
> WITH_LLVM_TARGET_AARCH64=3Dyes
> WITH_LLVM_TARGET_ARM=3Dyes
> .else
> KERNCONF?=3DGENERIC-NODEBUG
> REPODIR?=3D/data/poudriere/packages/pkgbase
> WITH_LLVM_TARGET_AARCH64=3Dyes
> WITH_LLVM_TARGET_X86=3Dyes
> .endif

I'm guessing that the problem is in the last section.  When building
to run on amd64, arm may not be included.  I'd try adding
WITH_LLVM_TARGET_ARM=3Dyes there as well.

		Mike

> make.conf is empty, git workdir has `main=E2=80=99 checked out, without=
 any modifications (git status reports clean workdir)
>
> 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?277CBF0A-5620-433B-A2CA-045E5ABE3A82>