Bug#950414: binutils-dev: failed to build linux perf (tools/perf) due to missing functions

Thomas Backlund tmb@mageia.org
Wed Feb 5 08:35:00 GMT 2020


Den 5.2.2020 kl. 01:29, skrev Alan Modra:
> The binutils and gdb projects do not even pretend to a stable ABI or
> API for libbfd and libopcodes.  Particularly not ABI, that gets broken
> on almost every week.  perf and other projects that want to use libbfd
> or libopcodes are of course welcome to do so, but they then need to
> deal with the changing API.  Complaints that Nick, Alan, or H.J. Lu
> have broken perf or similar *will be ignored*, except possibly to tell
> you that you may as well stop complaining.
> 
> I've said before that the most obvious way to deal with the unstable
> API is to import a snapshot of the libbfd and libopcodes code into
> those projects and merge from upstream as new upstream support becomes
> desirable.  That's not hard to do!
> 


Yeah, it broke various bits for us too, but then again ...

The breakage is basically a variant of:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/Documentation/process/stable-api-nonsense.rst

What goes around comes around :)

Now we just need fixes all over :)

--
Thomas



More information about the Binutils mailing list