This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Bug#950414: binutils-dev: failed to build linux perf (tools/perf) due to missing functions
- From: Thomas Backlund <tmb at mageia dot org>
- To: Alan Modra <amodra at gmail dot com>, Romain Naour <romain dot naour at smile dot fr>
- Cc: Hagen Paul Pfeifer <hagen at jauu dot net>, Matthias Klose <doko at debian dot org>, <950414 at bugs dot debian dot org>, Ben Hutchings <ben at decadent dot org dot uk>, Stephen Rothwell <sfr at canb dot auug dot org dot au>, Arnaldo Carvalho de Melo <arnaldo dot melo at gmail dot com>, binutils <binutils at sourceware dot org>, <gdb at sourceware dot org>, "H.J. Lu" <hjl dot tools at gmail dot com>, Nick Clifton <nickc at redhat dot com>
- Date: Wed, 5 Feb 2020 10:35:50 +0200
- Subject: Re: Bug#950414: binutils-dev: failed to build linux perf (tools/perf) due to missing functions
- References: <20200201095306.GD9786@laniakea> <005fbdf3-a9c6-36d8-c2e8-0d307de5a40d@debian.org> <20200203210310.GA217509@virgo> <d91b6b94-c326-b972-483d-f586fb8a0d4b@debian.org> <20200204153557.GA280113@virgo> <baec5492-441d-45a6-6fe9-15398120968a@smile.fr> <20200204232933.GU30118@bubble.grove.modra.org>
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