[PATCH] remove duplicate interp from lib-so-y
Carmelo AMOROSO
carmelo.amoroso at st.com
Wed Jun 11 07:28:07 UTC 2008
Bernhard Fischer wrote:
> [I've already sent this some time ago and got no response]
> Hi,
>
> LD libuClibc-0.9.29.so
> ./lib/interp.os:(.interp+0x0): multiple definition of `__dl_ldso__'
> lib/interp.os:(.interp+0x0): first defined here
>
> - interp comes in via LIBs, remove erroneous duplicate prerequisite.
>
> I will apply this patch in a week from now unless somebody objects.
> thanks,
>
> Index: Makerules
> ===================================================================
> --- Makerules (revision 22286)
> +++ Makerules (working copy)
> @@ -9,7 +9,7 @@ PHONY := FORCE
> ifeq ($(HAVE_SHARED),y)
> .LIBPATTERNS: "lib%.so"
> libs: $(lib-so-y) $(lib-a-y)
> -$(lib-so-y): $(interp)
> +$(lib-so-y):
> else
> .LIBPATTERNS: "lib%.a"
> ifeq ($(UCLIBC_FORMAT_SHARED_FLAT),y)
>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
>
Hi,
I don't have this problem... instead I'm seeing the the ld.so is linked
twice
as below
[amorosoc at ctn003831 ~/uClibc-work/SVN/trunk]make -C ldso
make: Entering directory `/home/work/uClibc-work/SVN/trunk/ldso'
CC ldso/ldso/ldso.oS
In file included from ../ldso/include/dl-syscall.h:12,
from ../ldso/include/ldso.h:36,
from ../ldso/ldso/ldso.c:33:
../ldso/ldso/sh/dl-syscalls.h:9:2: warning: #warning !!! gcc 4.1 and
later have problems with __always_inline so redefined as inline
AS ldso/ldso/sh/resolve.oS
AR cr ../ldso/ldso/ld-uClibc_so.a
STRIP -x -R .note -R .comment ../ldso/ldso/ld-uClibc_so.a
LD ld-uClibc-0.9.29.so
CC ldso/ldso/ldso.oS
In file included from ./ldso/include/dl-syscall.h:12,
from ./ldso/include/ldso.h:36,
from ldso/ldso/ldso.c:33:
./ldso/ldso/sh/dl-syscalls.h:9:2: warning: #warning !!! gcc 4.1 and
later have problems with __always_inline so redefined as inline
AS ldso/ldso/sh/resolve.oS
AR cr ldso/ldso/ld-uClibc_so.a
STRIP -x -R .note -R .comment ldso/ldso/ld-uClibc_so.a
LD ld-uClibc-0.9.29.so
CC ldso/libdl/libdl.oS
This doesn't happen on nptl branch that doesn' t include recent chanegs
on build system !
Carmelo
More information about the uClibc
mailing list