[PATCH v3] debuginfod: Support queries for ELF/DWARF sections

2022-10-27 Thread Aaron Merey via Elfutils-devel
v3 addresses Frank and Mark's v2 feedback. v2 available here: https://sourceware.org/pipermail/elfutils-devel/2022q4/005476.html --- ChangeLog | 4 + NEWS| 2 + debuginfod/ChangeLog| 21 ++ debuginfod/Makefile.am | 2 +-

[Bug libdw/29711] In libdw.h struct Dwarf, struct Dwarf_Abbrev is defined using typedef and not using #include is not the way to comply with the specification?

2022-10-27 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29711 Mark Wielaard changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug libelf/29695] In libelf.h struct Elf, struct Elf_Scn is defined using typedef and not using #include is not the way to comply with the specification?

2022-10-27 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29695 Mark Wielaard changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug libdw/29434] Memory leak in `dwarf_getscopes`

2022-10-27 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29434 --- Comment #10 from Mark Wielaard --- (In reply to Pablo Galindo Salgado from comment #8) > If you give me a patch adding print statements to libdw/dwarf_getscopes.c > and libdw/libdw_visit_scopes.c I can give you the output. See attachment

[Bug tools/29498] Is it expected that eu-strip strips .note.GNU-stack

2022-10-27 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29498 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #2

☺ Buildbot (GNU Toolchain): elfutils - build successful (master)

2022-10-27 Thread builder--- via Elfutils-devel
A restored build has been detected on builder elfutils-debian-i386 while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#builders/17/builds/87 Build state: build successful Revision: 65b3fb51b83b5a37345c6a9ae7c77b2e9d3a6517 Worker: debian-i386-2 Bui

☠ Buildbot (GNU Toolchain): elfutils - failed test (failure) (master)

2022-10-27 Thread builder--- via Elfutils-devel
A new failure has been detected on builder elfutils-debian-i386 while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#builders/17/builds/86 Build state: failed test (failure) Revision: 73d016bde224af6d1be7c86fb2ea67af22f7582f Worker: debian-i386-2 B

[Bug general/29571] Add 'Key to Flags' to eu-readelf output

2022-10-27 Thread zhuorong.lin at outlook dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29571 lin zhuorong changed: What|Removed |Added CC||zhuorong.lin at outlook dot com --- Co

Re: [PATCH] configure.ac: Update AC_PROG_CC and AC_PROG_LEX for autoconf 2.70

2022-10-27 Thread Mark Wielaard
On Sat, 2022-10-22 at 21:58 +0200, Mark Wielaard wrote: > With autoconf 2.70 we must use AC_PROG_CC (which will check for c11 > and c99), for earlier versions we'll use AC_PROG_CC_C99. Also use > AC_PROG_LEX([noyywrap]), the extra argument is ignored with earlier > versions, but required for 2.70.

[COMMITTED] Use grep -E instead of egrep, use grep -F instead of fgrep.

2022-10-27 Thread Mark Wielaard
GNU grep 3.8 gives a deprecation warning when using egrep or fgrep. Just use grep -E and grep -F. Signed-off-by: Mark Wielaard --- config/ChangeLog | 4 config/eu.am | 2 +- tests/ChangeLog| 11 +++

[COMMITTED] config: Add BuildRequires socat for run-debuginfod-response-headers.sh

2022-10-27 Thread Mark Wielaard
Signed-off-by: Mark Wielaard --- config/ChangeLog| 4 config/elfutils.spec.in | 2 ++ 2 files changed, 6 insertions(+) diff --git a/config/ChangeLog b/config/ChangeLog index 1265f399..9aadd71f 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2022-10-27 Mark Wie

☺ Buildbot (GNU Toolchain): elfutils - build successful (master)

2022-10-27 Thread builder--- via Elfutils-devel
A restored build has been detected on builder elfutils-fedora-x86_64 while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#builders/59/builds/88 Build state: build successful Revision: eae6ad37f96826b1b7ddf269ee4d753079054413 Worker: bbo1-1 Build Re

Re: One shot mode for debuginfod server

2022-10-27 Thread Mark Wielaard
Hi Ryan, On Tue, 2022-08-09 at 17:40 -0400, Ryan Goldberg via Elfutils-devel wrote: > Here is a patch for a new one-shot mode for the debuginfod server. > In this mode the first scanning pass of the server will also output > the found executables' paths and buildids to the given file > descriptor.

Re: [PATCH] readelf: Handle DW_LLE_GNU_view_pair

2022-10-27 Thread Mark Wielaard
Hi, On Thu, 2022-10-20 at 00:02 +0200, Mark Wielaard wrote: > DW_LLE_GNU_view_pair is used by gcc -gvariable-location- > views=incompat5. > As described in > http://www.fsfla.org/~lxoliva/papers/sfn/dwarf6-sfn-lvu.txt > and proposed for DWARF6 > https://dwarfstd.org/ShowIssue.php?issue=170427.1

Re: [PATCH 05/25] use #include instead platform depended header in libdw/memory-access.h

2022-10-27 Thread Mark Wielaard
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel wrote: > Signed-off-by: Yonggang Luo Thanks, added ChangeLog entry and tweaked commit message to have < 72 char lines. Pushed, Mark

Re: [PATCH 04/25] libelf/libdwfl: Remove "#define LIB_SYSTEM_H 1" in libelf_crc32.c and libdwfl_crc32.c

2022-10-27 Thread Mark Wielaard
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel wrote: > rationale: https://sourceware.org/bugzilla/show_bug.cgi?id=21001 > > If we don't remove this macro, when try #include in > libdw/memory-access.h > wont' take effect because "#define LIB_SYSTEM_H 1" > The compile err

Re: [PATCH 03/25] libebl: There is no need #include in eblclosebackend.c and eblopenbackend.c

2022-10-27 Thread Mark Wielaard
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel wrote: > It's not accessed symbols in dlfcn.h in eblclosebackend.c and > eblopenbackend.c Tweaked the commit message (so it fits on one line), added ChangeLog entries and pushed. Thanks, Mark

Re: [PATCH 02/25] ignore build directory

2022-10-27 Thread Mark Wielaard
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel wrote: > Signed-off-by: Yonggang Luo > --- > .gitignore | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.gitignore b/.gitignore > index 8bcd88d7..ca06 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -21,6 +21,7 @@

Re: [PATCH 01/25] Rename 'hello2.spec.' -> 'hello2.spec' 'hello3.spec.' -> 'hello3.spec'

2022-10-27 Thread Mark Wielaard
Hi, On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel wrote: > These filenames are invalid on win32 But using .spec causes make rpm to fail. Did you try this variant: https://inbox.sourceware.org/elfutils-devel/3bf19d05c8976411432709fae1cc2bcc2d21d700.ca...@klomp.org/ Thanks,