[Bug libelf/23903] Uses linux specifc mremap

2018-11-21 Thread kurt at roeckx dot be
https://sourceware.org/bugzilla/show_bug.cgi?id=23903 --- Comment #3 from Kurt Roeckx --- On Hurd I get: /usr/bin/ld: libelf_pic.a(elf32_updatefile.os): in function `__elf32_updatemmap': ./libelf/elf32_updatefile.c:462: warning: msync is not implemented and will always fail /usr/bin/ld: libelf_pi

[Bug libelf/23903] Uses linux specifc mremap

2018-11-21 Thread kurt at roeckx dot be
https://sourceware.org/bugzilla/show_bug.cgi?id=23903 --- Comment #2 from Kurt Roeckx --- Note that Debian's kfreebsd port uses glibc. Maybe they have mremap() in the header even when it's not actually in the library? -- 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-21 Thread kurt at roeckx dot be
https://sourceware.org/bugzilla/show_bug.cgi?id=23902 --- Comment #2 from Kurt Roeckx --- At least on mips I'm seeing an .eh_frame and .eh_frame_hdr section. It also has some mips specific sections. But note that various of the other tests say "Unwinding not supported for this architecture". Is

[Bug general/23901] run-backtrace-native-core returns error isntead of skip

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

[Bug general/23901] run-backtrace-native-core returns error isntead of skip

2018-11-21 Thread kurt at roeckx dot be
https://sourceware.org/bugzilla/show_bug.cgi?id=23901 --- Comment #4 from Kurt Roeckx --- I can confirm that the patch fixes the issue for me. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libelf/23903] Uses linux specifc mremap

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

[Bug backends/23902] varlocs dwarf_cfi_addrframe: unknown error

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

Re: [PATCH] libelf: Get alignement correct when calling conversion functions.

2018-11-21 Thread Mark Wielaard
On Sun, 2018-11-18 at 15:38 +0100, Mark Wielaard wrote: > When writing out data that needs to be converted we have to make sure > the conversion function is called on correctly aligned buffers. When > using mmap this might mean we have to convert into a temporarily > buffer > if the user wants to w

Re: [PATCH] Add -Wtrampolines to CFLAGS.

2018-11-21 Thread Mark Wielaard
On Mon, 2018-11-19 at 11:54 +0100, Mark Wielaard wrote: > elfutils uses nested functions a lot. This is fine unless one takes > the > address of such a nested function. When taking the address of a > nested > function a trampoline is generated that on some systems require the > stack > to be execut

[Bug general/23901] run-backtrace-native-core returns error isntead of skip

2018-11-21 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23901 --- Comment #3 from Mark Wielaard --- Odd, the trap on exit really should remove those. But explicitly cleaning the test files seems to work: diff --git a/tests/backtrace-subr.sh b/tests/backtrace-subr.sh index ff42c6f..53c719d 100644 --- a/t