bug-gmp
[Top][All Lists]
Advanced

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

Re: problem in installing gmp under solaris 8


From: Torbjorn Granlund
Subject: Re: problem in installing gmp under solaris 8
Date: 31 Mar 2003 18:36:18 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

 "Jens Schönherr"  <address@hidden> writes:

  I tried to install gmp 4.1.2 under Solaris 8. After running ./configure, I
  started make and the following happened:
  
  Making all in mpn
  make[2]: Entering directory `/home/jens/local/gmp-4.1.2/mpn'
  /bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" gcc -c 
-DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo add_n | 
sed 's/_$//'`    -g `test -f add_n.asm || echo './'`add_n.asm
  ../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP 
-I.. -DOPERATION_add_n -g add_n.asm  -fPIC -DPIC -o .libs/add_n.o
  m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_add_n -DPIC add_n.asm 
>tmp-add_n.s
   gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. 
-DOPERATION_add_n -g tmp-add_n.s -fPIC -DPIC -o .libs/add_n.o
  /usr/ccs/bin/as: "tmp-add_n.s", line 78: error: cannot use v8plus 
instructions in a non-v8plus target binary
  /usr/ccs/bin/as: "tmp-add_n.s", line 81: error: cannot use v8plus 
instructions in a non-v8plus target binary
  ...
  /usr/ccs/bin/as: "tmp-add_n.s", line 231: error: cannot use v8plus 
instructions in a non-v8plus target binary
  make[2]: *** [add_n.lo] Error 1
  make[2]: Leaving directory `/home/jens/local/gmp-4.1.2/mpn'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/home/jens/local/gmp-4.1.2'
  make: *** [all] Error 1
  
  What means "v8plus instructions" and "non-v8plus target binary"?  What
  should I change to install gmp?

There are several generations of the sparc ISA (Instruction Set
Architecture), namely the 32-bit v7 and v8, and the 64-bit v9.
Unfortunately, Sun is very muddy about what is ISA and what is
ABI (Application Binary Interfaces).

"v8" means to use the 32-bit ABI with the old v8 ISA.
"v8plus" means to use the 32-bit ABI requiring the v9 ISA.
"v9" means to use the 64-bit ABI requiring the v9 ISA.

Why does your GMP build fail?  Perhaps you have the CC
or CFLAGS environment variables set?  If they are set
poorly, that will confuse the GMP configure script.

To allow us to make a more educated reply, you need to read
<http://swox.com/gmp/manual/Reporting-Bugs.html> and supply the
information outlined there.  In particular you need to supply
config.log.


[Bug reports and follow-ups to address@hidden please.]

-- 
Torbjörn




reply via email to

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