Subject: Re: gnumeric vs perl = libtool vs binutils on NetBSD-current
To: None <pkgsrc-users@NetBSD.org, current-users@NetBSD.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: current-users
Date: 03/12/2006 20:27:54
On Sun, Mar 12, 2006 at 07:27:58PM +0100, Bernd Ernesti wrote:
> On Sun, Mar 12, 2006 at 07:15:17PM +0100, Thomas Klausner wrote:
> > Hi!
> > 
> > On 3.99.1[56], since the binutils update, gnumeric doesn't compile any longer.
> > The build there fails with:
> [..]
> 
> > I wonder why libtool converts
> > 	/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/auto/DynaLoader/DynaLoader.a
> > to
> > 	/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/auto/DynaLoader/libDynaLoader_pic.a 
> 
> What I found was some code in pkgsrc/mk in these files:
> 
> buildlink3/cmd-sink-libtool
> wrapper/arg-pp-main
> 
> Thats the place were it will be converted.

Ah, true.
From the work.log file it seems that the gcc part of the replacement works
fine, however the ar argument is not replaced, and that causes the build failure.

> [..]
> > So what does libtool do differently with binutils 2.16.1
> > than with binutils 2.15-20041204?
> 
> I would also like to know the reason why the old 'hack' doesn't work anymore.

Does someone have a make output and a work.log file from before 3.99.15,
so we can compare them?
 Thomas