[Bug libelf/23916] [bisected] elifutils-0.175 broke kernel's objtool (elifutils-0.173 works)

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23916 --- Comment #2 from Mark Wielaard --- Thanks. I am fairly sure this is a bug in binutils/bfd. First gas creates a compressed section with the wrong alignment. Because a compressed section has a Chdr it needs to be aligned to either 4 or 8 dep

[Bug libelf/23916] [bisected] elifutils-0.175 broke kernel's objtool (elifutils-0.173 works)

2018-11-23 Thread slyfox at inbox dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=23916 --- Comment #1 from Sergei Trofimovich --- objtool is a part of linux kernel: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/objtool Attached b.tar.gz contains: - objtool binary - object files before and aft

[Bug libelf/23916] New: [bisected] elifutils-0.175 broke kernel's objtool (elifutils-0.173 works)

2018-11-23 Thread slyfox at inbox dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=23916 Bug ID: 23916 Summary: [bisected] elifutils-0.175 broke kernel's objtool (elifutils-0.173 works) Product: elfutils Version: unspecified Status: UNCONFIRMED S

[Bug general/23914] Add --disable-werror to ./configure support (example trigger: CFLAGS=-Og

2018-11-23 Thread slyfox at inbox dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=23914 --- Comment #2 from Sergei Trofimovich --- (In reply to Mark Wielaard from comment #1) > I rather have that people report such issues and we fix them. Totally understandable. My intent is to only still be able to build old releases with new t

[Bug libelf/23903] Uses linux specifc mremap

2018-11-23 Thread kurt at roeckx dot be
https://sourceware.org/bugzilla/show_bug.cgi?id=23903 --- Comment #7 from Kurt Roeckx --- I've filed a bug in Debian about mremap() being in the headers, so that should hopefully get fixed. But that will not fix the problem, it will either now just generate a warning that it doesn't have a protot

[Bug backends/23902] varlocs dwarf_cfi_addrframe: unknown error

2018-11-23 Thread kurt at roeckx dot be
https://sourceware.org/bugzilla/show_bug.cgi?id=23902 --- Comment #6 from Kurt Roeckx --- Yes, they all 3 seem to be missing that callback. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug backends/23902] varlocs dwarf_cfi_addrframe: unknown error

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23902 --- Comment #5 from Mark Wielaard --- (In reply to Kurt Roeckx from comment #4) > The varlocs test is calling dwarf_errmsg (-1) OK, that will show the last libdw error set on the current thread. In which case we might actually have a candidat

[Bug libelf/23903] Uses linux specifc mremap

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23903 --- Comment #6 from Mark Wielaard --- It is fine for elfutils to have GNU/Linux specific code since that is the primary target. But if other platforms provide needed functionality in a different way then patches are obviously more than welcome

[Bug general/23914] Add --disable-werror to ./configure support (example trigger: CFLAGS=-Og

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23914 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

[PATCH] libdwfl: Fix relocation overlap sanity check.

2018-11-23 Thread Mark Wielaard
We would not relocate when the relocation section data or the target section date would overlap with one of the ELF headers. This is only really necessary if the data comes directly from the mmapped file. Otherwise there is no real overlap and the relocations can be safely applied. One particular

[PATCH] libdw: Enable building with -Og.

2018-11-23 Thread Mark Wielaard
When building with -Og gcc is unable to see that __libdw_dieabbrev () will initialize what the second argument points to when no error occurs as called by dwarf_child and dwarf_getattrs. Causing an possibly uninitialized error. Just initialize readp/die_addr to NULL, which is the value we would ret

[Bug backends/23902] varlocs dwarf_cfi_addrframe: unknown error

2018-11-23 Thread kurt at roeckx dot be
https://sourceware.org/bugzilla/show_bug.cgi?id=23902 --- Comment #4 from Kurt Roeckx --- The varlocs test is calling dwarf_errmsg (-1) -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libelf/23903] Uses linux specifc mremap

2018-11-23 Thread kurt at roeckx dot be
https://sourceware.org/bugzilla/show_bug.cgi?id=23903 --- Comment #5 from Kurt Roeckx --- Since I don't have it, it will make this a Linux only package. This at least means that currently glib2.0 and rpm will also not be able to get build on non-Linux platforms. This is really a Linux specific sy

[Bug general/23914] New: Add --disable-werror to ./configure support (example trigger: CFLAGS=-Og

2018-11-23 Thread slyfox at inbox dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=23914 Bug ID: 23914 Summary: Add --disable-werror to ./configure support (example trigger: CFLAGS=-Og Product: elfutils Version: unspecified Status: UNCONFIRMED S

[Bug libelf/23903] Uses linux specifc mremap

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23903 --- Comment #4 from Mark Wielaard --- Having an msync that doesn't write out changes to a file is bad, but you might get away with it in most cases (the changes should be written to disk when munmap is called). You do need a mremap function,

[Bug backends/23902] varlocs dwarf_cfi_addrframe: unknown error

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23902 --- Comment #3 from Mark Wielaard --- (In reply to Kurt Roeckx from comment #2) > At least on mips I'm seeing an .eh_frame and .eh_frame_hdr section. It also > has some mips specific sections. Assuming they have "normal" types then that part

[Bug libelf/23911] Typo in Copyright File

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23911 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED URL|

[Bug libelf/23911] Typo in Copyright File

2018-11-23 Thread martin.vrba.mv1 at contractors dot roche.com
https://sourceware.org/bugzilla/show_bug.cgi?id=23911 --- Comment #2 from Martin Vrba --- (In reply to Mark Wielaard from comment #1) > I cannot find this in the elfutils sources. > > I think this must be in the distro (Debian) copyright file. Could you check > you are running Debian and file t

[Bug libelf/23911] Typo in Copyright File

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23911 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1