amd64->{armv7,aarc64} cross builds of devel/llvm10 (via poudriere-devel): failed in package stage for missing libarcher* files

Brooks Davis brooks at freebsd.org
Wed Feb 19 22:28:46 UTC 2020


Fixed in r526532.  Thanks for the hint that it was in OPENMP.

-- Brooks

On Mon, Feb 17, 2020 at 08:19:26PM -0800, Mark Millard wrote:
> 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:
> > 
> >> [The native arm64 build worked fine. But the cross builds
> >> got . . .]
> >> 
> >> The builds failed with:
> >> 
> >> ====> Compressing man pages (compress-man)
> >> ===>   Installing ldconfig configuration file
> >> ===========================================================================
> >> =======================<phase: package        >============================
> >> ===>  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.so:No such file or directory
> >> pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm10/work/stageusr/local/llvm10/lib/libarcher_static.a:No such file or directory
> >> *** Error code 1
> >> 
> >> Stop.
> >> make: stopped in /usr/ports/devel/llvm10
> >> =>> Cleaning up wrkdir
> >> ===>  Cleaning for llvm10-10.0.0.r1_1
> >> 
> >> 
> >> head -r3577979 based system source; head -r536339 based ports tree.
> >> 
> > 
> > I forgot to list:
> > 
> > ===> The following configuration options are available for llvm10-10.0.0.r1_1:
> >     BE_AMDGPU=on: AMD GPU backend (required by mesa)
> >     CLANG=on: Build clang
> >     DOCS=on: Build and/or install documentation
> >     EXTRAS=on: Extra clang tools
> >     LIT=on: Install lit and FileCheck test tools
> >     LLD=on: Install lld, the LLVM linker
> >     LLDB=on: Install lldb, the LLVM debugger
> >     LLD_LINK=on: Link ld.lld as ld to clang uses it
> >     PYCLANG=off: Install python bindings to libclang
> > ====> Options available for the single BACKENDS: you have to select exactly one of them
> >     BE_FREEBSD=off: Backends for FreeBSD architectures
> >     BE_NATIVE=on: Backend(s) for this architecture (ARM)
> >     BE_STANDARD=off: All non-experimental backends
> > 
> 
> 
> 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.
> 
> ===
> Mark Millard
> marklmi at yahoo.com
> ( dsl-only.net went
> away in early 2018-Mar)
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20200219/5f969ab6/attachment.sig>


More information about the freebsd-ports mailing list