not really a bug .. just Sun Studio 12
Dennis Clarke
dclarke at blastwave.org
Mon Jul 26 00:45:13 CEST 2010
Strictly out of morbid curiosity I tried to use Studio 12 again.
I was surprised haw far things went before it failed :
Making all in cxx
make[2]: Entering directory `/export/home/dclarke/build/GCC/gmp-5.0.1/cxx'
/bin/bash ../libtool --tag=CXX --mode=compile /opt/SUNWspro/bin/CC
-DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMPXX -I.. -I/opt/bw/include
-erroff -xarch=386 -norunpath
-R/opt/bw/lib/SALIST:/opt/bw/gcc4/lib/SALIST:/opt/bw/lib/i386:/opt/bw/gcc4/lib
-L/opt/bw/lib/SALIST:/opt/bw/gcc4/lib/SALIST:/opt/bw/lib/i386:/opt/bw/gcc4/lib
-xO3 -mc -D_TS_ERRNO -c -o isfuns.lo isfuns.cc
libtool: compile: /opt/SUNWspro/bin/CC -DHAVE_CONFIG_H -I. -I..
-D__GMP_WITHIN_GMPXX -I.. -I/opt/bw/include -erroff -xarch=386 -norunpath
-R/opt/bw/lib/SALIST:/opt/bw/gcc4/lib/SALIST:/opt/bw/lib/i386:/opt/bw/gcc4/lib
-L/opt/bw/lib/SALIST:/opt/bw/gcc4/lib/SALIST:/opt/bw/lib/i386:/opt/bw/gcc4/lib
-xO3 -mc -D_TS_ERRNO -c isfuns.cc -KPIC -DPIC -o .libs/isfuns.o
"../gmp-impl.h", line 877: Error: ")" expected instead of "const".
"../gmp-impl.h", line 877: Error: The function
"__gmpn_jacobi_base(unsigned long, unsigned long, int) const" cannot be
declared const.
"../gmp-impl.h", line 877: Error: "{" expected instead of ")".
"../gmp-impl.h", line 877: Error: Unexpected ")" -- Check for matching
parenthesis.
"../gmp-impl.h", line 877: Error: Operand expected instead of ")".
"../gmp-impl.h", line 950: Error: ")" expected instead of "const".
"../gmp-impl.h", line 950: Error: The function
"__gmpn_mulmod_bnm1_next_size(long) const" cannot be declared const.
"../gmp-impl.h", line 950: Error: "," expected instead of ")".
"../gmp-impl.h", line 951: Error: "inline" is not allowed here.
"../gmp-impl.h", line 952: Error: Use ";" to terminate declarations.
"../gmp-impl.h", line 954: Error: rn is not defined.
"../gmp-impl.h", line 955: Error: rn is not defined.
"../gmp-impl.h", line 956: Error: an is not defined.
"../gmp-impl.h", line 956: Error: bn is not defined.
"../gmp-impl.h", line 956: Error: rn is not defined.
"../gmp-impl.h", line 963: Error: ")" expected instead of "const".
"../gmp-impl.h", line 963: Error: The function
"__gmpn_sqrmod_bnm1_next_size(long) const" cannot be declared const.
"../gmp-impl.h", line 963: Error: "," expected instead of ")".
"../gmp-impl.h", line 964: Error: "inline" is not allowed here.
"../gmp-impl.h", line 965: Error: Use ";" to terminate declarations.
"../gmp-impl.h", line 967: Error: rn is not defined.
"../gmp-impl.h", line 968: Error: rn is not defined.
"../gmp-impl.h", line 969: Error: an is not defined.
"../gmp-impl.h", line 969: Error: an is not defined.
"../gmp-impl.h", line 1163: Error: Badly formed expression.
Compilation aborted, too many Error messages.
.libs/isfuns.o: /usr/ccs/bin/mcs: cannot open file.
No such file or directory
make[2]: *** [isfuns.lo] Error 1
make[2]: Leaving directory `/export/home/dclarke/build/GCC/gmp-5.0.1/cxx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/dclarke/build/GCC/gmp-5.0.1'
make: *** [all] Error 2
[petrarch]
All things considered .. it almost looks like progress for Studio 12 :-)
--
Dennis Clarke
dclarke at opensolaris.ca <- Email related to the open source Solaris
dclarke at blastwave.org <- Email related to open source for Solaris
More information about the gmp-bugs
mailing list