gmp-4.2.2 fails to build on MacOS X Tiger 10.4.11

Tudor Marian tudorm at cs.cornell.edu
Tue Jun 3 23:03:02 CEST 2008


On Jun 3, 2008, at 4:09 PM, Torbjorn Granlund wrote:

> Tudor Marian <tudorm at cs.cornell.edu> writes:
>
>   ./configure is successful with the build system type: core2-apple-
>   darwin8.11.1
>   make fails in the following way:
>
>   gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -m32 -O2 -
>   fomit-frame-pointer -mtune=k8 -march=k8 -c get_d.c  -fno-common - 
> DPIC
>   -o .libs/get_d.o
>   //var/tmp//ccomQ951.s:13:no such 386 instruction: `ffreep'
>   make[2]: *** [get_d.lo] Error 1
>   make[1]: *** [all-recursive] Error 1
>   make: *** [all] Error 2
>
> This is not a GMP bug.
>
> The compiler you are using is generating code the assembler cannot
> cope with.
>
> -- 
> Torbjörn


Why not just change ``configure'' so that for the darwin arch and  
core2 processor it's like this (which works by the way with apple's  
modified gcc compiler):

         core2)
             gcc_cflags_cpu="-mtune=prescott -mcpu=prescott"
             gcc_cflags_arch="=-march=prescott"
             ;;

Tudor




More information about the gmp-bugs mailing list