bug-gmp
[Top][All Lists]
Advanced

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

GMP 64 bit configure for Solaris 8 and 9 fails


From: Paul Dubuc
Subject: GMP 64 bit configure for Solaris 8 and 9 fails
Date: Fri, 25 Feb 2005 08:45:37 -0500
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.5) Gecko/20041221


Bug report.  See attached file(s)

gcc -v
Reading specs from 
/vol/gnu/gcc-3.3.4/lib/gcc-lib/sparc-sun-solaris2.8/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/vol/gnu/gcc-3.3.4 --enable-shared --enable-threads --enable-cpp --enable-languages=c++ --with-gnu-as --with-as=/vol/gnu/gcc-3.3.4/bin/as --with-gnu-ld --with-ld=/vol/gnu/gcc-3.3.4/bin/ld --host=sparc-sun-solaris2.8
Thread model: posix
gcc version 3.3.4

 uname -a
SunOS srv45 5.8 Generic_117350-05 sun4u sparc SUNW,Sun-Fire

same problem on

uname -a
SunOS srv13 5.9 Generic_117171-12 sun4u sparc SUNW,Sun-Fire

./config.guess
ultrasparc3-sun-solaris2.8

./configfsf.guess
sparc-sun-solaris2.8

same problem on

./config.guess
ultrasparc3-sun-solaris2.9

./configfsf.guess
sparc-sun-solaris2.9
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.52.  Invocation command line was

  $ ../gmp-4.1.4/configure ABI=64 --enable-cxx 
--prefix=/volws/pmd25/ldatae/gmp64

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

hostname = srv13
uname -m = sun4u
uname -r = 5.9
uname -s = SunOS
uname -v = Generic_117171-12

/usr/bin/uname -p = sparc
/bin/uname -X     = System = SunOS
Node = srv13
Release = 5.9
KernelID = Generic_117171-12
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 8

/bin/arch              = sun4
/usr/bin/arch -k       = sun4u
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH = 
/vol/gnu/gcc-3.3.4/bin:/vol/gnu/bin:/projects/gnu/bin:/vobs/dx/local/bin/sun5:/home/pmd25/bin/SunOS:/home/pmd25/bin:/home/pmd25/gnu/bin:/projects/gnu/bin:/usr/local/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/opt/SUNWsmtv/bin:/cas/bin/sun4:/cas/abin/sun4:/cas/X11/sun4/bin:/usr/ccs/bin:/lprod/bin:/usr/sbin:/usr/ucb:/cas/tools/bin/sun4:/cas/X11/sun4/tools/bin:/opt/staroffice7/program:/home/pmd25/bin:/opt/staroffice7/program:/projects/n942v7/bin:/usr/atria/bin:/vol/mrdev1/bin:/vol/mrdev1/ct/bin

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

