Re: elfutils 0.180 released

2020-06-11 Thread Martin Liška
On 6/11/20 9:07 PM, Mark Wielaard wrote: commit 3eaa4421b2422452b40547aab3e8da0749990ef9 The patch works for me! Thanks, Martin

Re: elfutils 0.180 released

2020-06-11 Thread Mark Wielaard
Hi Martin, On Thu, 2020-06-11 at 20:51 +0200, Martin Liška wrote: > On 6/11/20 8:31 PM, Martin Liška wrote: > > On 6/11/20 7:48 PM, Mark Wielaard wrote: > > > ELFUTILS 0.180 -http://elfutils.org/ > > > > Thank you for the release. I'm seeing a linking error during test > > build: > > > > [ 84s

Re: elfutils 0.180 released

2020-06-11 Thread Martin Liška
On 6/11/20 8:31 PM, Martin Liška wrote: On 6/11/20 7:48 PM, Mark Wielaard wrote: ELFUTILS 0.180 -http://elfutils.org/ Hello. Thank you for the release. I'm seeing a linking error during test build: [   84s] gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/share/locale"' -I. -I..  \ [  

Re: elfutils 0.180 released

2020-06-11 Thread Martin Liška
On 6/11/20 7:48 PM, Mark Wielaard wrote: ELFUTILS 0.180 -http://elfutils.org/ Hello. Thank you for the release. I'm seeing a linking error during test build: [ 84s] gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/share/locale"' -I. -I.. \ [ 84s] -I. -I. -I../lib -I.. -I../libasm

Re: [COMMITTED] tests: Add GCOV flags when necessary.

2020-06-11 Thread Martin Liška
On 6/11/20 7:09 PM, Mark Wielaard wrote: +if·GCOV +GCOV_FLAGS=-fprofile-arcs·-ftest-coverage +else Hello. The pair of options can be replaced with --coverage. Martin

elfutils 0.180 released

2020-06-11 Thread Mark Wielaard
ELFUTILS 0.180 - http://elfutils.org/ A new release of elfutils is available at: ftp://sourceware.org/pub/elfutils/0.180/ or https://sourceware.org/elfutils/ftp/0.180/ This version of elfutils handles debuginfo generated with GCC LTO better and it can finally be build with GCC LTO itself: expo

[COMMITTED] tests: Add GCOV flags when necessary.

2020-06-11 Thread Mark Wielaard
The nlist-test has a special compile rule, make sure it gets the GCOV flags when configuring with --enable-gcov. Signed-off-by: Mark Wielaard --- tests/ChangeLog | 4 tests/Makefile.am | 8 +++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/ChangeLog b/tests/Cha

Re: Buildbot failure in Wildebeest Builder on whole buildset

2020-06-11 Thread Mark Wielaard
On Thu, Jun 11, 2020 at 04:00:38PM +, build...@builder.wildebeest.org wrote: > The Buildbot has detected a failed build on builder whole buildset while > building elfutils. > Full details are available at: > https://builder.wildebeest.org/buildbot/#builders/1/builds/546 > > Buildbot URL:

Buildbot failure in Wildebeest Builder on whole buildset

2020-06-11 Thread buildbot
The Buildbot has detected a failed build on builder whole buildset while building elfutils. Full details are available at: https://builder.wildebeest.org/buildbot/#builders/1/builds/546 Buildbot URL: https://builder.wildebeest.org/buildbot/ Worker for this Build: centos-x86_64 Build Reason:

[COMMITTED] Prepare for 0.180

2020-06-11 Thread Mark Wielaard
Set version to 0.180. Update NEWS and elfutils.spec.in. Set copyright year in printversion. Regenerate po/*.po files. Update .gitignore. Signed-off-by: Mark Wielaard --- .gitignore | 27 - ChangeLog | 6 ++ NEWS| 14 +++ config/ChangeLog

Question on how to copy an elf file and edit the .preinit_array section

2020-06-11 Thread Anastasios Andronidis via Elfutils-devel
Hello everyone! Could someone please help me with this: https://stackoverflow.com/questions/62293512/inject-a-preinit-array-section-in-an-elf-file-with-libelf I'm trying to do some runtime manipulation of an elf file and I'm a little bit lost with how to use libelf :/ Basically I want to copy