libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libunwind] Basic use of dynamic features?


From: David Mosberger
Subject: Re: [libunwind] Basic use of dynamic features?
Date: Wed, 15 Dec 2004 09:54:19 -0800

>>>>> On Tue, 14 Dec 2004 17:15:23 +0100, Tommy Hoffner <address@hidden> said:

  Tommy> Ok, I tried 0.98.3 from debian. Now the UNW_LOCAL_ONLY
  Tommy> doesn't work either :-)

Well, at least it's consistent...

  Tommy> First, it seems to me that you now have to link statically to
  Tommy> get _U_dyn_register and _U_dyn_cancel. It links towards
  Tommy> libunwind.so.7 as well. Is this the intended behaviour?

No, linking against libunwind.so is sufficient (tests/Gtest-dyn shows that).

  Tommy> I've tried numerous combinations of compilers (Ecc, gcc-3.3
  Tommy> and gcc-3.4) and libraris (libstdc++5 and lidstdc++6)).  When
  Tommy> using libunwind 0.97, all combinations works for
  Tommy> UNW_LOCAL_ONLY, but when changing to 0.98.3 no cobination
  Tommy> works (i.e. the c++ stack unwinder does not recognize the
  Tommy> dynamically created unwind info.)

  Tommy> I'm attaching a modified testcase from your suite. (The
  Tommy> commented function was what I was trying to do when a wrote
  Tommy> the first contribution to this thread)

Great!  I'll try the test-case and see if I can reproduce the problem.

Thanks,

        --david

reply via email to

[Prev in Thread] Current Thread [Next in Thread]