configure:1204: PATH=".;."; conftest.sh
../gmp-4.1.4/configure: conftest.sh: not found
configure:1207: $? = 1
configure:1282: checking build system type
configure:1300: result: ultrasparc3-sun-solaris2.9
configure:1307: checking host system type
configure:1321: result: ultrasparc3-sun-solaris2.9
configure:1347: checking for a BSD compatible install
configure:1396: result: /projects/gnu/bin/ginstall -c
configure:1407: checking whether build environment is sane
configure:1450: result: yes
configure:1483: checking for mawk
configure:1509: result: no
configure:1483: checking for gawk
configure:1498: found /projects/gnu/bin/gawk
configure:1506: result: gawk
configure:1516: checking whether make sets ${MAKE}
configure:1536: result: yes
configure:1627: checking whether to enable maintainer-specific portions of 
Makefiles
configure:1636: result: no
configure:1083: User:
ABI=64
CC=
CFLAGS=(unset)
CPPFLAGS=(unset)
MPN_PATH=
configure:1089: GMP:
abilist=64 32
cclist=gcc acc cc
configure:2864: gcc 2>&1 | grep xlc >/dev/null
configure:2867: $? = 1
configure:2898: checking compiler gcc -g -O2 -m64 -mptr64 -Wa,-xarch=v9 
-mcpu=v9 
configure:2926: gcc -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c >&5
configure:2929: $? = 0
configure:2933: ./a.out || ./a.exe || ./conftest
configure:2936: $? = 0
configure:2945: result: yes
configure:3363: checking for gcc
configure:3386: result: gcc
configure:3614: checking for C compiler version
configure:3617: gcc --version </dev/null >&5
gcc (GCC) 3.3.4
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3620: $? = 0
configure:3622: gcc -v </dev/null >&5
Reading specs from 
/vol/gnu/gcc-3.3.4/lib/gcc-lib/sparc-sun-solaris2.8/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/vol/gnu/gcc-3.3.4 
--enable-shared --enable-threads --enable-cpp --enable-languages=c++ 
--with-gnu-as --with-as=/vol/gnu/gcc-3.3.4/bin/as --with-gnu-ld 
--with-ld=/vol/gnu/gcc-3.3.4/bin/ld --host=sparc-sun-solaris2.8
Thread model: posix
gcc version 3.3.4
configure:3625: $? = 0
configure:3627: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:3630: $? = 1
configure:3650: checking for C compiler default output
configure:3653: gcc -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   conftest.c  >&5
configure:3656: $? = 0
configure:3685: result: a.out
configure:3690: checking whether the C compiler works
configure:3696: ./a.out
configure:3699: $? = 0
configure:3714: result: yes
configure:3721: checking whether we are cross compiling
configure:3723: result: no
configure:3726: checking for executable suffix
configure:3728: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:3731: $? = 0
configure:3753: result: 
configure:3759: checking for object suffix
configure:3777: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:3780: $? = 0
configure:3799: result: o
configure:3803: checking whether we are using the GNU C compiler
configure:3824: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:3827: $? = 0
configure:3830: test -s conftest.o
configure:3833: $? = 0
configure:3845: result: yes
configure:3851: checking whether gcc accepts -g
configure:3869: gcc -c -g  conftest.c >&5
configure:3872: $? = 0
configure:3875: test -s conftest.o
configure:3878: $? = 0
configure:3888: result: yes
configure:3915: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
conftest.c:2: error: parse error before "me"
configure:3918: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:4024: checking for style of include used by make
configure:4051: result: GNU
configure:4057: checking dependency style of gcc
configure:4119: result: none
configure:4123: checking for gcc option to accept ANSI C
configure:4180: gcc  -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:4183: $? = 0
configure:4186: test -s conftest.o
configure:4189: $? = 0
configure:4206: result: none needed
configure:4219: checking how to run the C preprocessor
configure:4245: gcc -E  conftest.c
configure:4251: $? = 0
configure:4278: gcc -E  conftest.c
configure:4275:28: ac_nonexistent.h: No such file or directory
configure:4284: $? = 1
configure: failed program was:
#line 4274 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:4321: result: gcc -E
configure:4336: gcc -E  conftest.c
configure:4342: $? = 0
configure:4369: gcc -E  conftest.c
configure:4366:28: ac_nonexistent.h: No such file or directory
configure:4375: $? = 1
configure: failed program was:
#line 4365 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:4441: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:4444: $? = 0
configure:4447: test -s conftest.o
configure:4450: $? = 0
configure:4516: checking for g++
configure:4531: found /vol/gnu/gcc-3.3.4/bin/g++
configure:4539: result: g++
configure:4554: checking for C++ compiler version
configure:4557: g++ --version </dev/null >&5
g++ (GCC) 3.3.4
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4560: $? = 0
configure:4562: g++ -v </dev/null >&5
Reading specs from 
/vol/gnu/gcc-3.3.4/lib/gcc-lib/sparc-sun-solaris2.8/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/vol/gnu/gcc-3.3.4 
--enable-shared --enable-threads --enable-cpp --enable-languages=c++ 
--with-gnu-as --with-as=/vol/gnu/gcc-3.3.4/bin/as --with-gnu-ld 
--with-ld=/vol/gnu/gcc-3.3.4/bin/ld --host=sparc-sun-solaris2.8
Thread model: posix
gcc version 3.3.4
configure:4565: $? = 0
configure:4567: g++ -V </dev/null >&5
g++: `-V' option must have argument
configure:4570: $? = 1
configure:4573: checking whether we are using the GNU C++ compiler
configure:4594: g++ -c   conftest.cc >&5
configure:4597: $? = 0
configure:4600: test -s conftest.o
configure:4603: $? = 0
configure:4615: result: yes
configure:4621: checking whether g++ accepts -g
configure:4639: g++ -c -g  conftest.cc >&5
configure:4642: $? = 0
configure:4645: test -s conftest.o
configure:4648: $? = 0
configure:4658: result: yes
configure:4698: g++ -c -g -O2  conftest.cc >&5
configure:4701: $? = 0
configure:4704: test -s conftest.o
configure:4707: $? = 0
configure:4729: g++ -c -g -O2  conftest.cc >&5
configure: In function `int main()':
configure:4722: error: `exit' undeclared (first use this function)
configure:4722: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
configure:4732: $? = 1
configure: failed program was:
#line 4717 "configure"
#include "confdefs.h"

int
main ()
{
exit (42);
  ;
  return 0;
}
configure:4698: g++ -c -g -O2  conftest.cc >&5
configure:4701: $? = 0
configure:4704: test -s conftest.o
configure:4707: $? = 0
configure:4729: g++ -c -g -O2  conftest.cc >&5
configure:4732: $? = 0
configure:4735: test -s conftest.o
configure:4738: $? = 0
configure:4762: checking dependency style of g++
configure:4824: result: none
CXXFLAGS chosen by autoconf: -g -O2
configure:4852: checking C++ compiler g++ -g -O2 -m64 -mptr64 -Wa,-xarch=v9 
-mcpu=v9
configure:4867: g++ -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9 conftest.cc -o 
conftest >&5
configure:4870: $? = 0
configure:4873: result: yes
configure:4913: checking how to run the C++ preprocessor
configure:4935: g++ -E  conftest.cc
configure:4941: $? = 0
configure:4968: g++ -E  conftest.cc
configure:4965:28: ac_nonexistent.h: No such file or directory
configure:4974: $? = 1
configure: failed program was:
#line 4964 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:5011: result: g++ -E
configure:5026: g++ -E  conftest.cc
configure:5032: $? = 0
configure:5059: g++ -E  conftest.cc
configure:5056:28: ac_nonexistent.h: No such file or directory
configure:5065: $? = 1
configure: failed program was:
#line 5055 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:1482: Decided:
ABI=64
CC=gcc
CFLAGS=-g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9
CPPFLAGS=
GMP_LDFLAGS=-Wc,-m64
CXX=g++
CXXFLAGS=-g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9
path= sparc64 generic
configure:5168: checking for gcc option to accept ANSI C
configure:5228: gcc  -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:5231: $? = 0
configure:5234: test -s conftest.o
configure:5237: $? = 0
configure:5251: result: none needed
configure:5262: checking for function prototypes
configure:5265: result: yes
configure:5279: checking for ANSI C header files
configure:5293: gcc -E  conftest.c
configure:5299: $? = 0
configure:5386: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:5389: $? = 0
configure:5391: ./conftest
configure:5394: $? = 0
configure:5407: result: yes
configure:5420: checking for string.h
configure:5430: gcc -E  conftest.c
configure:5436: $? = 0
configure:5455: result: yes
configure:5504: checking for ar
configure:5519: found /vol/gnu/gcc-3.3.4/bin/ar
configure:5528: result: ar
configure:5556: checking for BSD-compatible nm
configure:5591: result: /vol/gnu/gcc-3.3.4/bin/nm -B
configure:5907: checking for ld used by GCC
configure:5971: result: /vol/gnu/gcc-3.3.4/bin/ld
configure:5980: checking if the linker (/vol/gnu/gcc-3.3.4/bin/ld) is GNU ld
GNU ld version 040909 20040909
configure:5992: result: yes
configure:5996: checking for /vol/gnu/gcc-3.3.4/bin/ld option to reload object 
files
configure:6003: result: -r
configure:6012: checking whether ln -s works
configure:6016: result: yes
configure:6023: checking how to recognise dependant libraries
configure:6210: result: pass_all
configure:6661: checking for dlfcn.h
configure:6671: gcc -E  conftest.c
configure:6677: $? = 0
configure:6696: result: yes
configure:6709: checking the maximum length of command line arguments
configure:6758: result: 393217
configure:6766: checking command to parse /vol/gnu/gcc-3.3.4/bin/nm -B output 
from gcc object
configure:6851: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:6854: $? = 0
configure:6858: /vol/gnu/gcc-3.3.4/bin/nm -B conftest.o \| sed -n -e 's/^.*[    
]\([ABCDGISTW][ABCDGISTW]*\)[   ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 
\2\3 \3/p' \> conftest.nm
configure:6861: $? = 0
configure:6913: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c conftstm.o >&5
configure:6916: $? = 0
configure:6954: result: ok
configure:6958: checking for objdir
configure:6973: result: .libs
configure:7056: checking for ranlib
configure:7071: found /vol/gnu/gcc-3.3.4/bin/ranlib
configure:7080: result: ranlib
configure:7130: checking for strip
configure:7145: found /vol/gnu/gcc-3.3.4/bin/strip
configure:7154: result: strip
configure:7410: checking if gcc static flag  works
configure:7433: result: yes
configure:7447: checking if gcc supports -fno-rtti -fno-exceptions
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
configure:7472: result: no
configure:7487: checking for gcc option to produce PIC
configure:7640: result: -fPIC
configure:7647: checking if gcc PIC flag -fPIC works
configure:7672: result: yes
configure:7696: checking if gcc supports -c -o file.o
configure:7737: result: yes
configure:7762: checking whether the gcc linker (/vol/gnu/gcc-3.3.4/bin/ld) 
supports shared libraries
configure:8546: result: yes
configure:8568: checking whether -lc should be explicitly linked in
configure:8573: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:8576: $? = 0
configure:8590: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 
2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
configure:8593: $? = 1
configure:8605: result: yes
configure:8611: checking how to hardcode library paths into programs
configure:8635: result: immediate
configure:8649: checking whether stripping libraries is possible
configure:8654: result: yes
configure:8661: checking dynamic linker characteristics
configure:9100: result: solaris2.9 ld.so
configure:9697: checking if libtool supports shared libraries
configure:9699: result: yes
configure:9702: checking whether to build shared libraries
configure:9723: result: yes
configure:9726: checking whether to build static libraries
configure:9730: result: yes
configure:9810: creating libtool
configure:10528: checking whether the g++ linker (/vol/gnu/gcc-3.3.4/bin/ld) 
supports shared libraries
configure:11185: result: yes
configure:11201: g++ -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.cc 
>&5
configure:11204: $? = 0
configure:11304: checking for g++ option to produce PIC
configure:11540: result: -fPIC
configure:11547: checking if g++ PIC flag -fPIC works
configure:11572: result: yes
configure:11596: checking if g++ supports -c -o file.o
configure:11637: result: yes
configure:11662: checking whether the g++ linker (/vol/gnu/gcc-3.3.4/bin/ld) 
supports shared libraries
configure:11684: result: yes
configure:11706: checking whether -lc should be explicitly linked in
configure:11711: g++ -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.cc 
>&5
configure:11714: $? = 0
configure:11728: g++ -shared -nostdlib  conftest.o   -v -Wl,-soname 
-Wl,conftest -o conftest 2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
configure:11731: $? = 1
configure:11743: result: yes
configure:11749: checking how to hardcode library paths into programs
configure:11773: result: immediate
configure:11787: checking whether stripping libraries is possible
configure:11792: result: yes
configure:11799: checking dynamic linker characteristics
configure:12238: result: solaris2.9 ld.so
configure:16491: checking for ANSI C header files
configure:16619: result: yes
configure:16629: checking whether time.h and sys/time.h may both be included
configure:16651: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:16654: $? = 0
configure:16657: test -s conftest.o
configure:16660: $? = 0
configure:16670: result: yes
configure:16696: checking for fcntl.h
configure:16706: gcc -E  conftest.c
configure:16712: $? = 0
configure:16731: result: yes
configure:16696: checking for locale.h
configure:16706: gcc -E  conftest.c
configure:16712: $? = 0
configure:16731: result: yes
configure:16696: checking for sys/mman.h
configure:16706: gcc -E  conftest.c
configure:16712: $? = 0
configure:16731: result: yes
configure:16696: checking for sys/param.h
configure:16706: gcc -E  conftest.c
configure:16712: $? = 0
configure:16731: result: yes
configure:16696: checking for sys/processor.h
configure:16706: gcc -E  conftest.c
configure:16712: $? = 0
configure:16731: result: yes
configure:16696: checking for sys/resource.h
configure:16706: gcc -E  conftest.c
configure:16712: $? = 0
configure:16731: result: yes
configure:16696: checking for sys/sysctl.h
configure:16706: gcc -E  conftest.c
configure:16703:24: sys/sysctl.h: No such file or directory
configure:16712: $? = 1
configure: failed program was:
#line 16702 "configure"
#include "confdefs.h"
#include <sys/sysctl.h>
configure:16731: result: no
configure:16696: checking for sys/syssgi.h
configure:16706: gcc -E  conftest.c
configure:16703:24: sys/syssgi.h: No such file or directory
configure:16712: $? = 1
configure: failed program was:
#line 16702 "configure"
#include "confdefs.h"
#include <sys/syssgi.h>
configure:16731: result: no
configure:16696: checking for sys/systemcfg.h
configure:16706: gcc -E  conftest.c
configure:16703:27: sys/systemcfg.h: No such file or directory
configure:16712: $? = 1
configure: failed program was:
#line 16702 "configure"
#include "confdefs.h"
#include <sys/systemcfg.h>
configure:16731: result: no
configure:16696: checking for sys/time.h
configure:16706: gcc -E  conftest.c
configure:16712: $? = 0
configure:16731: result: yes
configure:16696: checking for sys/times.h
configure:16706: gcc -E  conftest.c
configure:16712: $? = 0
configure:16731: result: yes
configure:16748: checking for sys/types.h
configure:16760: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:16763: $? = 0
configure:16766: test -s conftest.o
configure:16769: $? = 0
configure:16779: result: yes
configure:16748: checking for sys/stat.h
configure:16760: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:16763: $? = 0
configure:16766: test -s conftest.o
configure:16769: $? = 0
configure:16779: result: yes
configure:16748: checking for stdlib.h
configure:16760: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:16763: $? = 0
configure:16766: test -s conftest.o
configure:16769: $? = 0
configure:16779: result: yes
configure:16748: checking for string.h
configure:16779: result: yes
configure:16748: checking for memory.h
configure:16760: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:16763: $? = 0
configure:16766: test -s conftest.o
configure:16769: $? = 0
configure:16779: result: yes
configure:16748: checking for strings.h
configure:16760: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:16763: $? = 0
configure:16766: test -s conftest.o
configure:16769: $? = 0
configure:16779: result: yes
configure:16748: checking for inttypes.h
configure:16760: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:16763: $? = 0
configure:16766: test -s conftest.o
configure:16769: $? = 0
configure:16779: result: yes
configure:16748: checking for stdint.h
configure:16760: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:16789:20: stdint.h: No such file or directory
configure:16763: $? = 1
configure: failed program was:
#line 16754 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <stdint.h>
configure:16779: result: no
configure:16748: checking for unistd.h
configure:16760: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:16763: $? = 0
configure:16766: test -s conftest.o
configure:16769: $? = 0
configure:16779: result: yes
configure:16789: checking whether fgetc is declared
configure:16810: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:16813: $? = 0
configure:16816: test -s conftest.o
configure:16819: $? = 0
configure:16829: result: yes
configure:16843: checking whether fscanf is declared
configure:16864: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:16867: $? = 0
configure:16870: test -s conftest.o
configure:16873: $? = 0
configure:16883: result: yes
configure:16897: checking whether optarg is declared
configure:16918: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:16921: $? = 0
configure:16924: test -s conftest.o
configure:16927: $? = 0
configure:16937: result: yes
configure:16951: checking whether ungetc is declared
configure:16972: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:16975: $? = 0
configure:16978: test -s conftest.o
configure:16981: $? = 0
configure:16991: result: yes
configure:17005: checking whether vfprintf is declared
configure:17026: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:17029: $? = 0
configure:17032: test -s conftest.o
configure:17035: $? = 0
configure:17045: result: yes
configure:17060: checking return type of signal handlers
configure:17088: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:17091: $? = 0
configure:17094: test -s conftest.o
configure:17097: $? = 0
configure:17107: result: void
configure:17115: checking for intmax_t
configure:17136: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:17139: $? = 0
configure:17142: test -s conftest.o
configure:17145: $? = 0
configure:17155: result: yes
configure:17164: checking for long double
configure:17185: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:17188: $? = 0
configure:17191: test -s conftest.o
configure:17194: $? = 0
configure:17204: result: yes
configure:17213: checking for long long
configure:17234: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:17237: $? = 0
configure:17240: test -s conftest.o
configure:17243: $? = 0
configure:17253: result: yes
configure:17262: checking for ptrdiff_t
configure:17283: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:17286: $? = 0
configure:17289: test -s conftest.o
configure:17292: $? = 0
configure:17302: result: yes
configure:17311: checking for quad_t
configure:17332: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:17335: $? = 0
configure:17338: test -s conftest.o
configure:17341: $? = 0
configure:17351: result: yes
configure:17361: checking for preprocessor stringizing operator
configure:17382: result: yes
configure:17392: checking for working volatile
configure:17412: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:17415: $? = 0
configure:17418: test -s conftest.o
configure:17421: $? = 0
configure:17431: result: yes
configure:17441: checking whether <stdarg.h> exists and works
configure:17468: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:17471: $? = 0
configure:17474: test -s conftest.o
configure:17477: $? = 0
configure:17488: result: yes
configure:17498: checking whether gcc __attribute__ ((const)) works
configure:17516: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:17519: $? = 0
configure:17522: test -s conftest.o
configure:17525: $? = 0
configure:17536: result: yes
configure:17546: checking whether gcc __attribute__ ((malloc)) works
configure:17555: gcc -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  -c conftest.c 
>conftest.out 2>&1
configure:17558: $? = 0
configure:17572: result: yes
configure:17582: checking whether gcc __attribute__ ((mode (XX))) works
configure:17600: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:17603: $? = 0
configure:17606: test -s conftest.o
configure:17609: $? = 0
configure:17620: result: yes
configure:17630: checking whether gcc __attribute__ ((noreturn)) works
configure:17648: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:17651: $? = 0
configure:17654: test -s conftest.o
configure:17657: $? = 0
configure:17668: result: yes
configure:17678: checking for inline
configure:17702: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:17705: $? = 0
configure:17708: test -s conftest.o
configure:17711: $? = 0
configure:17726: result: yes
configure:17768: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:17771: $? = 0
configure:17774: test -s conftest.o
configure:17777: $? = 0
configure:17902: checking for main in -lm
configure:17922: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c -lm   >&5
configure:17925: $? = 0
configure:17928: test -s conftest
configure:17931: $? = 0
configure:17942: result: yes
configure:17953: checking for working alloca.h
configure:17971: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:17974: $? = 0
configure:17977: test -s conftest
configure:17980: $? = 0
configure:17990: result: yes
configure:18000: checking for alloca (via gmp-impl.h)
configure:18026: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18029: $? = 0
configure:18032: test -s conftest
configure:18035: $? = 0
configure:18045: result: yes
configure:18055: checking how to allocate temporary memory
configure:18079: result: alloca
configure:18150: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:18153: $? = 0
configure:18156: test -s conftest.o
configure:18159: $? = 0
configure:18208: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure:18211: $? = 0
configure:18214: test -s conftest.o
configure:18217: $? = 0
configure:18243: checking whether byte ordering is bigendian
configure:18268: gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  conftest.c 
>&5
configure: In function `main':
configure:18259: error: `bogus' undeclared (first use in this function)
configure:18259: error: (Each undeclared identifier is reported only once
configure:18259: error: for each function it appears in.)
configure:18259: error: parse error before "endian"
configure:18271: $? = 1
configure: failed program was:
#line 18251 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>

int
main ()
{
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 bogus endian macros
#endif

  ;
  return 0;
}
configure:18344: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18347: $? = 0
configure:18349: ./conftest
configure:18352: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 18328 "configure"
#include "confdefs.h"
int
main ()
{
  /* Are we little or big endian?  From Harbison&Steele.  */
  union
  {
    long l;
    char c[sizeof (long)];
  } u;
  u.l = 1;
  exit (u.c[sizeof (long) - 1] == 1);
}
configure:18365: result: yes
configure:18392: checking format of `double' floating point
configure:18410: gcc -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  -c conftest.c 
>&5 2>&1
configure:18413: $? = 0
configure:18554: result: IEEE big endian
configure:18632: checking for alarm
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for clock
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for clock_gettime
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
/tmp/ccOKf5Nf.o(.text+0x0): In function `main':
/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660: undefined 
reference to `clock_gettime'
/tmp/ccOKf5Nf.o(.text+0x4):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `clock_gettime'
/tmp/ccOKf5Nf.o(.text+0x8):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `clock_gettime'
/tmp/ccOKf5Nf.o(.text+0x24):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
configure:18672: $? = 1
configure: failed program was:
#line 18638 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char clock_gettime (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char clock_gettime ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_clock_gettime) || defined (__stub___clock_gettime)
choke me
#else
f = clock_gettime;
#endif

  ;
  return 0;
}
configure:18688: result: no
configure:18632: checking for cputime
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
/tmp/ccezbr7J.o(.text+0x0): In function `main':
/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660: undefined 
reference to `cputime'
/tmp/ccezbr7J.o(.text+0x4):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `cputime'
/tmp/ccezbr7J.o(.text+0x8):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `cputime'
/tmp/ccezbr7J.o(.text+0x24):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `cputime'
collect2: ld returned 1 exit status
configure:18672: $? = 1
configure: failed program was:
#line 18638 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char cputime (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char cputime ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_cputime) || defined (__stub___cputime)
choke me
#else
f = cputime;
#endif

  ;
  return 0;
}
configure:18688: result: no
configure:18632: checking for getpagesize
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for getrusage
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for gettimeofday
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for localeconv
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for memset
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18648: warning: conflicting types for built-in function `memset'
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for mmap
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for mprotect
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for obstack_vprintf
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
/tmp/ccwrSTas.o(.text+0x0): In function `main':
/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660: undefined 
reference to `obstack_vprintf'
/tmp/ccwrSTas.o(.text+0x4):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `obstack_vprintf'
/tmp/ccwrSTas.o(.text+0x8):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `obstack_vprintf'
/tmp/ccwrSTas.o(.text+0x24):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `obstack_vprintf'
collect2: ld returned 1 exit status
configure:18672: $? = 1
configure: failed program was:
#line 18638 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char obstack_vprintf (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char obstack_vprintf ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_obstack_vprintf) || defined (__stub___obstack_vprintf)
choke me
#else
f = obstack_vprintf;
#endif

  ;
  return 0;
}
configure:18688: result: no
configure:18632: checking for popen
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for processor_info
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for read_real_time
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
/tmp/ccQkwWn6.o(.text+0x0): In function `main':
/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660: undefined 
reference to `read_real_time'
/tmp/ccQkwWn6.o(.text+0x4):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `read_real_time'
/tmp/ccQkwWn6.o(.text+0x8):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `read_real_time'
/tmp/ccQkwWn6.o(.text+0x24):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `read_real_time'
collect2: ld returned 1 exit status
configure:18672: $? = 1
configure: failed program was:
#line 18638 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char read_real_time (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char read_real_time ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_read_real_time) || defined (__stub___read_real_time)
choke me
#else
f = read_real_time;
#endif

  ;
  return 0;
}
configure:18688: result: no
configure:18632: checking for sigaction
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for sigaltstack
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for sigstack
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for syssgi
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
/tmp/ccyf1Jcr.o(.text+0x0): In function `main':
/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660: undefined 
reference to `syssgi'
/tmp/ccyf1Jcr.o(.text+0x4):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `syssgi'
/tmp/ccyf1Jcr.o(.text+0x8):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `syssgi'
/tmp/ccyf1Jcr.o(.text+0x24):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `syssgi'
collect2: ld returned 1 exit status
configure:18672: $? = 1
configure: failed program was:
#line 18638 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char syssgi (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char syssgi ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_syssgi) || defined (__stub___syssgi)
choke me
#else
f = syssgi;
#endif

  ;
  return 0;
}
configure:18688: result: no
configure:18632: checking for strchr
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18648: warning: conflicting types for built-in function `strchr'
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for strnlen
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
/tmp/cccl7KYv.o(.text+0x0): In function `main':
/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660: undefined 
reference to `strnlen'
/tmp/cccl7KYv.o(.text+0x4):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `strnlen'
/tmp/cccl7KYv.o(.text+0x8):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `strnlen'
/tmp/cccl7KYv.o(.text+0x24):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `strnlen'
collect2: ld returned 1 exit status
configure:18672: $? = 1
configure: failed program was:
#line 18638 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char strnlen (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char strnlen ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_strnlen) || defined (__stub___strnlen)
choke me
#else
f = strnlen;
#endif

  ;
  return 0;
}
configure:18688: result: no
configure:18632: checking for strtoul
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for sysconf
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18632: checking for sysctl
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
/tmp/ccyc847i.o(.text+0x0): In function `main':
/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660: undefined 
reference to `sysctl'
/tmp/ccyc847i.o(.text+0x4):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `sysctl'
/tmp/ccyc847i.o(.text+0x8):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `sysctl'
/tmp/ccyc847i.o(.text+0x24):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `sysctl'
collect2: ld returned 1 exit status
configure:18672: $? = 1
configure: failed program was:
#line 18638 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char sysctl (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char sysctl ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_sysctl) || defined (__stub___sysctl)
choke me
#else
f = sysctl;
#endif

  ;
  return 0;
}
configure:18688: result: no
configure:18632: checking for sysctlbyname
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
/tmp/ccUOrcAZ.o(.text+0x0): In function `main':
/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660: undefined 
reference to `sysctlbyname'
/tmp/ccUOrcAZ.o(.text+0x4):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `sysctlbyname'
/tmp/ccUOrcAZ.o(.text+0x8):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `sysctlbyname'
/tmp/ccUOrcAZ.o(.text+0x24):/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/configure:18660:
 undefined reference to `sysctlbyname'
collect2: ld returned 1 exit status
configure:18672: $? = 1
configure: failed program was:
#line 18638 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char sysctlbyname (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char sysctlbyname ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_sysctlbyname) || defined (__stub___sysctlbyname)
choke me
#else
f = sysctlbyname;
#endif

  ;
  return 0;
}
configure:18688: result: no
configure:18632: checking for times
configure:18669: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18672: $? = 0
configure:18675: test -s conftest
configure:18678: $? = 0
configure:18688: result: yes
configure:18701: checking for vsnprintf
configure:18738: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18717: warning: conflicting types for built-in function `vsnprintf'
configure:18741: $? = 0
configure:18744: test -s conftest
configure:18747: $? = 0
configure:18757: result: yes
configure:18768: checking whether vsnprintf works
configure:18832: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18835: $? = 0
configure:18837: ./conftest
configure:18840: $? = 0
configure:18832: gcc -o conftest -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9   
conftest.c  >&5
configure:18835: $? = 0
configure:18837: ./conftest
configure:18840: $? = 0
configure:18854: result: yes
configure:18876: checking whether sscanf needs writable input
configure:18888: result: no
configure:19095: checking for suitable m4
trying m4
good
configure:19139: result: m4
configure:19143: checking if m4wrap produces spurious output
test input is
changequote({,})define(x,)m4wrap({x})dnl
produces 0 chars output
configure:19165: result: no
configure:19180: checking how to switch to text section
configure:19192: result: .text
configure:19196: checking how to switch to data section
configure:19207: result: .data
configure:19211: checking what assembly label suffix to use
configure:19223: result: :
configure:19227: checking how to export a symbol
configure:19238: result: .globl
configure:19242: checking if globals are prefixed by underscore
configure:19268: gcc -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  -c conftes1.c 
>&5 && gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9 conftes2.s >&5 && gcc 
-g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9 conftes1.o conftes2.o >&5
conftes2.o(.stab+0x14): relocation truncated to fit: R_SPARC_32 .text
collect2: ld returned 1 exit status
configure:19271: $? = 1
configure:19268: gcc -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9  -c conftes1.c 
>&5 && gcc -c -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9 conftes2.s >&5 && gcc 
-g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9 conftes1.o conftes2.o >&5
conftes1.o(.text+0x4): In function `main':
/volws/pmd25/ldatae/gnu/src/gmp/gmp-4.1.4.obj/conftes1.c:4: undefined reference 
to `underscore_test'
conftes2.o(.stab+0x14): relocation truncated to fit: R_SPARC_32 .text
collect2: ld returned 1 exit status
configure:19271: $? = 1
configure:19291: error: Test program links neither with nor without underscore.

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

