assembly files on Solaris SPARC can only be processed with gcc

Niels Möller nisse at lysator.liu.se
Tue Aug 29 08:59:13 UTC 2017


Dennis Clarke <dclarke at blastwave.org> writes:

> I was just flabberghasted ( I think that is the word ) at how impossibly
> horribly slow the results were that I was getting everywhere.  Not just
> on sparc but on powerpc and on amd64 systems. Those assembly bits are
> essential.

Right, that assembly code wasn't written only for the fun of it...

Then, sparc has been particularly hard to get good bignum performance;
the initial 64-bit sparc instruction set was awful for arithmetic (but
somewhat mended in the most recent versions, I think). IIRC, some
versions of the GMP sparc assembly code have chopped numbers into pieces
suitable for the floating point multiply instructions, just because
integer multiply was incredibly slow.

> Yes Sir I do. Now I just need to ponder if the whole process is worth
> the efforts that are going to be needed

Please, take a deep breath and calm down. Then start with a clean build
directory and try an as basic build as possible, without any extra
configuration. You might also want to build using GNU make, to rule out
problems related to make incompatibilities. Something like

  ./configure CC=c99 --disable-cxx
  gmake

And then examine and report any errors you get.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.


More information about the gmp-bugs mailing list