[fpc-devel] 0019405: compiler crashes with range check error

Martin lazarus at mfriebe.de
Sat Jun 11 01:08:40 CEST 2011


Yes, thanks it is fixed (well, or I cant reach i du to the below, but I 
choose to believe in it's fixed).
But now (with today's SVN), on w32 vista:

make clean
make.exe all LINKSMART=1  CREATESMART=1  DEBUG=1 OPTIMIZE=0  OPT="-gl 
-gw -godwarfsets -O1 -Cr"

Ends in the below error:


C:/FPC/SVN/trunk_build/rm.exe -f i386/ppc386.exe i386/ppc68k.exe 
i386/ppcx64.exe i386/ppcppc.exe i386/ppcsparc.exe i386/ppcppc64.exe i386/pp
carm.exe i386/ppcmips.exe i386/ppcmipsel.exe i386/ppc386.exe
C:/FPC/SVN/trunk_build/rm.exe -f ppc386.exe
C:/FPC/SVN/trunk_build/gmkdir.exe -p i386/units/i386-win32
c:/FPC/SVN/ppc386_2_4_4.exe -XX -CX -gl -Ur -Xs -O2 -n -O2 -Fui386 
-Fusystems -FuC:/FPC/SVN/trunc/rtl/units/i386-win32 -Fii386 -FE. -FUi386/
units/i386-win32 -dDEBUG -dRELEASE -gl -gw -godwarfsets -O1 -Cr -di386 
-dGDB -dBROWSERLOG -Fux86 pp.pas
aasmtai.pas(396,11) Warning: Constructor should be public
aasmcpu.pas(2230,19) Warning: unreachable code
pdecsub.pas(1630,5) Warning: unreachable code
cgcpu.pas(239,59) Warning: Local variable "tmpref" does not seem to be 
initialized
symdef.pas(3478,12) Warning: unreachable code
symdef.pas(3616,12) Warning: unreachable code
symdef.pas(5423,10) Warning: User defined: : this is completely wrong on 
so many levels...
pmodules.pas(2351,12) Warning: unreachable code
ognlm.pas(1317,18) Warning: unreachable code
t_nwm.pas(971,38) Warning: Function result does not seem to be set
agx86att.pas(253,16) Warning: unreachable code
pp.pas(224,1) Error: Undefined symbol: FPC_ANSISTR_CHECKZERO
pp.pas(224,1) Error: Undefined symbol: FPC_WIDESTR_CHECKZERO
pp.pas(224,1) Error: Undefined symbol: FPC_UNICODESTR_CHECKZERO
pp.pas(224,1) Fatal: There were 3 errors compiling module, stopping
Fatal: Compilation aborted
make.exe[5]: *** [ppc386.exe] Error 1
make.exe[5]: Leaving directory `C:/FPC/SVN/trunc/compiler'
make.exe[4]: *** [next] Error 2
make.exe[4]: Leaving directory `C:/FPC/SVN/trunc/compiler'
make.exe[3]: *** [ppc1.exe] Error 2
make.exe[3]: Leaving directory `C:/FPC/SVN/trunc/compiler'
make.exe[2]: *** [cycle] Error 2
make.exe[2]: Leaving directory `C:/FPC/SVN/trunc/compiler'
make.exe[1]: *** [compiler_cycle] Error 2
make.exe[1]: Leaving directory `C:/FPC/SVN/trunc'
make.exe: *** [build-stamp.i386-win32] Error 2




More information about the fpc-devel mailing list