Subject: Re: recent libtool broken
To: Todd Vierling <>
From: Nick Hudson <>
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 -rpath /usr/pkg/lib -version-info 13:9:0 gthread.lo -lpthread
> : /usr/bin/ld -shared -o .libs/ /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/  -R/usr/pkg/lib -R/usr/pkg/lib -soname /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.