6.0.0a -Fails to build on my powerpc box (debian wheezy)
sisyphus1 at optusnet.com.au
sisyphus1 at optusnet.com.au
Mon Mar 31 07:17:56 UTC 2014
-----Original Message-----
From: Torbjorn Granlund
> sis at debian-sis:~/comp/gmp-6.0.0$ cat /proc/cpuinfo
> processor : 0
> cpu : PPC970, altivec supported
> clock : 1800.000000MHz
> revision : 2.2 (pvr 0039 0202)
>
> processor : 1
> cpu : PPC970, altivec supported
> clock : 1800.000000MHz
> revision : 2.2 (pvr 0039 0202)
>
> timebase : 33333333
> platform : PowerMac
> model : PowerMac7,2
> machine : PowerMac7,2
> motherboard : PowerMac7,2 MacRISC4 Power Macintosh
> detected as : 336 (PowerMac G5)
> pmac flags : 00000000
> L2 cache : 512K unified
> pmac-generation : NewWorld
> And for this system GMP's config.guess returns a generic "powerpc64"
> instead of the more specific "powerpc970"? Strange, the code in
> config.guess looks like it would cover the above output.
With 5.1.3 config.guess returned "powerpc970", but the code in config.guess
changed a little with 6.0.0.
The problem with the 6.0.0 version of config.guess seems to be this line:
970??) exact_cpu="powerpc970" ;;
Change that to:
970) exact_cpu="powerpc970" ;;
and we get the correct result:
sis at debian-sis:~/comp/gmp-6.0.0$ ./config.guess
powerpc970-unknown-linux-gnu
Cheers,
Rob
More information about the gmp-bugs
mailing list