Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2020 22:28:32 +0000
From:      Brooks Davis <brooks@freebsd.org>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        FreeBSD ports <freebsd-ports@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:  <20200219222831.GB27291@spindle.one-eyed-alien.net>
In-Reply-To: <4D620241-A689-4A01-8BF5-C2958A6E13AA@yahoo.com>
References:  <748AD052-A5DE-4BF8-8555-AF5ED9C558D1@yahoo.com> <AF7B5211-5639-4F56-8563-69CBED90C78F@yahoo.com> <4D620241-A689-4A01-8BF5-C2958A6E13AA@yahoo.com>

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

--ftEhullJWpWg/VHq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
> > 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<=
phase: 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.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
> >>=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 se=
lect 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
>=20
> llvm10-10.0.0.r2 gets the same.
>=20
> I was curious what the libarcher* files would be tied to
> and found that libarcher is a tool library for an llvm
> openmp tool.
>=20
> 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.
>=20
> =3D=3D=3D
> Mark Millard
> marklmi at yahoo.com
> ( dsl-only.net went
> away in early 2018-Mar)
>=20

--ftEhullJWpWg/VHq
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJeTbaPAAoJEKzQXbSebgfAnMoIAImYZqbmNyYKZgV8Hnc0YkBe
RtyCkX5lWdMYygorL7xEIN8pdkShQVFdsQDjheypjeWb1na26U6R2623/EDtAIM5
sRbgE5oqy3EZSZsLLMwMOQ7hMyr3X1D48y704pbrSEQdE5VsLrV2ANk3ELdo06mG
dBfZ2wJpgF7TRL/mCyP20RwF2Tm2P5n0DsNDavO+qaYhfVsgl9OZl0vtvhrsnfeT
w/NtKp4vBigqb+e1LfbVEiYt8jGjfAdtLQ9lzvMEBtifAuZSLMnA3DO8l4qkgeGM
Uu8QcxjnHP1laMbDx2MKvpz/9dtFWsXzzRN8vAWusvqP5QhsCRYofOVL3bd1c1o=
=SJ6y
-----END PGP SIGNATURE-----

--ftEhullJWpWg/VHq--



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