gmp-4.2.2 fails to build on MacOS X Tiger 10.4.11

Tudor Marian tudorm at cs.cornell.edu
Tue Jun 3 21:39:48 CEST 2008


./configure is successful with the build system type: core2-apple- 
darwin8.11.1
make fails in the following way:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -m32 -O2 - 
fomit-frame-pointer -mtune=k8 -march=k8 -c get_d.c  -fno-common -DPIC  
-o .libs/get_d.o
//var/tmp//ccomQ951.s:13:no such 386 instruction: `ffreep'
make[2]: *** [get_d.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


The system details:

tudorm at panoramix:~/data/gmp-4.2.2$ gcc -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5250.obj~20/src/configure -- 
disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- 
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg] 
[^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 -- 
build=powerpc-apple-darwin8 --with-arch=pentium-m --with- 
tune=prescott --program-prefix= --host=i686-apple-darwin8 -- 
target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5250)

tudorm at panoramix:~/data/gmp-4.2.2$ uname -a
Darwin panoramix.u.cs.cornell.edu 8.11.1 Darwin Kernel Version  
8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/ 
RELEASE_I386 i386 i386

tudorm at panoramix:~/data/gmp-4.2.2$ ./config.guess
core2-apple-darwin8.11.1

tudorm at panoramix:~/data/gmp-4.2.2$ ./configfsf.guess
i686-apple-darwin8.11.1

The contents of config.log are:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU MP configure 4.2.2, which was
generated by GNU Autoconf 2.59.  Invocation command line was

   $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = panoramix.u.cs.cornell.edu
uname -m = i386
uname -r = 8.11.1
uname -s = Darwin
uname -v = Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT  
2007; root:xnu-792.25.20~1/RELEASE_I386

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = Mach kernel version:
	 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007;  
root:xnu-792.25.20~1/RELEASE_I386
Kernel configured for up to 4 processors.
4 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 6.00 gigabytes
Default processor set: 108 tasks, 318 threads, 4 processors
Load average: 0.59, Mach factor: 3.40
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sw/bin
PATH: /sw/sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/X11R6/bin
PATH: /Users/tudorm/bin/rich
PATH: /Users/tudorm/bin/util
PATH: /usr/local/i386-linux-4.1.1/bin
PATH: /Users/tudorm/bin/rich
PATH: /Users/tudorm/bin/util
PATH: /usr/local/i386-linux-4.1.1/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1654: checking build system type
configure:1672: result: core2-apple-darwin8.11.1
configure:1680: checking host system type
configure:1694: result: core2-apple-darwin8.11.1
configure:1717: checking for a BSD-compatible install
configure:1772: result: /usr/bin/install -c
configure:1783: checking whether build environment is sane
configure:1826: result: yes
configure:1883: checking for gawk
configure:1912: result: no
configure:1883: checking for mawk
configure:1912: result: no
configure:1883: checking for nawk
configure:1912: result: no
configure:1883: checking for awk
configure:1899: found /usr/bin/awk
configure:1909: result: awk
configure:1919: checking whether make sets $(MAKE)
configure:1939: result: yes
configure:2105: checking whether to enable maintainer-specific  
portions of Makefiles
configure:2114: result: no
User:
ABI=
CC=
CFLAGS=(unset)
CPPFLAGS=(unset)
MPN_PATH=
GMP:
abilist=64 32
cclist=gcc icc cc
configure:3794: gcc 2>&1 | grep xlc >/dev/null
configure:3797: $? = 1
configure:3851: checking compiler gcc -O2 -m64
Test compile:
configure:3865: gcc -O2 -m64  conftest.c >&5
conftest.c:1: sorry, unimplemented: 64-bit mode not compiled in
configure:3868: $? = 1
failed program was:

