This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] libunwind: Use .so with its major version number
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 11 Apr 2007 10:53:06 -0400
- Subject: Re: [patch] libunwind: Use .so with its major version number
- References: <20070411123209.GA4123@host0.dyn.jankratochvil.net>
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