got Internal compiler error 109 with egcs-2.91.09 on linux PentiumII

Basile STARYNKEVITCH basile.starynkevitch@cea.fr
Thu Feb 26 04:59:00 GMT 1998


Hello, 

I've got an internal error using
g++ -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.09/specs
gcc version egcs-2.91.09 980221 (gcc-2.8.0 release)

plateform is a (new) Linux Pentium II biprocessor Dell workstation
with 256Mb RAM & 2*4.3Gb SCSI disk with 2 processors activated (597.20
BogoMIPS)

OS is Debian-5.0 (with patched libc to 2.0.6) 

kernel is Linux version 2.0.33 (root@orion.serma.cea.fr) (gcc version 2.7.2.3) #2 Mon Feb 9 11:03:56 CET 1998

Using egcs weekly snapshoot (but previous snapshoot had the same
error)

egcs-980221/ was ./configure-d with CFLAGS='-O4 -pipe' and
--prefix=/usr 

egcs was make bootstrap-ed and make install-ed

Software compiled was jade-1.0.1. You can get it by ftp from
ftp.jclark.com:/pub/jade/jade1_0_1.zip

The only change is to acknowledge that egcs is ANSI C++ compliant.

So I edited the jade-1.0.1/Makefile to have

DEFINES=-DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSP_ANSI_LIB $(XDEFINES)


then I make -f Makefile.jade (which includes the edited Makefile) and
got

 make -f Makefile.jade
make[1]: Entering directory `/export/home.2/usr.src/Text/jade-1.0.1'
make[2]: Entering directory `/export/home.2/usr.src/Text/jade-1.0.1/lib'
c++ -fno-implicit-templates -O2 -ansi  -Wall -Wno-reorder -Wwrite-strings -Wpointer-arith -Wnested-externs -Woverloaded-virtual -Wbad-function-cast -I. -I./../include -I./../generic -DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSP_ANSI_LIB -DSP_MULTI_BYTE  -c CmdLineApp.cxx
In file included from ../include/MessageFormatter.h:14,
                 from ../include/MessageReporter.h:12,
                 from ../include/CmdLineApp.h:11,
                 from CmdLineApp.cxx:12:
../include/Message.h:170: warning: `Messenger::dispatchMessage(Message &)' was hidden
../include/Message.h:196: warning:   by `NullMessenger::dispatchMessage(const Message &)'
../include/Message.h:170: warning: `Messenger::dispatchMessage(Message &)' was hidden
In file included from ../include/CmdLineApp.h:11,
                 from CmdLineApp.cxx:12:
../include/MessageReporter.h:35: warning:   by `MessageReporter::dispatchMessage(const Message &)'
CmdLineApp.cxx: In method `int CmdLineApp::run(int, char **)':
CmdLineApp.cxx:211: Internal compiler error 109.
CmdLineApp.cxx:211: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make[2]: *** [CmdLineApp.o] Error 1
make[2]: Leaving directory `/export/home.2/usr.src/Text/jade-1.0.1/lib'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/export/home.2/usr.src/Text/jade-1.0.1'
make: *** [all] Error 2


For your information the offending line 211 is the bad_alloc line in 

#ifdef SP_ANSI_LIB
  }
catch (
#ifndef SP_NO_STD_NAMESPACE
       std::
#endif
            bad_alloc) {
#ifdef SP_FANCY_NEW_HANDLER
    outOfMemory(0);
#else
    outOfMemory();
#endif
  }
  return 1;
#endif /* SP_ANSI_LIB */



N.B. Any opinions expressed here are solely mine, and not of my organization.
N.B. Les opinions exprimees ici me sont personnelles et n engagent pas le CEA.


----------------------------------------------------------------------
Basile STARYNKEVITCH   ----  Commissariat à l Energie Atomique 
DRN/DMT/SYSCO * CEA/Saclay bat.460 * 91191 GIF/YVETTE CEDEX * France
fax: (33) 01,69.08.96.96; phone: 01,69.08.40.66; home: 01,46.65.45.53
email: Basile . Starynkevitch @ cea . fr  (but remove white space)
I speak french, english, russian. Je parle français, anglais, russe.
----------------------------------------------------------------------




More information about the Gcc-bugs mailing list