tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: gcc*-libs help needed: rpath needs fixing
On Mon, Sep 02, 2024 at 06:11:18PM +0200, Rhialto wrote:
> On Fri 30 Aug 2024 at 19:25:44 +0200, Thomas Klausner wrote:
> > The gcc*-libs packages (used when USE_PKGSRC_GCC_RUNTIME is set, to
> > avoid pulling in the corresponding big gcc* package) are currently
> > done by just repackaging the libraries included in the corresponding
> > gcc* base package; but they are installed in a different location.
>
> Another thing I noticed in my installation, was that packages compiled
> with the gcc12 package, and then installed on my laptop without gcc12
> but with gcc12-libs, still didn't find some of the libraries. The RPATH
> built into the using packages seemed to be incorrect.
>
> I wanted to look deeper into it to see if it was some kind of operator
> error or what, but for this case I want to mention it.
>
> For example, /usr/pkg/bin/pan (from news/pan) has as RPATH
>
> /usr/pkg/gcc12/x86_64--netbsd/lib/.
This looks like the gcc12-libs path corresponding to
/usr/pkg/gcc12/lib in the gcc12 package.
> /usr/pkg/gcc12/lib/gcc/x86_64--netbsd/12.3.0
This is a different path with different files from the gcc12 package.
The gcc12-libs equivalent would be
/usr/pkg/gcc12/x86_64--netbsd/lib/gcc/x86_64--netbsd/12.3.0 but only
the 'plugin' directory below that contains libraries (in both
packages).
So this looks to me like the original rpath rewrite was incomplete,
because it left this path alone.
Thomas
Home |
Main Index |
Thread Index |
Old Index