* linux-next: problem building perf
@ 2020-01-31 3:52 Stephen Rothwell
0 siblings, 0 replies; only message in thread
From: Stephen Rothwell @ 2020-01-31 3:52 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo
Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra,
Linux Next Mailing List, Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 1785 bytes --]
Hi all,
This morning trying to do a native perf build (powerpcle) produced
these errors:
util/srcline.c: In function 'find_address_in_section':
util/srcline.c:200:7: error: implicit declaration of function 'bfd_get_section_flags'; did you mean 'bfd_set_section_flags'? [-Werror=implicit-function-declaration]
200 | if ((bfd_get_section_flags(abfd, section) & SEC_ALLOC) == 0)
| ^~~~~~~~~~~~~~~~~~~~~
| bfd_set_section_flags
util/srcline.c:200:7: error: nested extern declaration of 'bfd_get_section_flags' [-Werror=nested-externs]
util/srcline.c:204:8: error: implicit declaration of function 'bfd_get_section_vma'; did you mean 'bfd_set_section_vma'? [-Werror=implicit-function-declaration]
204 | vma = bfd_get_section_vma(abfd, section);
| ^~~~~~~~~~~~~~~~~~~
| bfd_set_section_vma
util/srcline.c:204:8: error: nested extern declaration of 'bfd_get_section_vma' [-Werror=nested-externs]
util/srcline.c:205:9: error: implicit declaration of function 'bfd_get_section_size'; did you mean 'bfd_set_section_size'? [-Werror=implicit-function-declaration]
205 | size = bfd_get_section_size(section);
| ^~~~~~~~~~~~~~~~~~~~
| bfd_set_section_size
util/srcline.c:205:9: error: nested extern declaration of 'bfd_get_section_size' [-Werror=nested-externs]
I traced it back to an update to binutils-dev I did last night :-( The
update was from 2.33.1 to 2.33.90.20200122 on my Debian build machine.
The above three macros no longer appear anywhere in /usr/include
(they were in /usr/include/bfd.h before the upgrade). I have backed
the upgrade out for now.
I am wondering if this is a perf bug or a bintuils bug or a Debian
packaging bug?
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-31 3:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-31 3:52 linux-next: problem building perf Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox