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: NO_UNWIND error with libdw on Powerpc


On Wed, 2014-03-12 at 20:52 -0700, Sukadev Bhattiprolu wrote:
> The perf binary I built was referring to /lib64/libdw.so.1, from
> elfutils-0.157, rather than /opt/libdw/lib/libdw.so.1 from my build.
> 
> I got a workaround for the 'yum update' problem[1]. With elfutils-0.158
> the eu-stack and perf seem to work better.

Good to hear. If there are any additional issues, please let us know.

> BTW, I did not find 'eu-stack' in elfutils-0.157;

The eu-stack program and the dwfl_getthread_frames library function call
are new in 0.158.

> I got the NO_UNWIND
> error with '/opt/libdw/bin/stack -p $$' and that binary was also referring
> to libdw.so.1 from 0.157.

Ah, that would explain it. When using a version build from source with
--prefix=/opt/libdw make sure to set
LD_LIBRARY_PATH=/opt/libdw/lib:/opt/libdw/lib/elfutils
That tells where the libraries are install (/opt/libdw/lib) and where
elfutils can find the correct backends (/opt/libdw/lib/elfutils).

Cheers,

Mark


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