bug-libtool
[Top][All Lists]
Advanced

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

Re: Problem report as per the output of the 'check' process.


From: Ralf Wildenhues
Subject: Re: Problem report as per the output of the 'check' process.
Date: Tue, 28 Mar 2006 16:51:26 +0200
User-agent: Mutt/1.5.11

* Michael C. Tiernan wrote on Tue, Mar 28, 2006 at 02:27:47PM CEST:
> Regarding the speed of the system, although it's a reasonably fast
> system, there was a lot going on when I was doing these builds.

That is ok then.  (There could've been an issue with then shell
selection algorithm, that's why I asked.)

> > You could rerun
> >   make check VERBOSE=X TESTS="tagdemo-static.test tagdemo-make.test \
> >     tagdemo-exec.test tagdemo-conf.test tagdemo-make.test \
> >     tagdemo-exec.test tagdemo-shared.test tagdemo-make.test \
> >     tagdemo-exec.test"
> 
> Here's the output as requested:

Hmm, that's not the bug that we fixed in CVS.  So let's investigate
further:  Snipping your output a bit:

> address@hidden ...Z-CD/Sol7/Libtool](578)$ make check VERBOSE=X 
> TESTS="tagdemo-static.test tagdemo-make.test \
> >     tagdemo-exec.test tagdemo-conf.test tagdemo-make.test \
> >     tagdemo-exec.test tagdemo-shared.test tagdemo-make.test \
> >     tagdemo-exec.test"

> === Running tagdemo-static.test

> = Configuring in ../tagdemo 
> (prefix=/nfs/home/mct1296/DMZ-CD/Sol7/Libtool/tests/_inst) with 
> --disable-shared
> checking build system type... sparc-sun-solaris2.7
> checking host system type... sparc-sun-solaris2.7

> checking for ld used by gcc... /usr/dl/bin/ld
> checking if the linker (/usr/dl/bin/ld) is GNU ld... yes

> appending configuration tag "CXX" to libtool
> checking for ld used by g++... /usr/dl/bin/ld
> checking if the linker (/usr/dl/bin/ld) is GNU ld... yes
> checking whether the g++ linker (/usr/dl/bin/ld) supports shared libraries... 
> yes

> === Running tagdemo-make.test

> /bin/bash ./libtool --tag=CXX   --mode=link g++  -g -O2   -o tagdemo main.o 
> libbaz.la
> g++ -g -O2 -o tagdemo main.o  ./.libs/libbaz.a 
> -L/tmp/gcc_build/sparc-sun-solaris2.7/libstdc++-v3/src 
> -L/tmp/gcc_build/sparc-sun-solaris2.7/libstdc++-v3/src/.libs 
> -L/tmp/gcc_build/gcc /local/dl/lib/./libstdc++.so -Wl,--rpath 
> -Wl,/local/dl/lib/. -Wl,--rpath -Wl,/local/dl/lib/.
> /usr/ccs/bin/ld: illegal option -- -
> /usr/ccs/bin/ld: illegal option -- -

This doesn't match.  Hmm, a bit familiar to this old bug
reported by Morten Welinder:
http://lists.gnu.org/archive/html/bug-libtool/2005-04/msg00044.html
which I never really understood (IIRC I did not have access
to a Solaris box back then).

Does `g++ -print-prog-name=ld' output `/usr/ccs/bin/ld'?
What's the output of `g++ -v'?

Do you have $LD set to anything?  Does `type ld' output
`/usr/dl/bin/ld'?

Please try to rerun the same command line as above, with
  LD=/usr/ccs/bin/ld
appended.  That should then either pass or leave us with
the error fixed in CVS, hopefully.

Thanks,
Ralf




reply via email to

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