This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]