[Bug general/24498] 0.176: isn't LTO ready

2020-04-16 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=24498 --- Comment #16 from Mark Wielaard --- Various self tests fail when everything is build with LTO. In particular various files contain .gnu.lto_ sections with SHF_EXCLUDE set. This is an interesting flag since it is treated as a generic sectio

[PATCH] elflint: Allow SHF_EXCLUDE as generic section flag when --gnu is given.

2020-04-16 Thread Mark Wielaard
Strictly speaking SHF_EXCLUDE is a processor specific section flag, but it is used generically in the GNU toolchain. For example when adding .gnu.lto_ sections. Signed-off-by: Mark Wielaard --- src/ChangeLog | 5 + src/elflint.c | 5 + 2 files changed, 10 insertions(+) diff --git a/src/

[Bug general/24498] 0.176: isn't LTO ready

2020-04-16 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=24498 --- Comment #15 from Mark Wielaard --- Thanks for that setup. It allows me to play a bit more with LTO. One commit to help with one issue has been pushed already: commit 39f28eaf8c821d71d57ffc759655ec4168d0bead Author: Mark Wielaard Date:

[COMMITTED] libdwfl: Initialize bits to NULL in dwfl_standard_find_debuginfo for LTO.

2020-04-16 Thread Mark Wielaard
GCC10 LTO is too smart (and somewhat cryptic): find-debuginfo.c: In function ‘dwfl_standard_find_debuginfo’: debuginfod-client.c:85:8: error: ‘bits’ may be used uninitialized in this function [-Werror=maybe-uninitialized] find-debuginfo.c:360:24: note: ‘bits’ was declared here

[Bug general/25838] New: eu-readelf crashes due to a general protection fault

2020-04-16 Thread nguyenmanhdung1710 at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=25838 Bug ID: 25838 Summary: eu-readelf crashes due to a general protection fault Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2

[Bug backends/25832] aarch64 fails to compile with musl

2020-04-16 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=25832 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

[Bug general/25831] Assertion failure in eu-objdump

2020-04-16 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=25831 Mark Wielaard changed: What|Removed |Added Last reconfirmed||2020-04-16 CC|

[PATCH] libcpu: Replace assert with goto invalid_op for bad prefix.

2020-04-16 Thread Mark Wielaard
https://sourceware.org/bugzilla/show_bug.cgi?id=25831 Signed-off-by: Mark Wielaard --- libcpu/ChangeLog | 5 + libcpu/i386_disasm.c | 11 +++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/libcpu/ChangeLog b/libcpu/ChangeLog index 70796514..a8b2b951 100644 --- a