Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2022 17:55:37 +0000
From:      Brooks Davis <brooks@freebsd.org>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        freebsd-ports@freebsd.org, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
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>
In-Reply-To: <E141ED4F-77E4-4377-AACD-62E6856EDD44@yahoo.com>
References:  <54357179-F400-4D67-9636-E05D2171BAC5@yahoo.com> <E141ED4F-77E4-4377-AACD-62E6856EDD44@yahoo.com>

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

--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 <marklmi@yahoo.com> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220317175537.GE22269>