bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gmp-3.1.1 failed to build on MacOS 10.1.1


From: dale ranta
Subject: gmp-3.1.1 failed to build on MacOS 10.1.1
Date: Tue, 4 Dec 2001 09:08:26 -0800

    Hi bug-gmp,

    gmp-3.1.1 failed to build on MacOS 10.1.1 and this is the output-


[dranta:~/gmp/gmp-3.1.1] dir% configure --prefix=/Users/dir/gmp/gmp-3.1.1
loading cache ./config.cache
checking host system type... (cached) powerpc-apple-darwin5.1
checking target system type... (cached) powerpc-apple-darwin5.1
checking build system type... (cached) powerpc-apple-darwin5.1
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... (cached) awk
checking whether make sets ${MAKE}... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for BSD-compatible nm... (cached) /usr/bin/nm -p
checking for gcc... no
checking if the C compiler (gcc) works with flags -g -O2 -mpowerpc... no
checking for cc... cc
checking if the C compiler (cc) works with flags -g... yes
checking whether the C compiler (cc -g  ) works... yes
checking whether the C compiler (cc -g  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
(cached) checking how to run the C preprocessor... (cached) cc -E 
-traditional-cpp
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking for suitable m4... (cached) m4
checking for ar... (cached) ar
checking how to switch to text section... (cached) .text
checking how to switch to data section... (cached) .data
checking how to export a symbol... (cached) .globl
checking what assembly label suffix to use... (cached) :
checking how the .type assembly directive should be used... (cached) dnl
checking if the .size assembly directive works... (cached) dnl
checking what prefix to use for a local label... (cached) L
checking how to define a 32-bit word... (cached) .long
checking if symbols are prefixed by underscore... (cached) yes
checking if .align assembly directive is logarithmic... (cached) yes
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for EMX OS/2 environment... (cached) no
checking for executable suffix... (cached) no
checking for object suffix... (cached) o
checking build system type... (cached) powerpc-apple-darwin5.1
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for /usr/bin/ld option to reload object files... (cached) -r
checking how to recognise dependant libraries... (cached) unknown
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
loading cache ./config.cache within ltconfig
checking for objdir... .libs
checking for cc option to produce PIC... (cached)  -fPIC
checking if cc PIC flag  -fPIC works... (cached) yes
checking if cc static flag  works... (cached) no
checking if cc supports -c -o file.o... ~/gmp/gmp-3.1.1/conftest
yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... no
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... no
checking command to parse /usr/bin/nm -p output... ok
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
loading cache ./config.cache
checking whether optarg is declared... (cached) no
checking for ANSI C header files... (cached) yes
checking for getopt.h... (cached) no
checking for unistd.h... (cached) yes
checking for sys/sysctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for void... (cached) yes
checking for preprocessor stringizing operator... (cached) yes
checking for getopt_long... (cached) no
checking for getpagesize... (cached) yes
checking for popen... (cached) yes
checking for processor_info... (cached) yes
checking for strtoul... (cached) yes
checking for sysconf... (cached) yes
checking for sysctlbyname... (cached) yes
checking if ansi2knr should be used... (cached) no
creating config.m4
creating ./config.status
creating Makefile
creating mpf/Makefile
creating mpz/Makefile
creating mpn/Makefile
creating mpq/Makefile
creating mpf/tests/Makefile
creating mpz/tests/Makefile
creating mpq/tests/Makefile
creating mpn/tests/Makefile
creating tests/Makefile
creating tests/rand/Makefile
creating demos/Makefile
creating tune/Makefile
creating mpbsd/Makefile
creating mpbsd/tests/Makefile
creating mpfr/Makefile
creating mpfr/tests/Makefile
creating config.h
config.h is unchanged
linking ./mpn/generic/inlines.c to mpn/inlines.c
linking ./mpn/powerpc32/add_n.asm to mpn/add_n.asm
linking ./mpn/powerpc32/sub_n.asm to mpn/sub_n.asm
linking ./mpn/powerpc32/mul_1.asm to mpn/mul_1.asm
linking ./mpn/powerpc32/addmul_1.asm to mpn/addmul_1.asm
linking ./mpn/powerpc32/submul_1.asm to mpn/submul_1.asm
linking ./mpn/powerpc32/lshift.asm to mpn/lshift.asm
linking ./mpn/powerpc32/rshift.asm to mpn/rshift.asm
linking ./mpn/generic/diveby3.c to mpn/diveby3.c
linking ./mpn/generic/divrem.c to mpn/divrem.c
linking ./mpn/generic/divrem_1.c to mpn/divrem_1.c
linking ./mpn/generic/divrem_2.c to mpn/divrem_2.c
linking ./mpn/generic/mod_1.c to mpn/mod_1.c
linking ./mpn/generic/mod_1_rs.c to mpn/mod_1_rs.c
linking ./mpn/generic/pre_mod_1.c to mpn/pre_mod_1.c
linking ./mpn/generic/dump.c to mpn/dump.c
linking ./mpn/generic/mul.c to mpn/mul.c
linking ./mpn/generic/mul_fft.c to mpn/mul_fft.c
linking ./mpn/generic/mul_n.c to mpn/mul_n.c
linking ./mpn/generic/mul_basecase.c to mpn/mul_basecase.c
linking ./mpn/generic/sqr_basecase.c to mpn/sqr_basecase.c
linking ./mpn/generic/random.c to mpn/random.c
linking ./mpn/generic/random2.c to mpn/random2.c
linking ./mpn/generic/sqrtrem.c to mpn/sqrtrem.c
linking ./mpn/generic/get_str.c to mpn/get_str.c
linking ./mpn/generic/set_str.c to mpn/set_str.c
linking ./mpn/generic/scan0.c to mpn/scan0.c
linking ./mpn/generic/scan1.c to mpn/scan1.c
linking ./mpn/generic/popcount.c to mpn/popcount.c
linking ./mpn/generic/hamdist.c to mpn/hamdist.c
linking ./mpn/generic/cmp.c to mpn/cmp.c
linking ./mpn/generic/perfsqr.c to mpn/perfsqr.c
linking ./mpn/generic/bdivmod.c to mpn/bdivmod.c
linking ./mpn/generic/gcd_1.c to mpn/gcd_1.c
linking ./mpn/generic/gcd.c to mpn/gcd.c
linking ./mpn/generic/gcdext.c to mpn/gcdext.c
linking ./mpn/generic/tdiv_qr.c to mpn/tdiv_qr.c
linking ./mpn/generic/bz_divrem_n.c to mpn/bz_divrem_n.c
linking ./mpn/generic/sb_divrem_mn.c to mpn/sb_divrem_mn.c
linking ./mpn/generic/jacbase.c to mpn/jacbase.c
linking ./mpn/powerpc32/gmp-mparam.h to gmp-mparam.h
[dranta:~/gmp/gmp-3.1.1] dir% cat config.m4
dnl config.m4.  Generated automatically by configure.
changequote(<,>)dnl
ifdef(<__CONFIG_M4_INCLUDED__>,,<
define(<TEXT>, <.text>)
define(<DATA>, <.data>)
define(<GLOBL>, <.globl>)
define(<LABEL_SUFFIX>, <$1:>)
define(<TYPE>, <dnl>)
define(<SIZE>, <dnl>)
define(<LSYM_PREFIX>, <L>)
define(<W32>, <.long>)
define(<GSYM_PREFIX>, <_>)
define(<ALIGN_LOGARITHMIC>,<yes>)
dnl  CONFIG_TOP_SRCDIR is a path from the mpn builddir to the top srcdir
define(<CONFIG_TOP_SRCDIR>,<`../.'>)
define(<KARATSUBA_SQR_THRESHOLD>,<46>)
>)
changequote(`,')dnl
ifdef(`__CONFIG_M4_INCLUDED__',,`
include(CONFIG_TOP_SRCDIR`/mpn/asm-defs.m4')
define_not_for_expansion(`HAVE_TARGET_CPU_powerpc')
include_mpn(`powerpc32/regmap.m4')
')
define(`__CONFIG_M4_INCLUDED__')
[dranta:~/gmp/gmp-3.1.1] dir% cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure version 2.14a, executed with
 > configure  --prefix=/Users/dir/gmp/gmp-3.1.1

configure:636: checking host system type
configure:672: checking target system type
configure:707: checking build system type
configure:778: checking for a BSD compatible install
configure:835: checking whether build environment is sane
configure:906: checking for mawk
configure:939: checking whether make sets ${MAKE}
configure:1029: checking whether to enable maintainer-specific portions of 
Makefiles
configure:1352: checking for BSD-compatible nm
configure:1418: checking for gcc
configure:1498: checking if the C compiler (gcc) works with flags -g -O2 
-mpowerpc
configure:1508: gcc -o conftest -g -O2 -mpowerpc   conftest.c  1>&5
configure: command not found: gcc [1507]
configure: failed program was:

#line 1503 "configure"
#include "confdefs.h"

int main(){return(0);}
configure:1418: checking for cc
configure:1498: checking if the C compiler (cc) works with flags -g
configure:1508: cc -o conftest -g   conftest.c  1>&5
configure:1868: checking whether the C compiler (cc -g  ) works
configure:1884: cc -o conftest -g   conftest.c  1>&5
configure:1910: checking whether the C compiler (cc -g  ) is a cross-compiler
configure:1915: checking whether we are using GNU C
configure:1956: checking how to run the C preprocessor
configure:2050: checking for a BSD compatible install
configure:2107: checking whether ln -s works
configure:2128: checking for suitable m4
configure:2178: checking for ar
configure:2216: checking how to switch to text section
configure:2235: checking how to switch to data section
configure:2253: checking how to export a symbol
configure:2267: checking what assembly label suffix to use
configure:2281: checking how the .type assembly directive should be used
configure:2302: checking if the .size assembly directive works
configure:2319: checking what prefix to use for a local label
configure:2359: checking how to [define] a 32-bit word
configure:2412: checking if symbols are prefixed by underscore
configure:2449: checking if .align assembly directive is logarithmic
configure:2822: checking for Cygwin environment
configure:2856: checking for mingw32 environment
configure:2887: checking for EMX OS/2 environment
configure:2919: checking for executable suffix
configure:2950: checking for object suffix
configure:3044: checking build system type
configure:3090: checking for ld used by GCC
configure:3158: checking if the linker (/usr/bin/ld) is GNU ld
configure:3173: checking for /usr/bin/ld option to reload object files
configure:3184: checking how to recognise dependant libraries
configure:3446: checking for ranlib
configure:3518: checking for strip
ltconfig:563:checking for cc option to produce PIC
ltconfig:693:checking that cc PIC flag  -fPIC works.
ltconfig:754: checking if cc static flag  works
ltconfig:799: checking if cc supports -c -o file.o
ltconfig:800: cc -c -g -o out/conftest2.o  conftest.c 1>&5
ltconfig:832: checking if cc supports -c -o file.lo
ltconfig:833: cc -c -g -c -o conftest.lo  conftest.c 1>&5
ltconfig:884: checking if cc supports -fno-rtti -fno-exceptions
ltconfig:885: cc -c -g -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
ltconfig:1867: checking if global_symbol_pipe works
ltconfig:1868: cc -c -g  conftest.c 1>&5
ltconfig:1871: eval "/usr/bin/nm -p conftest.o | sed -n -e 's/^.*[      
]\([BCDEGRST]\)[ ][ 
cannot find nm_test_var in conftest.nm
ltconfig:1867: checking if global_symbol_pipe works
ltconfig:1868: cc -c -g  conftest.c 1>&5
ltconfig:1871: eval "/usr/bin/nm -p conftest.o | sed -n -e 's/^.*[      
]\([BCDEGRST]\)[ ][ 
ltconfig:1923: cc -o conftest -g -fno-builtin -fno-rtti -fno-exceptions   
conftest.c conftstm.o 1>&5
configure:3769: checking whether optarg is declared
configure:3813: checking for ANSI C header files
configure:3940: checking for getopt.h
configure:3940: checking for unistd.h
configure:3940: checking for sys/sysctl.h
configure:3940: checking for sys/time.h
configure:3976: checking for void
configure:4015: checking for preprocessor stringizing operator
configure:4053: checking for getopt_long
configure:4053: checking for getpagesize
configure:4053: checking for popen
configure:4053: checking for processor_info
configure:4053: checking for strtoul
configure:4053: checking for sysconf
configure:4053: checking for sysctlbyname
configure:4108: checking if ansi2knr should be used
[dranta:~/gmp/gmp-3.1.1] dir% make
make  all-recursive
Making all in mpn
Making all in tests
make[3]: Nothing to be done for `all'.
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. 
-DOPERATION_mp_bases    -g -c -o mp_bases.lo mp_bases.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_mp_bases -g -c mp_bases.c -o 
mp_bases.o
echo timestamp > mp_bases.lo
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. 
-DOPERATION_inlines    -g -c -o inlines.lo inlines.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_inlines -g -c inlines.c -o 
inlines.o
echo timestamp > inlines.lo
m4 -DPIC -DOPERATION_add_n add_n.asm >tmp-add_n.s
/bin/sh ../libtool --mode=compile cc -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. 
-DOPERATION_add_n    -g tmp-add_n.s -o add_n.lo
cc -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_add_n -g tmp-add_n.s -o 
add_n.o
tmp-add_n.s:38:Parameter syntax error (parameter 2)
tmp-add_n.s:39:Parameter syntax error (parameter 1)
tmp-add_n.s:40:Parameter syntax error (parameter 1)
tmp-add_n.s:41:Parameter syntax error (parameter 1)
tmp-add_n.s:42:Parameter syntax error (parameter 1)
tmp-add_n.s:44:Parameter syntax error (parameter 1)
tmp-add_n.s:45:Parameter syntax error (parameter 1)
tmp-add_n.s:46:Parameter syntax error (parameter 1)
tmp-add_n.s:47:Parameter syntax error (parameter 1)
tmp-add_n.s:49:Parameter syntax error (parameter 1)
tmp-add_n.s:50:Parameter syntax error (parameter 1)
tmp-add_n.s:51:Parameter syntax error (parameter 1)
tmp-add_n.s:52:Parameter syntax error (parameter 1)
tmp-add_n.s:55:Parameter syntax error (parameter 1)
tmp-add_n.s:56:Parameter syntax error (parameter 1)
tmp-add_n.s:57:Parameter syntax error (parameter 1)
tmp-add_n.s:58:Parameter syntax error (parameter 1)
tmp-add_n.s:60:Parameter syntax error (parameter 1)
tmp-add_n.s:61:Parameter syntax error (parameter 1)
tmp-add_n.s:62:Parameter synmake[3]: *** [add_n.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
[dranta:~/gmp/gmp-3.1.1] dir% cc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/2.95.2/specs
Apple Computer, Inc. version gcc-932.1, based on gcc version 2.95.2 19991024 
(release)
[dranta:~/gmp/gmp-3.1.1] dir% uname -a
Darwin dranta.saic.com 5.1 Darwin Kernel Version 5.1: Tue Oct 30 00:06:34 PST 
2001; root:xnu/xnu-201.5.obj~1/RELEASE_PPC  Power Macintosh powerpc
[dranta:~/gmp/gmp-3.1.1] dir% 



   Dale.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]