From nobody Thu Mar 17 17:55:37 2022 X-Original-To: freebsd-toolchain@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 EA8321A32ACB; Thu, 17 Mar 2022 17:55:44 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KKFDb53h1z4g8v; Thu, 17 Mar 2022 17:55:43 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 85C4A3C0199; Thu, 17 Mar 2022 17:55:37 +0000 (UTC) Date: Thu, 17 Mar 2022 17:55:37 +0000 From: Brooks Davis To: Mark Millard Cc: freebsd-ports@freebsd.org, FreeBSD Toolchain Subject: Re: aarch64 native context, devel/llvm14 build via poudriere-devel: build fails during "Building package for llvm14-14.0.0.r2" (armv7 too) Message-ID: <20220317175537.GE22269@spindle.one-eyed-alien.net> References: <54357179-F400-4D67-9636-E05D2171BAC5@yahoo.com> List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JgQwtEuHJzHdouWu" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 4KKFDb53h1z4g8v X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-0.01 / 15.00]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; FREEFALL_USER(0.00)[brooks]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.984]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; ARC_NA(0.00)[]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.90)[0.898]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.98)[0.981]; MLMMJ_DEST(0.00)[freebsd-ports,freebsd-toolchain]; FREEMAIL_TO(0.00)[yahoo.com]; RCVD_COUNT_ZERO(0.00)[0]; SIGNED_PGP(-2.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net] X-ThisMailContainsUnwantedMimeParts: N --JgQwtEuHJzHdouWu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thank you for the reports. I think I know what the issues are and am working on fixes. I believe using BE_STANDARD will work as a workaround. -- Brooks On Wed, Mar 16, 2022 at 05:01:37PM -0700, Mark Millard wrote: >=20 >=20 > On 2022-Mar-15, at 17:47, Mark Millard wrote: >=20 > > Based on trying to update to (from before devel/llvm-14 was present): > >=20 > > # ~/fbsd-based-on-what-commit.sh -C /usr/ports/ > > branch: main > > merge-base: 0c4fe38bd1b9e3ede128751db17a8a2d1bdffe6f > > merge-base: CommitDate: 2022-03-15 16:15:33 +0000 > > 0c4fe38bd1b9 (HEAD -> main, freebsd/main, freebsd/HEAD) misc/urh: Updat= e 2.9.2 -> 2.9.3 > > n577366 (--first-parent --count for merge-base) > >=20 > > via: > > # poudriere jail -j13_0R-CA72 -i > > Jail name: 13_0R-CA72 > > Jail version: 13.0-RELEASE-p7 > > Jail arch: arm64.aarch64 > > Jail method: null > > Jail mount: /usr/obj/DESTDIRs/13_0R-CA72-poud > > Jail fs: =20 > > Jail updated: 2022-03-13 22:41:31 > > Jail pkgbase: disabled > >=20 > > Using: > >=20 > > ---Begin OPTIONS List--- > > =3D=3D=3D> The following configuration options are available for llvm14= -14.0.0.r2: > > BE_AMDGPU=3Don: AMD GPU backend (required by mesa) > > BE_WASM=3Doff: WebAssembly backend (required by firefox via wasi) > > CLANG=3Don: Build clang > > DOCS=3Don: Build and/or install documentation > > EXTRAS=3Don: Extra clang tools > > FLANG=3Doff: Flang FORTRAN compiler > > LIT=3Don: Install lit and FileCheck test tools > > LLD=3Don: Install lld, the LLVM linker > > LLDB=3Don: Install lldb, the LLVM debugger > > MLIR=3Don: Multi-Level Intermediate Representation > > OPENMP=3Don: Install libomp, the LLVM OpenMP runtime library > > PYCLANG=3Doff: Install python bindings to libclang > > =3D=3D=3D=3D> Options available for the single BACKENDS: you have to se= lect exactly one of them > > BE_FREEBSD=3Doff: Backends for FreeBSD architectures > > BE_NATIVE=3Don: Backend(s) for this architecture (AArch64) > > BE_STANDARD=3Doff: All non-experimental backends > >=20 > > the build failed with: > >=20 > > =3D=3D=3D> Building package for llvm14-14.0.0.r2 > > pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/= stage/usr/local/llvm14/lib/clang/14.0.0/include/riscv_vector.h:No such file= or directory > > pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/= stage/usr/local/llvm14/lib/libLLVMVEAsmParser.a:No such file or directory > > pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/= stage/usr/local/llvm14/lib/libLLVMVECodeGen.a:No such file or directory > > pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/= stage/usr/local/llvm14/lib/libLLVMVEDesc.a:No such file or directory > > pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/= stage/usr/local/llvm14/lib/libLLVMVEDisassembler.a:No such file or directory > > pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/= stage/usr/local/llvm14/lib/libLLVMVEInfo.a:No such file or directory > > *** Error code 1 >=20 > main [so: 14] also got that: >=20 > # poudriere jail -jmain-CA72 -i > Jail name: main-CA72 > Jail version: 14.0-CURRENT > Jail arch: arm64.aarch64 > Jail method: null > Jail mount: /usr/obj/DESTDIRs/main-CA72-poud > Jail fs: =20 > Jail updated: 2021-06-27 17:48:11 > Jail pkgbase: disabled >=20 >=20 > Targeting armv7 (on harware that supports aarch32/armv7 > directly, in addition to aarch64) also got that result: >=20 > # poudriere jail -jmain-CA7 -i > Jail name: main-CA7 > Jail version: 14.0-CURRENT > Jail arch: arm.armv7 > Jail method: null > Jail mount: /usr/obj/DESTDIRs/main-CA7-poud > Jail fs: =20 > Jail updated: 2021-06-27 17:58:33 > Jail pkgbase: disabled >=20 > The armv7 style build failed with: >=20 > =3D=3D=3D> Building package for llvm14-14.0.0.r2 > pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/st= age/usr/local/llvm14/lib/clang/14.0.0/include/riscv_vector.h:No such file o= r directory > pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/st= age/usr/local/llvm14/lib/libLLVMVEAsmParser.a:No such file or directory > pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/st= age/usr/local/llvm14/lib/libLLVMVECodeGen.a:No such file or directory > pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/st= age/usr/local/llvm14/lib/libLLVMVEDesc.a:No such file or directory > pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/st= age/usr/local/llvm14/lib/libLLVMVEDisassembler.a:No such file or directory > pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm14/work/st= age/usr/local/llvm14/lib/libLLVMVEInfo.a:No such file or directory > *** Error code 1 >=20 > For reference: >=20 > These were all based on the same OPTIONS selections, > although armv7 contexts likely ignore ones that do not > apply. So, looking in armv7's log file: >=20 > ---Begin OPTIONS List--- > =3D=3D=3D> The following configuration options are available for llvm14-1= 4.0.0.r2: > BE_AMDGPU=3Don: AMD GPU backend (required by mesa) > BE_WASM=3Doff: WebAssembly backend (required by firefox via wasi) > CLANG=3Don: Build clang > DOCS=3Don: Build and/or install documentation > EXTRAS=3Don: Extra clang tools > LIT=3Don: Install lit and FileCheck test tools > LLD=3Don: Install lld, the LLVM linker > LLDB=3Don: Install lldb, the LLVM debugger > MLIR=3Don: Multi-Level Intermediate Representation > PYCLANG=3Doff: Install python bindings to libclang > =3D=3D=3D=3D> Options available for the single BACKENDS: you have to sele= ct exactly one of them > BE_FREEBSD=3Doff: Backends for FreeBSD architectures > BE_NATIVE=3Don: Backend(s) for this architecture (ARM) > BE_STANDARD=3Doff: All non-experimental backends >=20 >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com >=20 --JgQwtEuHJzHdouWu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJiM3YYAAoJEKzQXbSebgfAP68IAJNsS9MZVLibn1jhDJdnS/PV yhZel6k/8o5HZAwxQ3fO6TTud8+gIlNaO2w9fZsgmctewheMt/CHEoO6IMwKb1bG CxIhXOfUrwIP4pgUX0RRSyQ9xO/wufJdPLLF4DEP0/TNdsfRx3pdCvZ5lIO7fG0D DQGczEt6ZhtLlH0y3/AGTvDkTvYEN8ZhVy473WuXkW7OoumvrsZzG+yW41ecV232 wJ73UJyjp+xPehK5zD1f+ldLQC+32ntAde/2azMSpC/5b6Jat5WVk5emcK36JqSB 24PduFkgRHt4YqfxJpGFB02CPjl7HQZIV7EbOVLtt72vLtcq7ELPxn70//VltjI= =UU3k -----END PGP SIGNATURE----- --JgQwtEuHJzHdouWu--