bug-libtool
[Top][All Lists]
Advanced

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

HP-UX 11.00: missing "-Wl," with -b and +b


From: Johannes Abt
Subject: HP-UX 11.00: missing "-Wl," with -b and +b
Date: Thu, 3 Aug 2006 19:17:58 +0200
User-agent: Mutt/1.5.9i

Hi,

I'm trying to compile glib-2.10.3 on HP-UX 11.00 with the HP compiler
suite. glib-2.10.3 comes with (ltmain)VERSION=1.5.22.
config.guess: hppa2.0w-hp-hpux11.00

libtool tries to pass linker options like '-b' or '+b' to the compiler
instead of calling the linker or using the prefix "-Wl,".

example:
/usr/local/bin/bash ../libtool --mode=link cc -Ae +DAportable -D_HPUX_SOURCE
-I/usr/local/gettext/include -I/usr/local/gtk2/include  -g
-L/usr/local/gtk2/lib
-Wl,+b,/usr/local/gtk2/lib:/usr/local/gettext/lib:/usr/local/lib
-L/usr/local/gettext/lib -Wl,+b,/usr/local/gettext/lib:/usr/local/lib
-L/usr/local/lib -Wl,+b,/usr/local/lib -o libglib-2.0.la -rpath
/usr/local/gtk2/lib  -version-info 1000:3:1000 -export-dynamic
-export-symbols-regex "^[^_].*" garray.lo gasyncqueue.lo [..]    -l intl

executes:
rm -fr  .libs/libglib-2.0.exp .libs/libglib-2.0.lax .libs/libglib-2.0.sl.1000.3
generating symbol list for `libglib-2.0.la'
[..]
cc -Ae +DAportable -D_HPUX_SOURCE -I/usr/local/gettext/include
-I/usr/local/gtk2/include -b -Wl,+h -Wl,libglib-2.0.sl.1000 -Wl,+b
-Wl,/usr/local/gtk2/lib [..]

result:
cc: warning 422: Unknown option "b" ignored.
/usr/ccs/bin/ld: Unsatisfied symbols:
   main (Not referenced yet! Probably due to -u option)

glib-1.8.6 (with libtool 1.5.18) works.

Sorry, I cannot provide a fix.

Bye,
Johannes
-- 
Johannes Abt                      science + computing ag
Software Solutions                    Hagellocher Weg 73
phone +49 7071 9457 234         72070 Tuebingen, Germany
fax   +49 7071 9457 211         www.science-computing.de

Attachment: configure.log
Description: Text document


reply via email to

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