gmp 5.0.1 configure failed on FreeBSD 8.0 (QEMU)

Nikolay Semenov sumpage at gmail.com
Sun Aug 8 13:38:53 CEST 2010


Hi,

I am trying to install gmp 5.0.1 on FreeBSD 8.0-p4 (amd64 mode)
from ports (ports tree itself was updated with portsnap today).

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

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 itself is a Virtual private server, with QEMU virtualization engine on the host.

uname-a said:
8.0-RELEASE-p4 FreeBSD 8.0-RELEASE-p4 #0: Mon Jul 12 20:55:11 UTC 2010 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64


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>

I receive this error also (main reason I am writing to you)
when I try to "make buildworld" - I need to upgrade to FreeBSD 8.1
from sources, but can't because of this error.

Please, let me know of quick hacks, if any, to deal with the issue.
I will send you all additional information, if needed.

Regards,
Nikolay


PS. I have tried to run configure script in the port's working directory manually, but again errors.

./configure ABI=32
configure: error: Oops, mp_limb_t is 64 bits, but the assembler code
in this configuration expects 32 bits.

./configure ABI=64
configure: error: ABI=64 is not among the following valid choices: 32
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmp-configure-log.text
Type: application/octet-stream
Size: 8161 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20100808/f3a9cf17/attachment.obj>


More information about the gmp-bugs mailing list