Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 41303
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: dmn [...] debian.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: unnecessary linking with libm
Date: Sat, 29 Nov 2008 09:36:42 +0200
To: bug-XML-LibXML [...] rt.cpan.org
From: Damyan Ivanov <dmn [...] debian.org>
Download signature.asc
application/pgp-signature 197b

Message body not shown because it is not plain text.

Hi, XML-LibXML links explicitly with libm, but uses none if the symbols libm exports. I guess libm is used by libxml, but it is already linked with that, and even if it weren't, that would be a bug in libxml and none of XML-LibXML's business. The trivial attached patch removes explicit linkage with libm. Thanks for considering. -- dam JabberID: dam@jabber.minus273.org

Message body is not shown because sender requested not to inline it.

Hi, applied the patch to the SVN. However, I kept -lm in the fallback LIBS list (which is the same as xml2-config --libs on the Linux platform). I.e., if xml2-config gets used and it does not return -lm, Makefile.PL does not add it either. Hope this closes this bug. -- Petr Dne so 29.lis.2008 02:37:04, dmn@debian.org napsal(a): Show quoted text
> Hi, > > XML-LibXML links explicitly with libm, but uses none if the symbols > libm exports. > > I guess libm is used by libxml, but it is already linked with that, > and even if it weren't, that would be a bug in libxml and none of > XML-LibXML's business. > > The trivial attached patch removes explicit linkage with libm. > > Thanks for considering. >