32-bit gmp on sol10

Gergely Buday gbuday at gmail.com
Tue Oct 31 18:02:02 CET 2006


Dear Developers,

I was pointed to this address with my problem, namely, I would like to
build a 32-bit gmp on my Solaris 10 box but it fails at configure.

I've downloaded gmp-4.1.2 sources from sunfreeware.com (the latest
source's configure didn't work at all. That was from the official gmp
site)

The bug is the following:

-bash-3.00$ ./configure --prefix=/home/budayg/gmp ABI=32
checking build system type... ultrasparc3-sun-solaris2.10
checking host system type... ultrasparc3-sun-solaris2.10
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: error: ABI=32 is not among the following valid choices: standard

So, I get an error that ABI=32 is not valid. I learnt this ABI=32 from

http://www.swox.com/gmp/manual/ABI-and-ISA.html#ABI-and-ISA

My gcc version is

$ gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

My machine is

$ uname -a
SunOS ssrv25sd 5.10 Generic_118822-25 sun4u sparc SUNW,Sun-Blade-2500
-bash-3.00$ ./config.guess
ultrasparc3-sun-solaris2.10
-bash-3.00$ ./configfsf.guess
sparc-sun-solaris2.10

$ 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, which was
generated by GNU Autoconf 2.52.  Invocation command line was

  $ ./configure --prefix=/home/budayg/gmp ABI=32

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

hostname = ssrv25sd
uname -m = sun4u
uname -r = 5.10
uname -s = SunOS
uname -v = Generic_118822-25

/usr/bin/uname -p = sparc
/bin/uname -X     = System = SunOS
Node = ssrv25sd
Release = 5.10
KernelID = Generic_118822-25
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 2

/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 = /home/omckm/prj/local/tool/bin:/opt/wbt/ccover/bin:/opt/wbt/CTSROOTDIR/bin:/opt/wbt/ccover/bin:/usr/bin:/usr/s/t/sol/pvcs/vm/solaris/bin:.:/usr/ccs/bin:/usr/s/t/sexe:/usr/s/t/sh:/usr/s/t/sol/pvcs/vm/solaris/bin:/opt/SUNWspro/bin:/opt/iona/bin:/home/budayg/bin:/usr/local/bin:/opt/sfw/bin:/opt/wbt/purify:/opt/wbt/quantify:/opt/wbt/FlexeLint/bin:/opt/wbt/Insure++/bin.solaris:/p1/d4/viewmount:.:/usr/ccs/bin:/usr/s/t/sexe:/usr/s/t/sh:/opt/SUNWspro/bin:/opt/iona/bin:/home/budayg/bin:/opt/wbt/purify:/opt/wbt/quantify:/opt/wbt/FlexeLint/bin:/opt/wbt/Insure++/bin.solaris:/usr/atria/bin:/omc+/admin/ssw:/omc+/admin/swl_adm::/usr/local/bin:/usr/sfw/bin:/home/budayg/smlnj/bin:/home/budayg/mlton/usr/local/bin

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

configure:1204: PATH=".;."; conftest.sh
./configure: conftest.sh: not found
configure:1207: $? = 1
configure:1282: checking build system type
configure:1300: result: ultrasparc3-sun-solaris2.10
configure:1307: checking host system type
configure:1321: result: ultrasparc3-sun-solaris2.10
configure:1347: checking for a BSD compatible install
configure:1396: result: ./install-sh -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:1509: result: no
configure:1483: checking for nawk
configure:1498: found /usr/bin/nawk
configure:1506: result: nawk
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:1014: User:
ABI=32
CC=
CFLAGS=(unset)
CPPFLAGS=(unset)
MPN_PATH=
configure:1020: GMP:
abilist=standard
cclist=gcc acc cc
configure:2677: error: ABI=32 is not among the following valid choices: standard

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

ac_cv_build='ultrasparc3-sun-solaris2.10'
ac_cv_build_alias='ultrasparc3-sun-solaris2.10'
ac_cv_env_ABI_set='set'
ac_cv_env_ABI_value='32'
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_host='ultrasparc3-sun-solaris2.10'
ac_cv_host_alias='ultrasparc3-sun-solaris2.10'
ac_cv_prog_AWK='nawk'
ac_cv_prog_make_make_set='yes'

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

#define HAVE_HOST_CPU_ultrasparc3 1
#define PACKAGE "gmp"
#define VERSION "4.1.2"
#define WANT_FFT 1


configure: exit 1


I hope this was a proper bug report.

Best Wishes

Gergely Buday


More information about the gmp-bugs mailing list