Problems installing gmp

Torbjorn Granlund tege at swox.com
Mon Jul 24 19:33:16 CEST 2006


Herve Pages <hpages at fhcrc.org> writes:

  Yeah I know... and I'd love to know how to get ld to link the
  ultrasparc3-sun-solaris2.9 build by the way!
  
It works for me.  :-}

  >   A 32-bit build runs at abuot 1/3
  > of the speed of a 64-bit build.
  >   
  
  Not on UltraSPARC, according to these charts:
    http://www.swox.com/gmp/32vs64.html
  It looks more like the 32-bit build runs at about 60% to 70%
  of the speed of a 64-bit build, which is better than having no GMP
  at all (and consequently no Fortran front-end for GCC 4.1.1).
  
Granted, ultrasparc is special, as explained at that page.  But you'd
find that the used fallback build is more like 20 times slower than a
64-build, at least on GMPbench, and that can be avoided.

Here are some GMPbench 0.1 scores on a 900 MHz UltraSPARC3 system:

--host=sparc-sun-solaris2.9             54
--host=sparcv8-sun-solaris2.9           257
--host=sparcv9-sun-solaris2.9 ABI=32    462
--host=sparcv9-sun-solaris2.9           977

The fallback build was sparc-X-Y IIRC, but the proper fallback build
should be the ABI=32 one (letting the --host parameter be determined
automatically is usually best).

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

-- 
Torbjörn


More information about the gmp-bugs mailing list