Date: Mon, 17 Feb 2020 20:19:26 -0800 From: Mark Millard <marklmi@yahoo.com> To: FreeBSD ports <freebsd-ports@freebsd.org>, Brooks Davis <brooks@FreeBSD.org> Subject: Re: amd64->{armv7,aarc64} cross builds of devel/llvm10 (via poudriere-devel): failed in package stage for missing libarcher* files Message-ID: <4D620241-A689-4A01-8BF5-C2958A6E13AA@yahoo.com> In-Reply-To: <AF7B5211-5639-4F56-8563-69CBED90C78F@yahoo.com> References: <748AD052-A5DE-4BF8-8555-AF5ED9C558D1@yahoo.com> <AF7B5211-5639-4F56-8563-69CBED90C78F@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-Feb-17, at 09:56, Mark Millard <marklmi at yahoo.com> wrote: > On 2020-Feb-17, at 09:53, Mark Millard <marklmi at yahoo.com> wrote: >=20 >> [The native arm64 build worked fine. But the cross builds >> got . . .] >>=20 >> The builds failed with: >>=20 >> =3D=3D=3D=3D> Compressing man pages (compress-man) >> =3D=3D=3D> Installing ldconfig configuration file >> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<p= hase: package >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> =3D=3D=3D> Building package for llvm10-10.0.0.r1_1 >> pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/llvm10/work/stageusr/local/llvm10/lib/libarcher.s= o:No such file or directory >> pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/llvm10/work/stageusr/local/llvm10/lib/libarcher_s= tatic.a:No such file or directory >> *** Error code 1 >>=20 >> Stop. >> make: stopped in /usr/ports/devel/llvm10 >> =3D>> Cleaning up wrkdir >> =3D=3D=3D> Cleaning for llvm10-10.0.0.r1_1 >>=20 >>=20 >> head -r3577979 based system source; head -r536339 based ports tree. >>=20 >=20 > I forgot to list: >=20 > =3D=3D=3D> The following configuration options are available for = llvm10-10.0.0.r1_1: > BE_AMDGPU=3Don: AMD GPU backend (required by mesa) > 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 > LLD_LINK=3Don: Link ld.lld as ld to clang uses it > PYCLANG=3Doff: Install python bindings to libclang > =3D=3D=3D=3D> Options available for the single BACKENDS: you have to = select 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 llvm10-10.0.0.r2 gets the same. I was curious what the libarcher* files would be tied to and found that libarcher is a tool library for an llvm openmp tool. But openmp does not seem to be available for armv7 or aarch64 so the file is not expected to be present for installation, much like libgomp.so , liniomp5.so , libomp.so , and libomptarget.so . Looks like a %%OPENMP%% prefix is needed in llvm10/pkg-plist for each of the two libarcher lines. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D620241-A689-4A01-8BF5-C2958A6E13AA>