Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2011-06

0019405: compiler crashes with range check error

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin

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

Reply by email

Martin
to Martin
Martin wrote 19 lines
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/

And yes the starting compiler is:
C:\FPC\SVN>ppc386_2_4_4.exe
Free Pascal Compiler version 2.4.4 [2011/05/09] for i386 Copyright (c) 1993-2010 by Florian Klaempfl

Show quoted text 35 lines
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 _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Sergei Gorelkin
to Martin

11.06.2011 3:13, Martin пишет:

Show quoted text 14 lines
On 11/06/2011 00:08, Martin wrote: > 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: > > > 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

Hopefully fixed in r17715.

Sergei

Reply by email

Martin
to Sergei Gorelkin
Sergei Gorelkin wrote 13 lines
11.06.2011 3:13, Martin пишет: > On 11/06/2011 00:08, Martin wrote: >> make clean >> make.exe all LINKSMART=1 CREATESMART=1 DEBUG=1 OPTIMIZE=0 OPT="-gl >> -gw -godwarfsets -O1 -Cr" >> >> Ends in the below error: >> >> 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 Hopefully fixed in r17715.

Thanks, works now. :)

Reply by email