ac_cv_build='ultrasparc3-sun-solaris2.9'
ac_cv_build_alias='ultrasparc3-sun-solaris2.9'
ac_cv_c_bigendian='yes'
ac_cv_c_compiler_gnu='yes'
ac_cv_c_stringize='yes'
ac_cv_c_volatile='yes'
ac_cv_cxx_compiler_gnu='yes'
ac_cv_env_ABI_set='set'
ac_cv_env_ABI_value='64'
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_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_func_alarm='yes'
ac_cv_func_clock='yes'
ac_cv_func_clock_gettime='no'
ac_cv_func_cputime='no'
ac_cv_func_getpagesize='yes'
ac_cv_func_getrusage='yes'
ac_cv_func_gettimeofday='yes'
ac_cv_func_localeconv='yes'
ac_cv_func_memset='yes'
ac_cv_func_mmap='yes'
ac_cv_func_mprotect='yes'
ac_cv_func_obstack_vprintf='no'
ac_cv_func_popen='yes'
ac_cv_func_processor_info='yes'
ac_cv_func_read_real_time='no'
ac_cv_func_sigaction='yes'
ac_cv_func_sigaltstack='yes'
ac_cv_func_sigstack='yes'
ac_cv_func_strchr='yes'
ac_cv_func_strnlen='no'
ac_cv_func_strtoul='yes'
ac_cv_func_sysconf='yes'
ac_cv_func_sysctl='no'
ac_cv_func_sysctlbyname='no'
ac_cv_func_syssgi='no'
ac_cv_func_times='yes'
ac_cv_func_vsnprintf='yes'
ac_cv_have_decl_fgetc='yes'
ac_cv_have_decl_fscanf='yes'
ac_cv_have_decl_optarg='yes'
ac_cv_have_decl_ungetc='yes'
ac_cv_have_decl_vfprintf='yes'
ac_cv_header_dlfcn_h='yes'
ac_cv_header_fcntl_h='yes'
ac_cv_header_inttypes_h='yes'
ac_cv_header_locale_h='yes'
ac_cv_header_memory_h='yes'
ac_cv_header_stdc='yes'
ac_cv_header_stdint_h='no'
ac_cv_header_stdlib_h='yes'
ac_cv_header_string_h='yes'
ac_cv_header_strings_h='yes'
ac_cv_header_sys_mman_h='yes'
ac_cv_header_sys_param_h='yes'
ac_cv_header_sys_processor_h='yes'
ac_cv_header_sys_resource_h='yes'
ac_cv_header_sys_stat_h='yes'
ac_cv_header_sys_sysctl_h='no'
ac_cv_header_sys_syssgi_h='no'
ac_cv_header_sys_systemcfg_h='no'
ac_cv_header_sys_time_h='yes'
ac_cv_header_sys_times_h='yes'
ac_cv_header_sys_types_h='yes'
ac_cv_header_time='yes'
ac_cv_header_unistd_h='yes'
ac_cv_host='ultrasparc3-sun-solaris2.9'
ac_cv_host_alias='ultrasparc3-sun-solaris2.9'
ac_cv_lib_m_main='yes'
ac_cv_objext='o'
ac_cv_path_install='/projects/gnu/bin/ginstall -c'
ac_cv_prog_AWK='gawk'
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_AR='ar'
ac_cv_prog_ac_ct_CC='gcc'
ac_cv_prog_ac_ct_CXX='g++'
ac_cv_prog_ac_ct_RANLIB='ranlib'
ac_cv_prog_ac_ct_STRIP='strip'
ac_cv_prog_cc_g='yes'
ac_cv_prog_cc_stdc=''
ac_cv_prog_cxx_g='yes'
ac_cv_prog_make_make_set='yes'
ac_cv_type_intmax_t='yes'
ac_cv_type_long_double='yes'
ac_cv_type_long_long='yes'
ac_cv_type_ptrdiff_t='yes'
ac_cv_type_quad_t='yes'
ac_cv_type_signal='void'
am_cv_CC_dependencies_compiler_type='none'
am_cv_CXX_dependencies_compiler_type='none'
am_cv_prog_cc_stdc=''
gmp_cv_asm_data='.data'
gmp_cv_asm_globl='.globl'
gmp_cv_asm_label_suffix=':'
gmp_cv_asm_text='.text'
gmp_cv_c_attribute_const='yes'
gmp_cv_c_attribute_malloc='yes'
gmp_cv_c_attribute_mode='yes'
gmp_cv_c_attribute_noreturn='yes'
gmp_cv_c_double_format='IEEE big endian'
gmp_cv_c_inline='yes'
gmp_cv_c_stdarg='yes'
gmp_cv_func_alloca='yes'
gmp_cv_func_sscanf_writable_input='no'
gmp_cv_func_vsnprintf='yes'
gmp_cv_header_alloca='yes'
gmp_cv_m4_m4wrap_spurious='no'
gmp_cv_option_alloca='alloca'
gmp_cv_prog_m4='m4'
lt_cv_deplibs_check_method='pass_all'
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file='/lib/libc.so'
lt_cv_ld_reload_flag='-r'
lt_cv_objdir='.libs'
lt_cv_path_LD='/vol/gnu/gcc-3.3.4/bin/ld'
lt_cv_path_NM='/vol/gnu/gcc-3.3.4/bin/nm -B'
lt_cv_prog_compiler_c_o='yes'
lt_cv_prog_compiler_c_o_CXX='yes'
lt_cv_prog_compiler_rtti_exceptions='no'
lt_cv_prog_gnu_ld='yes'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[      
]\([ABCDGISTW][ABCDGISTW]*\)[   ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 
\2\3 \3/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  
{\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/  {"\2", 
(lt_ptr) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int 
\1;/p'\'''
lt_cv_sys_max_cmd_len='393217'
lt_lt_cv_prog_compiler_c_o='"yes"'
lt_lt_cv_prog_compiler_c_o_CXX='"yes"'
lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[  
]\\([ABCDGISTW][ABCDGISTW]*\\)[         ][      
]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'\''"'
lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) 
\$/  {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ 
]*\\)\$/  {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern 
int \\1;/p'\''"'

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

#define HAVE_HOST_CPU_ultrasparc3 1
#define PACKAGE "gmp"
#define VERSION "4.1.4"
#define WANT_FFT 1
#define HAVE_SPEED_CYCLECOUNTER 2
#ifdef __cplusplus
#include <stdlib.h>
#endif
#define PROTOTYPES 1
#define STDC_HEADERS 1
#define HAVE_STRING_H 1
#define HAVE_DLFCN_H 1
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_FCNTL_H 1
#define HAVE_LOCALE_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_PROCESSOR_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TIMES_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DECL_FGETC 1
#define HAVE_DECL_FSCANF 1
#define HAVE_DECL_OPTARG 1
#define HAVE_DECL_UNGETC 1
#define HAVE_DECL_VFPRINTF 1
#define RETSIGTYPE void
#define HAVE_INTMAX_T 1
#define HAVE_LONG_DOUBLE 1
#define HAVE_LONG_LONG 1
#define HAVE_PTRDIFF_T 1
#define HAVE_QUAD_T 1
#define HAVE_STRINGIZE 1
#define HAVE_STDARG 1
#define HAVE_ATTRIBUTE_CONST 1
#define HAVE_ATTRIBUTE_MALLOC 1
#define HAVE_ATTRIBUTE_MODE 1
#define HAVE_ATTRIBUTE_NORETURN 1
#define HAVE_ALLOCA_H 1
#define HAVE_ALLOCA 1
#define WANT_TMP_ALLOCA 1
#define WORDS_BIGENDIAN 1
#define HAVE_LIMB_BIG_ENDIAN 1
#define HAVE_DOUBLE_IEEE_BIG_ENDIAN 1
#define HAVE_ALARM 1
#define HAVE_CLOCK 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETRUSAGE 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_LOCALECONV 1
#define HAVE_MEMSET 1
#define HAVE_MMAP 1
#define HAVE_MPROTECT 1
#define HAVE_POPEN 1
#define HAVE_PROCESSOR_INFO 1
#define HAVE_SIGACTION 1
#define HAVE_SIGALTSTACK 1
#define HAVE_SIGSTACK 1
#define HAVE_STRCHR 1
#define HAVE_STRTOUL 1
#define HAVE_SYSCONF 1
#define HAVE_TIMES 1
#define HAVE_VSNPRINTF 1
#define HAVE_NATIVE_mpn_add_n 1
#define HAVE_NATIVE_mpn_sub_n 1
#define HAVE_NATIVE_mpn_mul_1 1
#define HAVE_NATIVE_mpn_addmul_1 1
#define HAVE_NATIVE_mpn_submul_1 1
#define HAVE_NATIVE_mpn_lshift 1
#define HAVE_NATIVE_mpn_rshift 1
#define HAVE_NATIVE_mpn_copyi 1
#define HAVE_NATIVE_mpn_copyd 1
#define HAVE_NATIVE_mpn_sqr_diagonal 1


configure: exit 1
--- Begin Message --- Subject: GMP 64 bit configure for Solaris 8 fails Date: Thu, 24 Feb 2005 16:06:59 -0500 User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.5) Gecko/20041221
Hello,

I'm trying to build gmp-4.1.4 for Solaris 8 using GCC 3.3.4. I'm configuring with ABI=64 --enable-cxx. configure fails with the following message:

...
checking for suitable m4... m4
checking if m4wrap produces spurious output... no
checking how to switch to text section... .text
checking how to switch to data section... .data
checking what assembly label suffix to use... :
checking how to export a symbol... .globl
checking if globals are prefixed by underscore... configure: error: Test program links neither with nor without underscore.
gmake: *** No targets specified and no makefile found.  Stop.
gmake: *** No rule to make target `check'.  Stop.

When I set ABI=32 it works and builds fine.

Has anyone else had this problem?  Is there a fix or workaround available?

Thanks,
--
Paul M. Dubuc

"It is not enough to do your best; you must know what to do, and THEN do your
best." -- W. Edwards Deming
_______________________________________________
gmp-discuss mailing list
address@hidden
http://swox.com/mailman/listinfo/gmp-discuss



--- End Message ---

reply via email to

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