Re: rpath stripping

2022-04-18 Thread Carlos O'Donell
On 4/17/22 10:06, Bob Friesenhahn wrote:
> The libtool I was using (originating from Ubuntu Linux) stripped the
> rpath (which was provided like '-Wl,rpath=/usr/lib') so I was unable
> to embed an rpath in the libcurl I built so that applications linked
> with that libcurl would find it.

I agree with our position.

The behaviour of stripping '-Wl,-rpath' is incorrect.

With new DT_RUNPATH semantics (DT_RPATH being deprecated and binutils having
switched defaults), each shared object, including the binary, must correctly
specify the search path for the immediate needed objects. Stripping this off
will result in incorrectly built shared objects and binaries that don't
operate correctly.

I'm curious what justification is given for this behaviour.

-- 
Cheers,
Carlos.




Re: Libtool roadmap

2022-03-31 Thread Carlos O'Donell
On 3/31/22 11:02, Jeff Squyres (jsquyres) wrote:
> Other than Bob's humorous reply, any comment from the Libtool team?

I'm also interested in any thoughts about the long term roadmap for libtool.

Like you, I think users can ask these questions out of a genuine interest to 
align
downstream development where possible.

Thanks for asking the question Jeff.

-- 
Cheers,
Carlos.