From 1d1c9af24528d503655c0ee638c66b293844512c Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Sun, 28 Jul 1996 04:46:46 +0000 Subject: [PATCH] For some reason, I allowd symbols from libc to overide symbols from the shared library when building AIX shared libraries without gcc. This is broken and fails when using gssrpc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8856 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/ChangeLog | 5 +++++ src/util/makeshlib.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/util/ChangeLog b/src/util/ChangeLog index ab39db25d..439fe79a9 100644 --- a/src/util/ChangeLog +++ b/src/util/ChangeLog @@ -1,3 +1,8 @@ +Sun Jul 28 00:43:16 1996 Sam Hartman + + * makeshlib.sh (aix Allow symbols for the shared library to + overide symbols from libc. + Wed Jul 10 00:52:28 1996 Marc Horowitz * Makefile.in (all-unix): "install" the db2 headers and libs with diff --git a/src/util/makeshlib.sh b/src/util/makeshlib.sh index 5b6062278..e017406f4 100644 --- a/src/util/makeshlib.sh +++ b/src/util/makeshlib.sh @@ -109,7 +109,7 @@ ar cq $library $FILES || exit $? then if test "$HAVE_GCC" = "yes" ; then $CC -o shr.o.$VERSION $library -nostartfiles -Xlinker -bgcbypass:1 -Xlinker -bfilelist -Xlinker -bM:SRE -Xlinker -bE:${library}.syms $ldflags $liblist $libdirfl - else ld -o shr.o.$VERSION $library -H512 -T512 -bM:SRE -lc $ldflags -bfilelist -bgcbypass:1 -bnodelcsect -x -bE:${library}.syms $libdirfl $liblist + else ld -o shr.o.$VERSION $library -H512 -T512 -bM:SRE $ldflags -bfilelist -bgcbypass:1 -bnodelcsect -x -bE:${library}.syms $libdirfl $liblist -lc fi stat=$? if [ $stat -eq 0 ] -- 2.26.2