Austin Foxley wrote:
On 04/20/2010 07:49 AM, Natanael Copa wrote:
Since sublevel releases are not ABI compatible we need to adjust
the soname to include the sublevel version.

This makes it possible to install ABI incompatible versions of the
library side by side so clean upgrades are possible.

Applied, minus the mistaken LDFLAGS hunk

It might be useful to do:

-ABI_VERSION   := $(VERSION)
+ABI_VERSION   := $(MAJOR_VERSION)

Since it seems that ld.so soname is hardcoded in GCC. If you want to
use something else than /lib/ld-uClibc.so.0 as dynamic linker, you also
need to update GCC default configration, create alternate specfile
overriding the hardcoded -dynamic-linker, or pass-in -Wl,-dynamic-linker,...
when compiling.

Otherwise you end up with broken stuff. I'm thinking it might be
better if the distro maintainer overrides ABI_VERSION and gcc together
so gcc with default options will produce working binaries.

- Timo
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to