int main () { return 0; }
configure:4874: result: no
configure:3794: gcc 2>&1 | grep xlc >/dev/null
configure:3797: $? = 1
configure:3851: checking compiler gcc -m32 -O2 -fomit-frame-pointer
Test compile:
configure:3865: gcc -m32 -O2 -fomit-frame-pointer  conftest.c >&5
configure:3868: $? = 0
configure:3873: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./ 
conftest
configure:3876: $? = 0
Test compile: function pointer return
configure:3919: gcc -m32 -O2 -fomit-frame-pointer  conftest.c >&5
configure:3922: $? = 0
configure:3927: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./ 
conftest
configure:3930: $? = 0

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=core2-apple-darwin8.11.1
ac_cv_build_alias=core2-apple-darwin8.11.1
ac_cv_env_ABI_set=
ac_cv_env_ABI_value=
ac_cv_env_CC_FOR_BUILD_set=
ac_cv_env_CC_FOR_BUILD_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_FOR_BUILD_set=
ac_cv_env_CPP_FOR_BUILD_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_M4_set=
ac_cv_env_M4_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=core2-apple-darwin8.11.1
ac_cv_host_alias=core2-apple-darwin8.11.1
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ABI=''
ACLOCAL='${SHELL} /Users/tudorm/data/gmp-4.2.2/missing --run  
aclocal-1.8'
AMTAR='${SHELL} /Users/tudorm/data/gmp-4.2.2/missing --run tar'
ANSI2KNR=''
AR=''
AS=''
AUTOCONF='${SHELL} /Users/tudorm/data/gmp-4.2.2/missing --run autoconf'
AUTOHEADER='${SHELL} /Users/tudorm/data/gmp-4.2.2/missing --run  
autoheader'
AUTOMAKE='${SHELL} /Users/tudorm/data/gmp-4.2.2/missing --run  
automake-1.8'
AWK='awk'
BITS_PER_MP_LIMB=''
CALLING_CONVENTIONS_OBJS='x86call.lo x86check$U.lo'
CC=''
CCAS=''
CC_FOR_BUILD=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CPP_FOR_BUILD=''
CXX=''
CXXCPP=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFN_LONG_LONG_LIMB=''
DEFS=''
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_STATIC_FALSE=''
ENABLE_STATIC_TRUE=''
EXEEXT=''
EXEEXT_FOR_BUILD=''
GMP_LDFLAGS=''
GMP_NAIL_BITS='0'
HAVE_CLOCK_01=''
HAVE_CPUTIME_01=''
HAVE_GETRUSAGE_01=''
HAVE_GETTIMEOFDAY_01=''
HAVE_HOST_CPU_FAMILY_power='0'
HAVE_HOST_CPU_FAMILY_powerpc='0'
HAVE_SIGACTION_01=''
HAVE_SIGALTSTACK_01=''
HAVE_SIGSTACK_01=''
HAVE_STACK_T_01=''
HAVE_SYS_RESOURCE_H_01=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBCURSES=''
LIBGMPXX_LDFLAGS=''
LIBGMP_DLL=''
LIBGMP_LDFLAGS=''
LIBM=''
LIBM_FOR_BUILD=''
LIBOBJS=''
LIBREADLINE=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
M4=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /Users/tudorm/data/gmp-4.2.2/missing --run makeinfo'
OBJDUMP=''
OBJEXT=''
PACKAGE='gmp'
PACKAGE_BUGREPORT='gmp-bugs at swox.com'
PACKAGE_NAME='GNU MP'
PACKAGE_STRING='GNU MP 4.2.2'
PACKAGE_TARNAME='gmp'
PACKAGE_VERSION='4.2.2'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
SPEED_CYCLECOUNTER_OBJ='pentium.lo'
STRIP=''
TAL_OBJECT=''
TUNE_SQR_OBJ=''
U=''
U_FOR_BUILD=''
VERSION='4.2.2'
WANT_CXX_FALSE=''
WANT_CXX_TRUE=''
WANT_MPBSD_FALSE=''
WANT_MPBSD_TRUE='#'
WITH_READLINE_01=''
YACC=''
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__leading_dot='.'
bindir='${exec_prefix}/bin'
build='core2-apple-darwin8.11.1'
build_alias=''
build_cpu='core2'
build_os='darwin8.11.1'
build_vendor='apple'
datadir='${prefix}/share'
exec_prefix='NONE'
gmp_srclinks=''
host='core2-apple-darwin8.11.1'
host_alias=''
host_cpu='core2'
host_os='darwin8.11.1'
host_vendor='apple'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/Users/tudorm/data/gmp-4.2.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='$(install_sh) -d'
mpn_objects=''
mpn_objs_in_libgmp=''
mpn_objs_in_libmp=''
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_HOST_CPU_core2 1
#define PACKAGE "gmp"
#define PACKAGE_BUGREPORT "gmp-bugs at swox.com"
#define PACKAGE_NAME "GNU MP"
#define PACKAGE_STRING "GNU MP 4.2.2"
#define PACKAGE_TARNAME "gmp"
#define PACKAGE_VERSION "4.2.2"
#define VERSION "4.2.2"
#define WANT_FFT 1

configure: caught signal 2
configure: exit 1


The contents of config.m4 are:

dnl config.m4.  Generated automatically by configure.
changequote(<,>)
ifdef(<__CONFIG_M4_INCLUDED__>,,<
define(<CONFIG_TOP_SRCDIR>,<`../.'>)
define(<WANT_ASSERT>,0)
define(<WANT_PROFILING>,<`no'>)
define(<M4WRAP_SPURIOUS>,<no>)
define(<TEXT>, <.text>)
define(<DATA>, <.data>)
define(<LABEL_SUFFIX>, <:>)
define(<GLOBL>, <.globl>)
define(<GLOBL_ATTR>, <>)
define(<GSYM_PREFIX>, <_>)
define(<RODATA>, <.text>)
define(<TYPE>, <>)
define(<SIZE>, <>)
define(<LSYM_PREFIX>, <L>)
define(<W32>, <.long>)
define(<ALIGN_LOGARITHMIC>,<yes>)
define(<ALIGN_FILL_0x90>,<yes>)
define(<HAVE_COFF_TYPE>, <no>)
define(<GOT_GSYM_PREFIX>, <>)
define(<WANT_SHLDL_CL>, <1>)
define(<SQR_KARATSUBA_THRESHOLD>,<42>)
define(<SIZEOF_UNSIGNED>,<4>)
define(<GMP_LIMB_BITS>,32)
define(<GMP_NAIL_BITS>,0)
define(<GMP_NUMB_BITS>,eval(GMP_LIMB_BITS-GMP_NAIL_BITS))
 >)
changequote(`,')
ifdef(`__CONFIG_M4_INCLUDED__',,`
include(CONFIG_TOP_SRCDIR`/mpn/asm-defs.m4')
include_mpn(`x86/x86-defs.m4')
include_mpn(`x86/darwin.m4')
define_not_for_expansion(`HAVE_HOST_CPU_core2')
define_not_for_expansion(`HAVE_ABI_32')
define_not_for_expansion(`HAVE_LIMB_LITTLE_ENDIAN')
define_not_for_expansion(`HAVE_DOUBLE_IEEE_LITTLE_ENDIAN')
')
define(`__CONFIG_M4_INCLUDED__')



Tudor




More information about the gmp-bugs mailing list