Subject: Re: recent libtool broken
To: Todd Vierling <tv@wasabisystems.com>
From: Nick Hudson <skrll@netbsd.org>
List: tech-pkg
Date: 03/19/2001 20:13:32
Todd Vierling wrote:
> 
> On Sun, 18 Mar 2001, SUNAGAWA Keiki wrote:
> 
> : Hi, I have a trouble with recent libtool.  It doesn't handle
> : '--mode=link' target on ELF platforms.  I reproduced this on
> : i386 and macppc.
> 
> : /bin/sh ../libtool --mode=link cc  -O -Wall  -D_REENTRANT -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o libgthread.la -rpath /usr/pkg/lib -version-info 13:9:0 gthread.lo -lpthread
> : /usr/bin/ld -shared -o .libs/libgthread.so.13.9 /usr/lib/crtbeginS.o  .libs/gthread.o  -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib  -L/usr/pkg/lib /usr/pkg/lib/libpthread.so  -R/usr/pkg/lib -R/usr/pkg/lib -soname libgthread.so.13 /usr/lib/crtendS.o
> 
> Okay, that's just wrong.  Libtool should be invoking "cc -shared", not "ld
> -shared" (whereas a.out platforms have to use "ld -Bshareable" without -Wl,
> prefixes).
> 
> Nick, are you on this list?

Already fixed.

Nick
-- 
aka skrll@netbsd.org, skrll@excite.co.uk