Bug in configure script for PPC64 machines
tg-this-will-bounce-but-I-am-subscribed-to-the-list-honest at swox.com
Sun Feb 18 21:59:10 CET 2007
"Myria" <myriachan at cox.net> writes:
As "Fuzzy Logic" ran into on January 25, there is a bug in configure for
PowerPC Linux machines. I ran into it as well and diagnosed some of it.
On these machines, "configure" identifies the machine type as
powerpc64-unknown-linux-gnu. This causes it to select the 64-bit assembly
code. However, GCC on these machines is set to do a 32-bit compile by
default. configure recognizes that GCC is 32-bit by default, but it doesn't
switch to using the 32-bit PowerPC assembly code. The result is that "make
check" failed because some code is 32-bit and some code is 64-bit. Unlike
x86-32 and x86-64, such mixed code will compile and link.
GMP's configure knows how to put the compiler in 64-bit mode. We need
to figure out why it fails on your system. Please send the output of
running a plain configure.
More information about the gmp-bugs