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

Mark Millard marklmi at yahoo.com
Tue Feb 18 04:19:36 UTC 2020


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)



More information about the freebsd-ports mailing list