Austin Foxley wrote:
On 04/23/2010 07:18 AM, Timo Teräs wrote:
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.

Hmm, I didn't realize GCC hardcoded that. I'll push a fix.

Me neither. Actually the dynamic section is generated properly. It's
the .interp section that goes wrong. And I didn't notice that until
trying to run things side-by-side where ld-uClibc.so.0 and
ld-uClibc.so.0.9.32 did not refer to same file.
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to