From 44963e4af74989e72f414fc42f7c6c845f62f476 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Tue, 28 Sep 2004 20:52:14 +0000 Subject: [PATCH] Fix Solaris 10_x86 shared build. -Bsymbolic is required to avoid "remaining relocations" in assembler modules. The latter seems to be new behaviour, elder as/ld managed to resolve this relocations as internal. It's possible to address this problem differently, but I settle for -Bsymbolic... PR: 946 --- Makefile.org | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.org b/Makefile.org index 221ff86ad2..7a30acac3c 100644 --- a/Makefile.org +++ b/Makefile.org @@ -414,6 +414,7 @@ do_solaris-shared: set -x; ${CC} ${SHARED_LDFLAGS} -G -dy -z text \ -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ -h lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ + -Wl,-Bsymbolic \ $${MINUSZ}allextract lib$$i.a $${MINUSZ}defaultextract \ $$libs ${EX_LIBS} -lc ) || exit 1; \ libs="-l$$i $$libs"; \ -- 2.40.0