[Bug general/30084] New: readelf.c:handle_bit_registers() sets parameter desc without using it.

2023-02-05 Thread dje at sourceware dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30084 Bug ID: 30084 Summary: readelf.c:handle_bit_registers() sets parameter desc without using it. Product: elfutils Version: unspecified Status: NEW Severity: no

[Bug libdw/30077] Duplicate definition of typedef struct debuginfod_client in libdwfl

2023-02-05 Thread dje at sourceware dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30077 --- Comment #6 from David Edelsohn --- The error is reported if one configures and builds with Clang. Also, yes, this is a C11 feature, but libdwfl/Makefile.in explicitly invokes the compiler with -std=gnu99 (AM_CFLAGS). -- You are receivin

[Bug libdw/30077] Duplicate definition of typedef struct debuginfod_client in libdwfl

2023-02-05 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30077 --- Comment #5 from Mark Wielaard --- (In reply to David Edelsohn from comment #3) > The struct is needed by libdwfl.h to prototype > > extern debuginfod_client *dwfl_get_debuginfod_client (Dwfl *dwfl); > > but that function is defined in de

[Bug libdw/30077] Duplicate definition of typedef struct debuginfod_client in libdwfl

2023-02-05 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30077 --- Comment #4 from Mark Wielaard --- (In reply to Sam James from comment #2) > These issues sometimes appear with -flto -Wlto-type-mismatch but not clear > that's the case here. Yes, but typedefs don't define new types, just alias types. Als