This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: unknown error after dwarf_cfi_addrframe()
I built again in another folder, version .0175, and added that to LD_LIBRARY_PATH. And it seems to work fine.
Somehow the version we build with Dyninst cmake is not working.
Thanks
Sasha
From: Mark Wielaard <mark@klomp.org>
Sent: Tuesday, February 12, 2019 2:57 PM
To: Sasha Da Rocha Pinheiro
Cc: elfutils-devel@sourceware.org; Ben Woodard
Subject: Re: unknown error after dwarf_cfi_addrframe()
On Tue, Feb 12, 2019 at 07:47:06PM +0000, Sasha Da Rocha Pinheiro wrote:
> I was using elfutils version 0.175, since we download the lastest.
> But after moving back to 0.173, this problem disappeared. So, some
> update after 0.173 broke this.
That is surprising. Are you sure you configured, build and installed
to the correct directory and that you have this added to
LD_LIBRARY_PATH? It certainly seems to work here.
If you do the following, does that work?
$ ./configure --prefix=/tmp/elfutils
$ make && make install
$ LD_LIBRARY_PATH=/tmp/elfutils/lib:/tmp/elfutils/lib/elfutils \
/tmp/elfutils/bin/eu-readelf --relocs /bin/true
Since relocations are arch specific, if it cannot find the x86_64
backend it will show <INVALID RELOC>, otherwise it will print the
correct relocation names.
Cheers,
Mark