* 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 _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool