gmp-5.1.3: architecture detection failure?

Yves Caniou yves.caniou at
Mon Nov 18 09:41:38 UTC 2013

[Mail sent was not complete]

*** uname -a
aarbelaez-desktop:~/Bin/gmp-5.1.3>uname -a
Linux aarbelaez-desktop 3.5.0-43-generic #66~precise1-Ubuntu SMP Thu Oct 24 14:52:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

*** output from running ‘./config.guess’, and from running ‘./configfsf.guess’ are not the same


Dear All

I join the [corei7_]config.log produced when configuring gmp letting it guess the architecture.
gmp uses -mtune=corei7 -march=corei7
The architecture is Intel(R) Xeon(R) CPU           W3670  @ 3.20GHz
Note that "make check" does not report any error.
Errors only appeared during the "make check" of mpc-1.0.1.
-- I wrote on their mailing list first.

If I force the architecture with
./configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/home/ycaniou/bin/amd64/4.6.3/gmp --enable-cxx --enable-assert
then gmp uses -m64  -mtune=k8 and everything happens fine for all projects.
I join the produced [arch__]config.log.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: arch__config.log
Type: text/x-log
Size: 264366 bytes
Desc: not available
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: corei7__config.log
Type: text/x-log
Size: 265774 bytes
Desc: not available
URL: <>

More information about the gmp-bugs mailing list