bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/22458] failure to choose a matching ELF target


From: orivej at gmx dot fr
Subject: [Bug binutils/22458] failure to choose a matching ELF target
Date: Wed, 16 May 2018 08:15:49 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22458

--- Comment #6 from Orivej Desh <orivej at gmx dot fr> ---
Thank you!

I can't review the patch in its entirety, but I noticed [1] that
bfd_get_next_section_id was a part of its public API, and it made its way into
Go [2] and Rust [3] bindings. On the other hand, neither binding seems to be
used by any open source projects, they have not been updated in 2 years, and Go
binding does not compile against recent libbfd with the error "bfd.h:35:2:
error: #error config.h must be included before this header" (PACKAGE and
PACKAGE_VERSION must be defined before inclusion of bfd.h, as in [4]), Rust
binding is not on crates,io, so in practice no one may care.

[1]
https://github.com/search?l=&q=bfd_get_next_section_id+-filename%3Asection-prototypes.html+-filename%3Asection.c+-filename%3Asection.texi+-filename%3Aindex.html+-filename%3AChangeLog+-filename%3Abfd.h&type=Code
[2] https://github.com/qeedquan/go-binutils/blob/master/bfd/bfd.go#L342
[3]
https://github.com/chyh1990/bfd-rs/blob/0e4334dabe2044d9d9ffcd2d7b11e1f29ece8b0d/src/ffi.rs#L4655
[4] https://github.com/orivej/pybfd/blob/master/pybfd/bfd_headers.h#L10-L11

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]