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:35:39 CEST 2008


On Jun 3, 2008, at 5:14 PM, Torbjorn Granlund wrote:

> Tudor Marian <tudorm at cs.cornell.edu> writes:
>
>   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"
>               ;;
>
> Eh?  Why would one want to do that change?
>
> Is it a workaround for the tools bug?  Then it is a poor
> workaround, since saying a core2 is a pentium4 will
> yield really suboptimal code.
>
> No GMP bug, therefore this is a closed case for this mailing lust.
>
> --  
> Torbjörn


Well, because although the code generated may be suboptimal, the  
``speedup'' would be infinite --- since now it does not work. But it  
may be too much of a nuisance to have this hack in place and then  
change it back whenever apple's bizarre gcc will decide to behave.

Thanks and ... cheers,
Tudor




More information about the gmp-bugs mailing list