This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
kde-libs 2.0rc2 crashes gcc 2.95.3 on ppc
- To: gcc-bugs at gcc dot gnu dot org
- Subject: kde-libs 2.0rc2 crashes gcc 2.95.3 on ppc
- From: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- Date: Sun, 15 Oct 2000 10:30:57 -0700 (PDT)
Hello,
Has anyone on another platform tried building
the new kde 2.0rc2 srpm from http://master.kde.org/~bero/rc2/rh7/srpms/?
I have found that these srpms tickle a c++ compiler bug on linuxppc.
We are using gcc 2.95.3 that Franz Sirl created from the 2.95.x
branch I believe. What I am seeing is the following...
mcopidl.cc in kdelibs-2.0rc2/arts results in the following
error...
mcopidl.cc: In function `class string createTypeCode(basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >, const string &, long int, basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> > = "")':
<howarth__> mcopidl.cc:688: Internal compiler error:
<howarth__> mcopidl.cc:688: virtual memory exhausted
..whenever I use...
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore -I../../kdeui -I../../kssl -I/usr/lib/qt-2.2.1/include -I/usr/X11R6/include -I/usr/include -I./../mcop -O2 -fsigned-char -DNDEBUG -c mcopidl.cc
I find the same happens at -O1 but not -O0. This problem occurs
under both Linux 2.2.17pre20 and Linux 2.4-test10pre2. I am
also using glibc 2.1.95 and binutils 2.10.0.31. Perhaps
Franz can test case this but if anyone needs some sort of
assembly output let me know how to generate it.
Thanks in advance for any help on this.
Jack Howarth