[fpc-devel] crash when building trunk

Martin lazarus at mfriebe.de
Mon Mar 11 22:24:15 CET 2013


The below "make" may not be exactly the documented way.
And also my starting compiler was 2.6.0 (and should be 2.6.2).

So failure is on my side. But I expect that if it failed, it still 
should not crash.
I am not sure in which step it was, when it crashed.

trunk_build is the build binaries from SVN, might not be uptodate...

PATH=C:\FPC\SVN\trunk_build;C:\FPC\rel_2_6_0\bin\i386-win32
SET FPC=c:\FPC\SVN\ppc386_2_6_0.exe

make clean
make.exe all LINKSMART=1  CREATESMART=1  DEBUG=1 OPTIMIZE=0 OPT="-gl -gw 
-godwarfsets -O-1 -Cr"
make.exe rtl_install packages_install INSTALL_PREFIX=c:\FPC\trunk_cr  
COPYTREE=echo UPXPROG=echo FPC=C:/FPC/SVN/trunc/compiler/ppc386.exe


make.exe[3]: Entering directory `C:/FPC/SVN/trunc/utils/unicode'
C:/FPC/SVN/trunk_build/gmkdir.exe -p units/i386-win32
C:/FPC/SVN/trunc/compiler/ppc386.exe -XX -CX -gl -Ur -Xs -O2 -n -O2 
-FuC:/FPC/SVN/trunc/rtl/units/i386-win32 -FuC:/FPC/SVN/trunc/packages/pa
szlib/units/i386-win32 
-FuC:/FPC/SVN/trunc/packages/fcl-process/units/i386-win32 
-FuC:/FPC/SVN/trunc/packages/hash/units/i386-win32 -FuC:/FP
C/SVN/trunc/packages/fpmkunit/units/i386-win32 
-FuC:/FPC/SVN/trunc/packages/fcl-res/units/i386-win32 
-FuC:/FPC/SVN/trunc/packages/fcl-base/u
nits/i386-win32 -FuC:/FPC/SVN/trunc/packages/fcl-xml/units/i386-win32 
-FE. -FUunits/i386-win32 -gl -gw -godwarfsets -O-1 -Cr -di386 -dDEBUG
-dRELEASE cldrparser.lpr
Fatal: Compilation aborted
An unhandled exception occurred at $004A79F4:
ERangeError: Range check error
   $004A79F4 line 2638 of scanner.pas
   $004AA75D line 3944 of scanner.pas
   $005094B8 line 133 of pbase.pas
   $00525BBE line 3095 of pexpr.pas
   $00527040 line 3422 of pexpr.pas
   $0052706D line 3427 of pexpr.pas
   $0052706D line 3427 of pexpr.pas
   $0052706D line 3427 of pexpr.pas
   $00527AB8 line 3694 of pexpr.pas
   $0050C27C line 1189 of pstatmnt.pas
   $0050C656 line 1316 of pstatmnt.pas
   $005024F3 line 335 of psub.pas
   $00505213 line 1699 of psub.pas
   $00505686 line 1847 of psub.pas
   $00505B12 line 2002 of psub.pas
   $00505F1D line 2126 of psub.pas
   $005023C1 line 279 of psub.pas

make.exe[3]: *** [cldrparser.exe] Error 217
make.exe[3]: Leaving directory `C:/FPC/SVN/trunc/utils/unicode'
make.exe[2]: *** [unicode_all] Error 2
make.exe[2]: Leaving directory `C:/FPC/SVN/trunc/utils'
make.exe[1]: *** [utils_all] 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