libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hardcode_minus_L on HP-UX 11.23/IA-64


From: Ralf Wildenhues
Subject: Re: hardcode_minus_L on HP-UX 11.23/IA-64
Date: Sat, 5 Nov 2005 08:02:30 +0100
User-agent: Mutt/1.5.9i

* Albert Chin wrote on Fri, Nov 04, 2005 at 07:19:39PM CET:
> On Fri, Nov 04, 2005 at 05:38:20PM +0100, Ralf Wildenhues wrote:
> > * Albert Chin wrote on Thu, Nov 03, 2005 at 04:09:03AM CET:
> > > 
> > > So, hardcode_minus_L=yes is incorrect on this platform if
> > > +nodefaultrpath is in LDFLAGS.
> > 
> > ACK.  Or when we put at least one +b in the command line.
> > Hmm, when creating a library, we use +b anyway.
> 
> Yes. But, if the LDFLAGS="-L[path]", we're screwed without
> +nodefaultrpath.

Ah, yes.  D'oh.

> I've submitted a patch so that on ia64*, we use
> +nodefaultrpath when creating libraries.

Thank you.

> > > Should we set hardcode_minus_L=yes only
> > > when there is no +nodefaultrpath (similar to how we set
> > > aix_use_runtimelinking=yes when LDFLAGS has -brtl in it)?
> > 
> > Probably a good idea.  Do you have access to HP-UX 11 (how about 9, 10?)
> > to test?
> 
> 11.23/PA ld(1) doesn't document +nodefaultrpath, 11.00/PA documents it
> for 32-bit SOM, and 11.11/PA documents it for 64-bit ELF. Probably a
> new feature that requires an updated linker patch.

Thanks for checking this.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]