This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Internal compiler errors under AIX.



I am using an AIX RS6000 POWERPC single cpu 604 workstation
with 64MB RAM.  The OS level is aix 4.3.1.

I've been trying to bring up egcs1.1b and have run into a
problem that the compiler's error message suggests I report.

I didn't cross compile egcs, instead I used the AIX "xlc"
compiler to build the first version of egcs.  My xlc version
appears to be "5/2/96 xlC 3.1 1.69" .  (I used strings to
locate this)

xlc can build most of egcs.  It cannot build f77 nor the
aix64 platform libraries.  I removed these components,
obtained working powerpc versions of gcc and g++ compilers,
and installed these.

I then went back and rebuilt egcs using itself.
Everything built correctly (if I remember right...)
and I then re-installed egcs.

The problem is that this new egcs built egcs *cannot*
pass the gcc test suite:


1) When running 'gmake check' to test the egcs built egcs1.1b compiler
   I get the following:

	/u/src/egcs-1.1b/gcc/xgcc -B/u/src/egcs-1.1b/gcc/ -c -g -O2
		-fno-implicit-templates  -mcpu=powerpc -I. -I.
		-nostdinc++   sbscan.cc -o pic/sbscan.o
	sbscan.cc: In method `int streambuf::vscan(const char *, char *,
		class ios * = 0)':
	sbscan.cc:37: Internal compiler error.
	sbscan.cc:37: Please submit a full bug report to
		`egcs-bugs@cygnus.com'.
	gmake[3]: *** [sbscan.o] Error 1
	gmake[3]: Leaving directory
		`/u/src/egcs-1.1b/powerpc-ibm-aix4.3.1.0/powerpc/libio'
	gmake[2]: *** [multi-do] Error 1
	gmake[2]: Leaving directory
		`/u/src/egcs-1.1b/powerpc-ibm-aix4.3.1.0/libio'
	gmake[1]: *** [multi-all] Error 2
	gmake[1]: Leaving directory
		`/u/src/egcs-1.1b/powerpc-ibm-aix4.3.1.0/libio'
	gmake: *** [all-target-libio] Error 2


The qt-1.40 source tree (from http://www.troll.no/) also does not
work with the egcs built egcs:


2) building with aix-g++-static-debug I get the following
   after about 3 files have compiled:

	g++ -c -I/usr/local/qt/include -Wno-unused -Wno-parentheses -g -o
			qdatetime.o ../tools/qdatetime.cpp
	../tools/qdatetime.cpp: In method `bool QDate::operator >=(const
			class QDate &) const':
	../tools/qdatetime.cpp:1130: Internal compiler error.
	../tools/qdatetime.cpp:1130: Please submit a full bug report to
			`egcs-bugs@cygnus.com'.
	gmake[1]: *** [qdatetime.o] Error 1
	gmake[1]: Leaving directory `/u/src/qt-1.40/src/moc'


3) building with aix-g++-shared-debug I get the following after
   about 13 files have compiled (qdatetime.cpp compiles just fine!):

	gmake[1]: Entering directory `/u/src/qt-1.40/src'
	g++ -c -I/usr/local/qt/include -I/usr/X11R6/include -g -g -fPIC
			-o dialogs/qfiledialog.o dialogs/qfiledialog.cpp
	cc1plus: warning: -fPIC ignored for AIX (all code is position
			independent)
	dialogs/qfiledialog.cpp: In method `void
			QFileDialogPrivate::MCList::focusOutEvent(class
			QFocusEvent *)':
	dialogs/qfiledialog.cpp:673: Internal compiler error.
	dialogs/qfiledialog.cpp:673: Please submit a full bug report to
			`egcs-bugs@cygnus.com'.
	gmake[1]: *** [dialogs/qfiledialog.o] Error 1
	gmake[1]: Leaving directory `/u/src/qt-1.40/src'
	gmake: *** [src] Error 2


I then deleted everything and went back to using the xlc built
egcs.  The qt source is working when built with static libraries
but symbol problems prevent using egcs built shared libraries.

It will be some trouble to reproduce the egcs built egcs, but if
it is helpful I can give it a try.  I am out of the office until
Tuesday the 29th but I can correspond via my io.com address until
then.

Duane Voth
duanev@io.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]