powerset1.cc: In function 'bool<unnamed>::test01()':

While trying to build ppl-0.10.2 on Solaris 8 with GCC 4.4.4 I have seen the following error in the 'make check' stage :
/bin/bash ../../libtool --tag=CXX --mode=link /usr/local/gcc4/bin/g++ -g -O2 -march=i386 -frounding-math -march=i386 -malign-double -mpreferred-stack-boundary=8 -m32 -O3 -Qy -fexceptions -D_TS_ERRNO -march=i386 -malign-double -mpreferred-stack-boundary=8 -m32 -O3 -Qy -fexceptions -D_TS_ERRNO -W -Wall -o membytes1 membytes1.o ../../utils/libppl_utils.a ../../tests/libppl_tests.a ../../src/libppl.la -lm -L/usr/local/lib -lgmpxx -L/usr/local/lib -lgmp -R/usr/local/lib -R/usr/local/lib libtool: link: /usr/local/gcc4/bin/g++ -g -O2 -march=i386 -frounding-math -march=i386 -malign-double -mpreferred-stack-boundary=8 -m32 -O3 -Qy -fexceptions -D_TS_ERRNO -march=i386 -malign-double -mpreferred-stack-boundary=8 -m32 -O3 -Qy -fexceptions -D_TS_ERRNO -W -Wall -o .libs/membytes1 membytes1.o ../../utils/libppl_utils.a ../../tests/libppl_tests.a ../../src/.libs/libppl.so -L/usr/local/lib /usr/local/lib/libgmpxx.so /usr/local/gcc4/lib/libstdc++.so -lm /usr/local/lib/libgmp.so -Wl,-R -Wl,/usr/local/lib -Wl,-R -Wl,/usr/local/gcc4/lib ld: warning: file /usr/local/gcc4/lib/gcc/i386-pc-solaris2.8/4.4.4/../../../libstdc++.so: linked to /usr/local/gcc4/lib/libstdc++.so: attempted multiple inclusion of file /usr/local/gcc4/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -I../../tests -I../../utils -DNDEBUG=1 -I/usr/local/include -g -O2 -march=i386 -frounding-math -march=i386 -malign-double -mpreferred-stack-boundary=8 -m32 -O3 -Qy -fexceptions -D_TS_ERRNO -march=i386 -malign-double -mpreferred-stack-boundary=8 -m32 -O3 -Qy -fexceptions -D_TS_ERRNO -W -Wall -MT powerset1.o -MD -MP -MF .deps/powerset1.Tpo -c -o powerset1.o powerset1.cc powerset1.cc: In function 'bool<unnamed>::test01()': powerset1.cc:30: error: expected unqualified-id before numeric constant powerset1.cc:34: error: expected ';' before 'ps1' powerset1.cc:34: warning: statement has no effect powerset1.cc:35: error: 'ps1' was not declared in this scope powerset1.cc:37: error: expected ';' before 'ps2' powerset1.cc:37: warning: statement has no effect powerset1.cc:39: error: 'ps2' was not declared in this scope powerset1.cc:46: error: expected ';' before 'ps3' powerset1.cc:46: warning: statement has no effect powerset1.cc:48: error: 'ps3' was not declared in this scope powerset1.cc:51: error: 'ps3' was not declared in this scope powerset1.cc:57: error: 'ps3' was not declared in this scope powerset1.cc:70: error: expected ';' before '::' token powerset1.cc:70: warning: statement has no effect powerset1.cc:70: error: 'i' was not declared in this scope powerset1.cc:77: error: expected ';' before '::' token powerset1.cc:77: warning: statement has no effect powerset1.cc:77: error: 'i' was not declared in this scope powerset1.cc:84: error: expected ';' before '::' token powerset1.cc:84: warning: statement has no effect powerset1.cc:84: error: 'i' was not declared in this scope powerset1.cc:91: error: expected ';' before '::' token powerset1.cc:92: warning: statement has no effect powerset1.cc:92: error: 'i' was not declared in this scope powerset1.cc:92: error: 'ps3_rend' was not declared in this scope powerset1.cc:97: error: 'ps2' was not declared in this scope powerset1.cc:98: error: expected ';' before 'ps_empty' powerset1.cc:98: warning: statement has no effect powerset1.cc:100: error: 'ps_empty' was not declared in this scope powerset1.cc:105: error: 'ps_empty' was not declared in this scope powerset1.cc:110: error: 'ps_empty' was not declared in this scope powerset1.cc:115: error: 'ps_empty' was not declared in this scope powerset1.cc:118: error: 'ps_empty' was not declared in this scope make[3]: *** [powerset1.o] Error 1 make[3]: Leaving directory `/export/medusa/dclarke/build/GCC/4.5.2-RC/ppl/i386/ppl-0.10.2.002/tests/Powerset' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/export/medusa/dclarke/build/GCC/4.5.2-RC/ppl/i386/ppl-0.10.2.002/tests/Powerset' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/export/medusa/dclarke/build/GCC/4.5.2-RC/ppl/i386/ppl-0.10.2.002/tests' make: *** [check-recursive] Error 1
[ titan ] $
The sources were taken from http://www.cs.unipr.it/ppl/Download/ftp/ppl/releases/LATEST/solaris/
Not sure if ppl can be compiled on Solaris 8. Certainly gmp, mpfr and mpc all work flawlessly. I would certainly like to incorporate ppl into the next GCC release if it could pass the testsuite.

Il 10/12/2010 17:38, Dennis Clarke ha scritto:
While trying to build ppl-0.10.2 on Solaris 8 with GCC 4.4.4 I have seen the following error in the 'make check' stage :
/bin/bash ../../libtool --tag=CXX --mode=link /usr/local/gcc4/bin/g++ -g -O2 -march=i386 -frounding-math -march=i386 -malign-double -mpreferred-stack-boundary=8 -m32 -O3 -Qy -fexceptions -D_TS_ERRNO -march=i386 -malign-double -mpreferred-stack-boundary=8 -m32 -O3 -Qy -fexceptions -D_TS_ERRNO -W -Wall -o membytes1 membytes1.o ../../utils/libppl_utils.a ../../tests/libppl_tests.a ../../src/libppl.la -lm -L/usr/local/lib -lgmpxx -L/usr/local/lib -lgmp -R/usr/local/lib -R/usr/local/lib libtool: link: /usr/local/gcc4/bin/g++ -g -O2 -march=i386 -frounding-math -march=i386 -malign-double -mpreferred-stack-boundary=8 -m32 -O3 -Qy -fexceptions -D_TS_ERRNO -march=i386 -malign-double -mpreferred-stack-boundary=8 -m32 -O3 -Qy -fexceptions -D_TS_ERRNO -W -Wall -o .libs/membytes1 membytes1.o ../../utils/libppl_utils.a ../../tests/libppl_tests.a ../../src/.libs/libppl.so -L/usr/local/lib /usr/local/lib/libgmpxx.so /usr/local/gcc4/lib/libstdc++.so -lm /usr/local/lib/libgmp.so -Wl,-R -Wl,/usr/local/lib -Wl,-R -Wl,/usr/local/gcc4/lib ld: warning: file /usr/local/gcc4/lib/gcc/i386-pc-solaris2.8/4.4.4/../../../libstdc++.so: linked to /usr/local/gcc4/lib/libstdc++.so: attempted multiple inclusion of file /usr/local/gcc4/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -I../../tests -I../../utils -DNDEBUG=1 -I/usr/local/include -g -O2 -march=i386 -frounding-math -march=i386 -malign-double -mpreferred-stack-boundary=8 -m32 -O3 -Qy -fexceptions -D_TS_ERRNO -march=i386 -malign-double -mpreferred-stack-boundary=8 -m32 -O3 -Qy -fexceptions -D_TS_ERRNO -W -Wall -MT powerset1.o -MD -MP -MF .deps/powerset1.Tpo -c -o powerset1.o powerset1.cc
Can you try to replace PS in this file with something other (e.g. Q_PS) and recompile?

On 12/10/10 17:38, Dennis Clarke wrote:
While trying to build ppl-0.10.2 on Solaris 8 with GCC 4.4.4 I have seen the following error in the 'make check' stage :
[...]
The sources were taken from http://www.cs.unipr.it/ppl/Download/ftp/ppl/releases/LATEST/solaris/
Not sure if ppl can be compiled on Solaris 8. Certainly gmp, mpfr and mpc all work flawlessly. I would certainly like to incorporate ppl into the next GCC release if it could pass the testsuite.
Hi Dennis.
The PPL 0.10 series is no longer supported. We plan to release PPL 0.11.1 really soon now. You can download the current release candidate from
http://www.cs.unipr.it/ppl/Download/ftp/snapshots/
Please let us know how it goes: we will be glad to incorporate improvements for Solaris 8 (or any other platform) into PPL 0.11.1. All the best,
Roberto
participants (3)
-
Abramo Bagnara
-
Dennis Clarke
-
Roberto Bagnara