bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool, gettext, and HP-UX ia64 shared libraries


From: Ralf Wildenhues
Subject: Re: libtool, gettext, and HP-UX ia64 shared libraries
Date: Thu, 25 Jan 2007 00:18:11 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Bob,

Apologies for the enormous delay.  :-(

* Bob Proulx wrote on Sat, Jan 20, 2007 at 07:50:04PM CET:
> > A while ago I raised an issue trying to build coreutils on HP-UX ia64.
> > 
> >   http://lists.gnu.org/archive/html/bug-gnu-utils/2006-08/msg00083.html
> Let me keep this issue alive and kicking.  Libtool is still broken on
> HP-UX ia64.  But with this change it works.  I just don't know enough
> about libtool to suggest where libtool would need to be modified in
> order to make this a proper fix.
> 
> > Adding -L ../intl/.libs allows this to succeed.  This following
> > command successfully links the test-names program.
> > 
> >   cc -g -o .libs/test-names test-names.o libuniname.a -L ../intl/.libs 
> > ../gnulib-lib/.libs/libgettextlib.so 
> > /usr/local/build/coreutils/src/gettext-0.16.1/gettext-tools/intl/.libs/libintl.so
> >  -lc -Wl,+b -Wl,/usr/local/build/coreutils/lib
> > 
> > Adding a -L path option seems to be required here.

Nope.  I think we fixed this issue in HEAD and branch-1-5 already, but
after 1.5.22.  I think the 2006-06-12 patch [1] on branch-1-5 is the
one you're looking for.  The important difference in your case is that
when creating gettext-tools/gnulib-lib/libgettext.la, in the link
command for .libs/libgettextlib-0.16.1.so, the argument
  +b /tmp/build/gettext-tools/intl/.libs:/prefix/lib

is correctly prefixed with `-Wl,':
  -Wl,+b -Wl,/tmp/build/gettext-tools/intl/.libs:/prefix/lib

I've tested now that with 
  gmake LIBTOOL=/path/to/build-of-libtool-branch-1-5/libtool

the build of gettext-0.16.1 successfully completes on HP-UX ia64.

Yay, another bugger down on the way to 1.5.24 ...

Cheers,
Ralf

[1] http://lists.gnu.org/archive/html/libtool-patches/2006-06/msg00006.html




reply via email to

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