Building GMP 6.0 for Ivy Bridge

Marc Glisse marc.glisse at
Fri Oct 2 13:16:55 UTC 2015

On Fri, 2 Oct 2015, Victor Shoup wrote:

> Was there some other code I was supposed to compile?
> I just stripped out the program you indicated and tried compiling that by itself,
> and got the undefined reference.

Just below, you have an asm implementation of cpuid. Copy that to a .s 
file and compile both together.

> Also, from the information I gave you on my system,
> does --build=coreisbr-unknown-linux-gnu seem like
> the right option?  Again, lscpu gives:
> Model name:            Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz
> And that is definitely an ivy bridge.

I already answered here I guess:

>>> Hmm, I would have expected config.guess to return ivybridge-unknown-linux-gnu.

(they might be equivalent though, I didn't check)

Marc Glisse

More information about the gmp-discuss mailing list