gmp 5.0.1 configure failed on FreeBSD 8.0 (QEMU)

Torbjorn Granlund tg at gmplib.org
Sun Aug 8 14:03:39 CEST 2010


Nikolay Semenov <sumpage at gmail.com> writes:

  Standard install process:
  cd /usr/ports/math/gmp
  make install clean

This should then perhaps be reported to the ports maintainer, not to us.
We cannot directly support the modified GMP versions used in the dozens
of package systems out there.
  
  The error I get:
  configure: error: ABI=64 is not among the following valid choices: 32
  ===>  Script "configure" failed unexpectedly.
  
  I include log file as an attachemnt
  from /usr/ports/math/gmp/work/gmp-5.0.1/config.log
  
The system identifies itself as "pentium2", a 32-bit processor.

  THe CPU is visible to the system, according to /var/run/dmesg.boot:
  
  CPU: QEMU Virtual CPU version 0.9.1 (2666.75-MHz K8-class CPU)
    Origin = "GenuineIntel"  Id = 0x623  Stepping = 3
    Features=0x783fbfd<FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2>
    Features2=0x80000001<SSE3,<b31>>
    AMD Features=0x20100800<SYSCALL,NX,LM>

This looks like a pentium2, as per Id = 0x623.  The features and the id
are inconsistent.
  
  ./configure ABI=32
  configure: error: Oops, mp_limb_t is 64 bits, but the assembler code
  in this configuration expects 32 bits.
  
Another problem, surely a problems with the FreeBSD ports system.

-- 
Torbjörn


More information about the gmp-bugs mailing list