From nobody Sun Aug 13 20:46:59 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RP8j244N2z4q9qn; Sun, 13 Aug 2023 20:47:02 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RP8j21gpnz3fpg; Sun, 13 Aug 2023 20:47:02 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.17.1/8.17.1) with ESMTP id 37DKl0aE039574; Sun, 13 Aug 2023 15:47:00 -0500 (CDT) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1691959621; bh=+edzBFVtHZzCES1wPSGQ8c6auS6PVBfcOz7F3071tOE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=XA3E9pLnndL5EpF8mliTnN6Z8Q1Hw14vyv4DPw+t5M/8lQ0c3rr2qUWXec2XuvtoK 24lWR+0nVy52TKm3grI9i2cSwpkGMKkJArjao+LbiMuSNT9yXwBSq71IqQQ2xJEjTQ OPa1Z5gQdUVJEHAxJf9sFftiVXbvD32AOdtsPUtwo8iuVBN493kJ2qeoOROKWC8I+B 2gwTvTY+36z7DQB+AAptuetzCCie8KwiR/y5d7RK0tlfabLU3Fz4XC8WTPNO7QB6Rh pKaToE3uuLkzMltt1xzRRjoao96ssHPXIcoQBtUrJdoa1G662b+NZpQD0Muz1oyTG6 UmbWSgOOSNzNQ== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id tpkRKERB2WSUmgAAs/W3XQ (envelope-from ); Sun, 13 Aug 2023 15:47:00 -0500 From: Mike Karels To: Juraj Lutter Cc: Mark Millard , FreeBSD Toolchain , Current FreeBSD Subject: Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64 Date: Sun, 13 Aug 2023 15:46:59 -0500 X-Mailer: MailMate (1.14r5964) 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> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4RP8j21gpnz3fpg X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.16.0.0/14, country:US] 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, 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