Error building tuneup

Mats SX mats.sxz at gmail.com
Wed Oct 2 17:13:17 CEST 2013


2013/10/2 Torbjorn Granlund <tg at gmplib.org>

> Mats SX <mats.sxz at gmail.com> writes:
>
>   ./configure --enable-fat ABI=64 CFLAGS="-march=corei7-avx
> -mtune=corei7-avx
>   -m64 -O3" --enable-cxx CXX=g++ CXXFLAGS="-march=corei7-avx
> -mtune=corei7-avx -m64 -O3"
>
> I don't think the tune/ stuff will work in a fat build.  You need to
> choose a CPU (or let configure (via config.guess) do it).
>

You were correct. After a few hours more of troubleshooting, I managed to
get it all to work without the --enable-fat flag (presumably with less
performance?). But when you say I need to choose a CPU, I thought this was
done by config.guess for me, even though I specified other flags?


>   (As far as I've gathered, sandybridge support will not be available for
>   assembler code in GMP until 5.2.)
>
> We have lots of sandybridge optimised assembly files and a parameter
> file (see mpn/x86_64/coreisbr/) already in 5.1.  It will be better in
> 5.2.
>

Oh. In the manual, coreisbr wasn't present as an alternative in the list of
CPUs. Maybe that is just the manual not being updated. Thanks!


More information about the gmp-bugs mailing list