On Fri, Nov 13, 2009 at 02:53:32PM +0100, Peter Fritzsche wrote:
> Bill Allombert wrote:
> > On Fri, Nov 13, 2009 at 11:05:40AM +0100, Peter Fritzsche wrote:
> > > Source: pari
> > > Version: 2.3.4-2
> > > Severity: minor
> > > User: [email protected]
> > > Usertags: no-add-needed
> > >
> > > Tried to build your package and it fails to build with GNU binutils-gold.
> > > The important difference is that --no-add-needed is the default behavior
> > > of of GNU binutils-gold. Please provide all needed libraries to the
> > > linker when building your executables.
> > >
> > > More informations can be found at
> > > 
> > > http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbeca
> > >usebinutils-gold.2BAC8-indirectlinking
> > 
> > Hello Peter,
> > Thanks for the report, and I agree with the issue (I forgot plotport used
> >  libm).
> > 
> > However I am slightly concerned that this policy is opposite to another one
> > that say to never link binaries against library they do not use directly,
> > to avoid spurious dependencies.
> You use it directly as you link to plotport.o which must be linked to libm. 
> You must always resolve symbols of objects you link to. It wouldn't be the 
> case if you link to libplotport.so.

I completly agreed with this, however the real reason for this bug in the first
place is that gp used to be linked against libgmp and I got a report that
this dependency was spurious since gp only use libgmp through libpari, so I
removed the link. Unfortunately I did the same for libm since I forgot about the
file plotport.o which is the only one to use libm.

Cheers,
Bill.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to