[patch] libunwind: Use .so with its major version number

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[patch] libunwind: Use .so with its major version number

Jan Kratochvil-2
Hi,

GDB currently dlopen()s `libunwind-ia64.so':
        #define LIBUNWIND_SO "libunwind-" STRINGIFY(UNW_TARGET) ".so"

and uses its symbol in a defined ABI way afterwards.
This makes an incompatible ABI change impossible.

`libunwind-ia64.so' should be used only for the build time while runtime should
use `libunwind-ia64.so.7' in this case.

libunwind author's approval:
        http://lists.gnu.org/archive/html/libunwind-devel/2007-04/msg00006.html


Regards,
Jan

gdb-6.6-libunwind-major-version.patch (806 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [patch] libunwind: Use .so with its major version number

Daniel Jacobowitz-2
On Wed, Apr 11, 2007 at 02:32:09PM +0200, Jan Kratochvil wrote:

> Hi,
>
> GDB currently dlopen()s `libunwind-ia64.so':
> #define LIBUNWIND_SO "libunwind-" STRINGIFY(UNW_TARGET) ".so"
>
> and uses its symbol in a defined ABI way afterwards.
> This makes an incompatible ABI change impossible.
>
> `libunwind-ia64.so' should be used only for the build time while runtime should
> use `libunwind-ia64.so.7' in this case.
>
> libunwind author's approval:
> http://lists.gnu.org/archive/html/libunwind-devel/2007-04/msg00006.html

Yes, this is OK.

--
Daniel Jacobowitz
CodeSourcery