Thread (16 messages) 16 messages, 7 authors, 2024-06-07

Re: ANNOUNCE: pahole v1.23 (BTF tags and alignment inference)

From: Arnaldo Carvalho de Melo <acme@kernel.org>
Date: 2021-12-15 14:56:26
Also in: lkml

Em Tue, Dec 14, 2021 at 02:56:16PM -0700, Nathan Chancellor escreveu:
Hi Arnaldo,

On Wed, Dec 08, 2021 at 10:54:56AM -0300, Arnaldo Carvalho de Melo wrote:
quoted
- Initial support for DW_TAG_skeleton_unit, so far just suggest looking up a
  matching .dwo file to be used instead. Automagically doing this is in the
  plans for a future release.
This change [1] appears to break building on older distributions for me,
which I use in containers for access to older versions of GCC. I see the
error with Debian Stretch and Ubuntu Xenial, which have an older
libelf-dev.  Is this expected? I don't mind sticking with 1.22 for
those, I just want to be sure!
Nope, not expected, I'll reproduce here, fix and push, thanks for the
report.

- Arnaldo
 
/tmp/dwarves-1.23/dwarf_loader.c: In function 'die__process':
/tmp/dwarves-1.23/dwarf_loader.c:2529:13: error: 'DW_TAG_skeleton_unit' undeclared (first use in this function)
  if (tag == DW_TAG_skeleton_unit) {
             ^

[1]: https://git.kernel.org/pub/scm/devel/pahole/pahole.git/commit/?id=0135ccd632796ab3aff65b7c99b374c4682c2bcf

Cheers,
Nathan
-- 

- Arnaldo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help