'make check' fails for gmp 4.1.4 build on OSX 10.4

OpenMacNews OpenMacNews at speakeasy.net
Tue May 10 00:48:15 CEST 2005


hi,

	> # If it doesn't run without errors, don't trust the library,
	> # and please report this as a bug to the gmp-bugs at swox.com

after ages of successful building of gmp-4.1.4 on osx 10.3.x, a new attempt at 
build on osx 10.4 results in a 'make check' failure.

specifically, after a successful:

	% ./configure \
	--prefix=/usr/local \
	--enable-cxx \
	--enable-fft \
	--enable-mpbsd \
	--enable-mpfr \
	--enable-static \
	--disable-shared

and

	% make

a subsequent

	% make check

fails at:

	Making check in cxx
	make  t-cast t-headers t-ostream t-locale t-constr t-expr
	/bin/sh ../../libtool --mode=link g++  -g -O2 -mpowerpc -no-cpp-precomp 
-mcpu=7450   -o t-cast  t-cast.o ../../tests/libtests.la ../../libgmpxx.la 
../../libgmp.la
	g++ -g -O2 -mpowerpc -no-cpp-precomp -mcpu=7450 -o t-cast t-cast.o 
../../tests/.libs/libtests.a ../../.libs/libgmpxx.a 
/usr/ports/gmp-4.1.4/.libs/libgmp.a -L/usr/lib/gcc/powerpc-apple-darwin8/4.0.0 
-L/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../.. -lstdc++ -lgcc_s -lgcc 
-lSystemStubs -lmx -lSystem -lcrt1.o -lstdc++ -lgcc_s -lgcc -lSystemStubs -lmx 
-lSystem ../../.libs/libgmp.a
	/usr/bin/ld: multiple definitions of symbol _NXArgc
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of _NXArgc 
in section (__DATA,__data)
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of _NXArgc 
in section (__DATA,__data)
	/usr/bin/ld: multiple definitions of symbol _NXArgv
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of _NXArgv 
in section (__DATA,__data)
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of _NXArgv 
in section (__DATA,__data)
	/usr/bin/ld: multiple definitions of symbol ___progname
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of 
___progname in section (__DATA,__data)
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of 
___progname in section (__DATA,__data)
	/usr/bin/ld: multiple definitions of symbol __dyld_func_lookup
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private external 
definition of __dyld_func_lookup in section (__TEXT,__text)
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private external 
definition of __dyld_func_lookup in section (__TEXT,__text)
	/usr/bin/ld: multiple definitions of symbol __dyld_init_check
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private external 
definition of __dyld_init_check in section (__TEXT,__text)
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private external 
definition of __dyld_init_check in section (__TEXT,__text)
	/usr/bin/ld: multiple definitions of symbol __start
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private external 
definition of __start in section (__TEXT,__text)
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private external 
definition of __start in section (__TEXT,__text)
	/usr/bin/ld: multiple definitions of symbol _environ
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of 
_environ in section (__DATA,__data)
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of 
_environ in section (__DATA,__data)
	/usr/bin/ld: multiple definitions of symbol dyld_stub_binding_helper
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private external 
definition of dyld_stub_binding_helper in section (__TEXT,__text)
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private external 
definition of dyld_stub_binding_helper in section (__TEXT,__text)
	/usr/bin/ld: multiple definitions of symbol start
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of start 
in section (__TEXT,__text)
	/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of start 
in section (__TEXT,__text)
	collect2: ld returned 1 exit status
	make[3]: *** [t-cast] Error 1
	make[2]: *** [check-am] Error 2
	make[1]: *** [check-recursive] Error 1
	make: *** [check-recursive] Error 1

pls let me know if/how i can help fyrther.

cheers,

richard


More information about the gmp-bugs mailing list