'make check' failure with disabled shared libraries on Mac OSX 10.6
Hamid G
listboss at gmail.com
Tue Nov 30 14:34:18 CET 2010
On 11/29/10 5:23 PM, Torbjorn Granlund wrote:
> Can you confirm that you get exactly one linking failure, for the symbol
> '_calling_conventions_save_esi' with the latest build?
>
>
This is the output of 'make check' from the m4 invocation point:
m4 -DHAVE_CONFIG_H x86call.asm >tmp-x86call.s
gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -I.. -m32 -O2 -pedantic
-fomit-frame-pointer -mtune=pentium3 -march=pentium3 tmp-x86call.s -o
x86call.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I.. -I.. -m32 -O2 -pedantic -fomit-frame-pointer
-mtune=pentium3 -march=pentium3 -c -o x86check.lo x86check.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -m32 -O2
-pedantic -fomit-frame-pointer -mtune=pentium3 -march=pentium3 -c
x86check.c -o x86check.o
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -m32 -O2
-pedantic -fomit-frame-pointer -mtune=pentium3 -march=pentium3 -o
libtests.la memory.lo misc.lo refmpf.lo refmpn.lo refmpq.lo refmpz.lo
spinner.lo trace.lo x86call.lo x86check.lo ../libgmp.la
libtool: link: ar cq .libs/libtests.a memory.o misc.o refmpf.o refmpn.o
refmpq.o refmpz.o spinner.o trace.o x86call.o x86check.o
libtool: link: ranlib .libs/libtests.a
libtool: link: ( cd ".libs" && rm -f "libtests.la" && ln -s
"../libtests.la" "libtests.la" )
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -m32 -O2 -pedantic
-fomit-frame-pointer -mtune=pentium3 -march=pentium3 -c t-bswap.c
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -m32 -O2
-pedantic -fomit-frame-pointer -mtune=pentium3 -march=pentium3 -o
t-bswap t-bswap.o libtests.la ../libgmp.la
libtool: link: gcc -std=gnu99 -m32 -O2 -pedantic -fomit-frame-pointer
-mtune=pentium3 -march=pentium3 -o t-bswap t-bswap.o ./.libs/libtests.a
/Users/hamid/tmp/gmp-5.0.1/.libs/libgmp.a ../.libs/libgmp.a
Undefined symbols:
"_calling_conventions_save_esi", referenced from:
_calling_conventions in libtests.a(x86call.o)
_calling_conventions in libtests.a(x86call.o)
"_calling_conventions_ebp", referenced from:
_calling_conventions in libtests.a(x86call.o)
"_calling_conventions_edi", referenced from:
_calling_conventions in libtests.a(x86call.o)
"_calling_conventions_ebx", referenced from:
_calling_conventions in libtests.a(x86call.o)
"_calling_conventions_fenv", referenced from:
_calling_conventions in libtests.a(x86call.o)
"_calling_conventions_eflags", referenced from:
_calling_conventions in libtests.a(x86call.o)
"_calling_conventions_esi", referenced from:
_calling_conventions in libtests.a(x86call.o)
"_calling_conventions_retaddr", referenced from:
_calling_conventions in libtests.a(x86call.o)
_calling_conventions in libtests.a(x86call.o)
"_calling_conventions_save_ebp", referenced from:
_calling_conventions in libtests.a(x86call.o)
_calling_conventions in libtests.a(x86call.o)
"_calling_conventions_save_edi", referenced from:
_calling_conventions in libtests.a(x86call.o)
_calling_conventions in libtests.a(x86call.o)
"_calling_conventions_save_ebx", referenced from:
_calling_conventions in libtests.a(x86call.o)
_calling_conventions in libtests.a(x86call.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [t-bswap] Error 1
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2
More information about the gmp-discuss
mailing list