From: Aram Harrow Newsgroups: comp.os.msdos.djgpp Subject: Internal Compiler error Date: Sat, 21 Feb 1998 16:41:54 -0800 Organization: Massachvsetts Institvte of Technology Lines: 126 Message-ID: <34EF7451.1A0A@mit.edu> Reply-To: aram AT mit DOT edu NNTP-Posting-Host: arams-computer.mit.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hello all, I recently received an "internal compiler error" which comes and goes as I modify my program. Djgpp suggests that I mail a form to a bug report address, but I decided to try here after receiving no answer. Following are my environment variables, config, autoexec, exact error message, etc... Please email me if you know what I should do, as my newsgroup access is sketchy. My computer is a 486 DX2-66, 16MB ram, 250MB hard drive. This problem only occurs under make and it only happens occasionally, but if a certain file causes the problem it will continue to until substantially changed. (So I certainly have the right versions.) OUTPUT OF: gcc -O2 -Wall -m486 -v -c richtest.cc -o richtest.o called from make. options aren't necessarily in that order. Reading specs from c:/djgpp/lib\specs gcc version 2.7.2.1 c:/djgpp/bin\cpp.exe -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 -D__OPTIMIZE__ -Wall richtest.cc c:/djgpp/tmp\ccbaaaaa GNU CPP version 2.7.2.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:/djgpp/lang/cxx c:/djgpp/include c:/djgpp/contrib/grx20/include c:/djgpp/alleg c:/djgpp/aram/globals /usr/local/lib/g++-include /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.7.2.1/include /usr/include End of search list. c:/djgpp/bin\cc1plus.exe c:/djgpp/tmp\ccbaaaaa -quiet -dumpbase richtest.cc -m486 -O2 -Wall -version -o c:/djgpp/tmp\cccaaaaa GNU C++ version 2.7.2 (80386, BSD syntax) compiled by GNU C version 2.7.2. c:/djgpp/lang/cxx/vector.h: In method `void vector::insert(class Annotation *, const class Annotation *, const class Annotation *)': In file included from richtest.cc:8: c:/djgpp/lang/cxx/vector.h:151: Internal compiler error. c:/djgpp/lang/cxx/vector.h:151: Please submit a full bug report to `bug-g++@prep.ai.mit.edu'. make.exe: *** [richtest.o] Error 1 go32/v2 version 2.0 built Aug 12 1996 22:27:23 Usage: go32 coff-image [args] Rename this to go32.exe only if you need a go32 that can run v2 binaries as well as v1 binaries (old makefiles). Put ahead of the old go32 in your PATH but do not delete your old go32 - leave it in the PATH after this one. Set GO32_V2_DEBUG=y in the environment to get verbose output. OUTPUT OF go32-v2: DPMI memory available: 15219 Kb DPMI swap space available: 77765 Kb OUTPUT OF set: COMSPEC=C:\COMMAND.COM TEMP=c:\temp BLASTER=A220 I5 D1 H5 P330 T6 SOUND=C:\SB16 MIDI=SYNTH:1 MAP:E PROMPT=$e[36m$p--$g$e[0m DJGPP=c:/djgpp/djgpp.env PATH=c:\windows;c:\bat;c:\dos;c:\utils;c:\sb16;c:\tc\bin;c:\net\mit;c:\djgpp\bin CONFIG.SYS DEVICE=C:\WINDOWS\HIMEM.SYS DEVICE=C:\WINDOWS\EMM386.EXE noems Dos=UMB Dos=HIGH Break=On Files = 40 DEVICEHIGH = C:\dos\ANSI.SYS DEVICEHIGH /L:1,26928 =C:\SB16\DRV\CTSB16.SYS /UNIT=0 /BLASTER=A:220 I:5 D:1 H:5 DEVICEHIGH /L:1,10416 =C:\SB16\DRV\CTMMSYS.SYS DEVICEhigh=C:\SBCD\DRV\SLCD.SYS /B:230 /D:MSCD001 /V /K /M:P devicehigh = c:\windows\ifshlp.sys AUTOEXEC.BAT rem shell = c:\command.com /e:2048 @echo off rem lh C:\SDD\UNIVBE.EXE -w rem C:\SDD\MKACCEL.EXE -gen rem C:\SDD\UNIPOWER.EXE set path=c:\windows;c:\bat;c:\dos;c:\utils;c:\sb16;c:\tc\bin;c:\net\mit set temp=c:\temp set blaster=A220 I5 D1 H5 P330 T6 SET SOUND=C:\SB16 SET MIDI=SYNTH:1 MAP:E rem set MGL_ROOT=C:\SCITECH diagnose /s sb16set /p /q lh \dos\mmouse lh C:\dos\doskey lh C:\sbcd\MSCDEX.EXE /S /e /d:mscd001 call c:\bat\vreset call c:\bat\status call c:\djgpp\setdjenv \djgpp\aram\random\automenu 3 if errorlevel 2 \windows\win \eudora\eudora if errorlevel 1 \windows\win C:\windows\net start full