interesting error during make check for gmp-5.0.4 on SunOS5.8-i386

Dennis Clarke dclarke at
Fri Mar 2 18:28:36 CET 2012

> On Fri, 2 Mar 2012, Dennis Clarke wrote:
>>> 386 is long dead, it makes no sense to compile for it. Solaris 8 (dead as
>>> well) probably didn't even run on it. Try 686 at least.
>> Well, from strictly a factual perspective, Solaris 8 is hardly dead.
> End of support date: March 2012 (according to wikipedia, which could be
> wrong). And if people haven't updated their OS in so long, I doubt they'll
> be interested in upgrading most of their other software.
> But whatever, the parenthesis on solaris 8 was just a remark (please let
> us not discuss that here), you missed my main point: you problem is caused
> by trying to compile for the 386 architecture (as opposed to the more
> recent 486, 586, etc), which your customers are certainly not using.

And I agree fully.

I ran the configure without setting CFLAGS/CXXFLAGS at all and then
assumptions were made ( I presume ) and here we are.

However, right now I am running the build again but thus :

/bin/bash ../libtool --tag=CC   --mode=compile /opt/csw/gcc4/bin/gcc
-std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo
redc_2 | sed 's/_$//'`    -march=pentiumpro -mno-mmx -mno-sse -malign-double
-mpreferred-stack-boundary=8 -m32 -fexceptions -D_TS_ERRNO -DSOLARIS2=8
libtool: compile:  /opt/csw/gcc4/bin/gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-D__GMP_WITHIN_GMP -I.. -DOPERATION_redc_2 -march=pentiumpro -mno-mmx -mno-sse
-malign-double -mpreferred-stack-boundary=8 -m32 -fexceptions -D_TS_ERRNO
-fPIC -DPIC -o .libs/redc_2.o


I'll be happy to post good results shortly :-)   ( I hope )


| Dennis Clarke           | Solaris and Linux and Open Source |
| dclarke at   | Respect for open standards.       |

More information about the gmp-discuss mailing list