[ipxe-devel] needed libraries?

Ben Hildred 42656e at gmail.com
Mon Sep 14 14:42:30 UTC 2015


Thanks to your hint about the bfd issue, I was able to track down emails
from 2001 ending with
https://sourceware.org/ml/binutils/2001-10/msg00399.html where they fixed
the dependency bug in bfd that made it necessary for applications using
libbfd to also need libiberty, So if we are using a recentish version of
libbfd we can drop the workaround from commit 7d36a1b as it is no longer
needed, but we should probably also document that it may be needed for old
versions of libbfd.

On an unrelated note, I cannot pass the captcha on the wiki.

On Mon, Sep 14, 2015 at 7:34 AM, Michael Brown <mcb30 at ipxe.org> wrote:

> On 13/09/15 21:23, Ben Hildred wrote:
>
>> Debian bug 730910 was noticing that their package did not have a build
>> dependency on libiberty-dev, but instead of adding a build dependency,
>> they just did not link against it, which would lead one to suspect that
>> it is not needed, I have not found a description of what iberty does, so
>> I can not guess what it was used for, the only three references I can
>> find are the package description for libiberty-dev, that bug and the
>> 0002 patch in the debian source package for ipxe. This is why I was
>> seeking guidance.
>>
>
> We don't directly require libiberty.  From commit
>
>   http://git.ipxe.org/ipxe.git/commitdiff/7d36a1b
>
> it seems that we have previously encountered systems where linking against
> libbfd required us to also link against libiberty.
>
> This was back in 2008, and it's possible that such systems are no longer
> relevant.  We could potentially remove the -liberty and see if anyone
> complains.
>
> Michael
>



-- 
--
Ben Hildred
Automation Support Services
303 815 6721
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20150914/7669b2c8/attachment.htm>


More information about the ipxe-devel mailing list