bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool-1.5.18


From: Ralf Wildenhues
Subject: Re: libtool-1.5.18
Date: Mon, 1 Aug 2005 15:41:04 +0200
User-agent: Mutt/1.4.1i

Hi Pamela,

Sorry for the late response, and thank you for the bug report.

* Pamela.Ray wrote on Wed, Jul 20, 2005 at 08:38:10PM CEST:
> Pamela.Ray wrote:
> 
> >on solaris 8 and 9, built with gcc 3.4.3
> >and latest autoconf and automake
> >
> >FAIL: hardcode.test
> >
> >1 of 111 tests failed
*snip*
> [531]$ ./hardcode.test
> === Running hardcode.test
> = Running make hardcode in ../demo
> You may ignore any linking errors from the following command:
> /tps/bin/gcc -mcpu=v9 -L/tps/lib -R/tps/lib -o hc-direct main.o 
> ./.libs/libhello.so  -lm -R/export/build/libtool-1.5.18/tests/_inst/lib 
> || echo unsupported > hc-direct
> /tps/bin/gcc -mcpu=v9 -L/tps/lib -R/tps/lib -o hc-libflag main.o 
> -R/export/build/libtool-1.5.18/demo/.libs 
> -L/export/build/libtool-1.5.18/tests/_inst/lib -lhello  -lm
> You may ignore any linking errors from the following command:
> LD_LIBRARY_PATH=./.libs /tps/bin/gcc -mcpu=v9 -L/tps/lib -R/tps/lib -o 
> hc-libpath main.o -lhello  -lm 
> -R/export/build/libtool-1.5.18/tests/_inst/lib || echo unsupported > 
> hc-libpath
> ld.so.1: /dsw/gcc-3.4.3/bin/gcc: fatal: libiconv.so.2: open failed: No 
> such file or directory

This is the bug showing up.  Why does it want to link against libiconv
here?  Which library causes it to be pulled ini (you could use ldd, nm
and objdump to find out, or ask)?  It should not show up.  (And it's
definitely not a sign of broken libtool hardcode semantics on solaris.)

> /tps/bin/gcc -mcpu=v9 -L/tps/lib -R/tps/lib -o hc-minusL main.o 
> -L./.libs -lhello  -lm -R/export/build/libtool-1.5.18/tests/_inst/lib || 
> echo unsupported > hc-minusL
> = Finding libtool.m4's guesses at hardcoding values
> = Searching for hardcoded library directories in each program
> .libs was not hardcoded in `hc-direct', as libtool expected
> .libs was hardcoded in `hc-libflag', as libtool expected
> `hc-libpath' was not linked properly, which fooled libtool
> .libs was not hardcoded in `hc-minusL', as libtool expected

The other three are ok.

Cheers,
Ralf




reply via email to

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