GMP-4.2 build fails on G4 MacOSX 10.3.9

Ed Smith-Rowland 3dw4rd at verizon.net
Sun Apr 16 19:22:09 CEST 2006


GMP-4.2 build fails on G4 MacOSX 10.3.9.

MacOSX:~/Tarballs/gmp-4.2 ed$ ./config.guess
powerpc7450-apple-darwin7.9.0


MacOSX:~/Tarballs/gmp-4.2 ed$ uname -a
Darwin MacOSX.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30
20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power
Macintosh powerpc


MacOSX:~/Tarballs/gmp-4.2 ed$ gcc -v
Reading specs from
/usr/local/lib/gcc-lib/powerpc-apple-darwin7.9.0/3.3.6/specs
Configured with: ../sources/gcc-3.3.6/configure --enable-languages=c,gm2
--enable-checking --disable-multilib --prefix=/usr/local
Thread model: single
gcc version 3.3.6

Here's where it fails...

gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_scan1 -O2 -mpowerpc -force_cpusubtype_ALL -mcpu=7450 -c
scan1.c -o scan1.o
/bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" gcc
-c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_`echo popcount | sed 's/_$//'`    -O2 -mpowerpc
-force_cpusubtype_ALL -mcpu=7450 `test -f 'popcount.asm' || echo
'./'`popcount.asm
../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H -I. -I. -I..
-D__GMP_WITHIN_GMP -I.. -DOPERATION_popcount -O2 -mpowerpc
-force_cpusubtype_ALL -mcpu=7450 popcount.asm -o popcount.o
m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_popcount popcount.asm
>tmp-popcount.s
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_popcount -O2 -mpowerpc -force_cpusubtype_ALL -mcpu=7450
tmp-popcount.s -o popcount.o
tmp-popcount.s:122:vspltisb vector instruction is optional for the
PowerPC (not allowed without -force_cpusubtype_ALL option)
tmp-popcount.s:123:vspltisb vector instruction is optional for the
PowerPC (not allowed without -force_cpusubtype_ALL option)
.
.
.
tmp-popcount.s:230:vsum4ubs vector instruction is optional for the
PowerPC (not allowed without -force_cpusubtype_ALL option)
tmp-popcount.s:234:stvx vector instruction is optional for the PowerPC
(not allowed without -force_cpusubtype_ALL option)
make[2]: *** [popcount.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Thanks!





More information about the gmp-bugs mailing list