Subject: Re: HEADS UP: libtool change sweep COMPLETE
To: Todd Vierling <tv@duh.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 10/04/2004 17:38:35
On Sat, Oct 02, 2004 at 08:27:31PM -0400, Todd Vierling wrote:
> I don't have access to all host platforms usable with pkgsrc, so it's
> possible that this change is broken on some platforms.  Please report any
> breakage you see to tech-pkg@netbsd.org (and feel free to Cc: me directly).

There is a new problem that appears at least in graphics/glu and causes
graphics/gle's configure to fail later.

When linking libGLU with libtool-1.5.6 (and otherwise up-to-date mk/),
one can find the following lines in work*/.work.log:
<.> /usr/pkg/bin/libtool --mode=link g++ -o libGLU.la ...
[*] /usr/obj/graphics/glu/work.i386/.wrapper/bin/g++ -shared -nostdlib ...

while with libtool-1.5.10, they become:
<.> /usr/pkg/bin/libtool --mode=link g++ -o libGLU.la ...
[*] /usr/obj/graphics/glu/work/.wrapper/bin/gcc -shared ...

which has the effect that libGLU.so is not linked against libstdc++
and libgcc_s. This makes gle fails when it tries to link against libGLU
in its configure script, since it uses gcc to test and gcc does not
automatically add libstdc++ nor libgcc_s to the link line.

Could you please take a look at this?

Thanks,
 Thomas