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: Matthias Klose <doko at debian dot org>
- To: Hagen Paul Pfeifer <hagen at jauu dot net>
- Cc: 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>, binutils <binutils at sourceware dot org>
- Date: Mon, 3 Feb 2020 22:29:21 +0100
- 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>
[CCing to binutils]
On 2/3/20 10:03 PM, Hagen Paul Pfeifer wrote:
> CCed: Stephen Rothwell
>
> * Matthias Klose | 2020-02-03 21:10:14 [+0100]:
>
> Hey Matthias
>
>> please can you reassign that to the appropriate package? both libopcodes and
>> libbfd have non-public interfaces. If you use those, please adopt to these.
>
> I don't get it: `apt-file search /usr/include/bfd.h` results in
> binutils-dev: /usr/include/bfd.h
>
> On an slightly older bullseye the shipped version of bfd.h building perf works
> like a charm.
>
> I don't get it why the currently shipped version of bfd.h by
> binutils-dev/bullseye should be fine? bfd.h looks broken now because they
> break API compatibility by silently removing previously defined public
> functions. libbfd-dev is an meta-package and provided by binutils-dev. I don't
> get the correlation to the bug.
binutils doesn't have any comitment to a stable ABI/API for libopcodes and libbfd.
> It seems other people (kernel folks, Stephen) have the identical error as
> well: https://lkml.org/lkml/2020/1/30/1005
> Stephen: or is the bug fixed somewhere else? Do you have an workaround?a
I don't have a work-around. If you rely on binutils internals, you really should
adjust to binutils upstream.
>
> Thank you Matthias for the quick response!
>
> Hagen
Matthias