g++ problems
Jostein Lima
jostein.lima@oslo.pgs.com
Fri Feb 18 05:33:00 GMT 2000
Hi!
I am trying to install g++ on my IBM RS6000 SP2. It is running AIX 4.3.2. I
configured the compilers using this command:
./gcc-2.95.2/configure --enable-languages=c,c++
I did these changes on gcc/cp/tree.c because the AIX C compiler said that those
variables were already defined, but I don't think these changes have anything to
do with my problems.
2155c2155
< /* enum tree_code code;*/
---
> enum tree_code code;
2193,2194c2193,2194
< /* enum tree_code code;
< tree tt; */
---
> enum tree_code code;
> tree tt;
After compiling for about 8 hours (!), I got the following message:
/spdata/tmp/gccBin/gcc/xgcc -B/spdata/tmp/gccBin/gcc/
-B/usr/local/rs6000-ibm-aix4.3.2.0/bin/ -c -g -O2 -fno-implicit-templates -I.
-I../../../gcc-2.95.2/libio -nostdinc++ ../../../gcc-2.95.2/libio/ioextend.cc
test x"no" != xyes || /spdata/tmp/gccBin/gcc/xgcc
-B/spdata/tmp/gccBin/gcc/ -B/usr/local/rs6000-ibm-aix4.3.2.0/bin/ -c -g -O2
-fno-implicit-templates -I. -I../../../gcc-2.95.2/libio -nostdinc++
./../../gcc-2.95.2/libio/iomanip.cc -o pic/iomanip.o
/spdata/tmp/gccBin/gcc/xgcc -B/spdata/tmp/gccBin/gcc/
-B/usr/local/rs6000-ibm-aix4.3.2.0/bin/ -c -g -O2 -fno-implicit-templates -I.
-I../../../gcc-2.95.2/libio -nostdinc++ ../../../gcc-2.95.2/libio/iomanip.cc
In file included from ../../../gcc-2.95.2/libio/iomanip.cc:29:
./../../gcc-2.95.2/libio/iomanip.h: In method `sapp<TP>::sapp(ios & (*)(ios &,
TP))':
./../../gcc-2.95.2/libio/iomanip.h:47: Internal compiler error.
./../../gcc-2.95.2/libio/iomanip.h:47: Please submit a full bug report.
./../../gcc-2.95.2/libio/iomanip.h:47: See
<URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
As you see from the above, I am using gcc-2.95.2. Any ideas to what I could do
to compiler the g++ compiler?
Cheers,
--
Jostein Lima
Research Geophysicist
PGS Seres AS
---------------------------------------------------------------------
You have moved your mouse. Windows will now restart to reflect your
changes...
---------------------------------------------------------------------
More information about the Gcc-bugs
mailing list