Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64
- In reply to: Juraj Lutter : "Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Aug 2023 20:46:59 UTC
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 support. > > My src.conf: > > WITHOUT_PROFILE=yes > WITHOUT_TESTS=yes > WITHOUT_STATIC=yes > > WITHOUT_LLVM_TARGET_ALL=yes > > .if "${TARGET}" == "arm64" && "${TARGET_ARCH}" == "aarch64" > KERNCONF?=GENERIC-MMCCAM > REPODIR?=/data/poudriere/packages/pkgbase > MODULES_EXTRA="rpi_ft5406" > WITH_LLVM_TARGET_AARCH64=yes > WITH_LLVM_TARGET_ARM=yes > .else > KERNCONF?=GENERIC-NODEBUG > REPODIR?=/data/poudriere/packages/pkgbase > WITH_LLVM_TARGET_AARCH64=yes > WITH_LLVM_TARGET_X86=yes > .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=yes there as well. Mike > make.conf is empty, git workdir has `main’ checked out, without any modifications (git status reports clean workdir) > > otis > > — > Juraj Lutter > otis@FreeBSD.org