Sign in Join

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

Mailing lists / fpc-devel / 2007-04

error makeing ppccossarm with debug info

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

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

Vincent Snijders

Hi,

In order to investigate a access violation with ppcrosarm, I tried to create a cross compiler with debug info. On windows xp I used the following command line in the fpc main directory:

make compiler_cycle CROSSINSTALL=0 RELEASE=0 OPT="-gl"

After cycling the native compiler, it tries to compile the cross compiler and I get this error:

C:/lazarus/source/fpc/2.3/compiler/ppc.exe -Ur -Xs -O2 -n -Fuarm -Fusystems -FuC:/lazarus/source/fpc/2.3/rtl/units/i386-win32 -Fiarm -FE. -FUarm/units/i386-win32 -dRELEASE -gl -dREVINC -darm -dGDB -dBROWSERLOG pp.pas
An unhandled exception occurred at $0041A720 :
EAccessViolation : Access violation
$0041A720 TDYNAMICARRAY__SIZE, of cclasses.pas
$0043544B TINTERNALLINKER__RUNLINKSCRIPT, line 980 of link.pas $004356FE TINTERNALLINKER__MAKEEXECUTABLE, lineFatal: Compilation aborted
1026 of link.pas
$004ABFA8 PROC_PROGRAM, line 1527 of pmodules.pas $0042A93B COMPILE, line 389 of parser.pas
$0041022C COMPILE, line 248 of compiler.pas
$00401756 main, line 207 of pp.pas

I am using fpc 2.3.1 of revision 7011.

Vincent

Reply by email

Vincent Snijders
to Vincent Snijders
Vincent Snijders wrote 27 lines
Hi, In order to investigate a access violation with ppcrosarm, I tried to create a cross compiler with debug info. On windows xp I used the following command line in the fpc main directory: make compiler_cycle CROSSINSTALL=0 RELEASE=0 OPT="-gl" After cycling the native compiler, it tries to compile the cross compiler and I get this error: C:/lazarus/source/fpc/2.3/compiler/ppc.exe -Ur -Xs -O2 -n -Fuarm -Fusystems -FuC:/lazarus/source/fpc/2.3/rtl/units/i386-win32 -Fiarm -FE. -FUarm/units/i386-win32 -dRELEASE -gl -dREVINC -darm -dGDB -dBROWSERLOG pp.pas An unhandled exception occurred at $0041A720 : EAccessViolation : Access violation $0041A720 TDYNAMICARRAY__SIZE, of cclasses.pas $0043544B TINTERNALLINKER__RUNLINKSCRIPT, line 980 of link.pas $004356FE TINTERNALLINKER__MAKEEXECUTABLE, lineFatal: Compilation aborted 1026 of link.pas $004ABFA8 PROC_PROGRAM, line 1527 of pmodules.pas $0042A93B COMPILE, line 389 of parser.pas $0041022C COMPILE, line 248 of compiler.pas $00401756 main, line 207 of pp.pas

Fixed in revision 7187 by Peter. Thanks.

Vincent

Reply by email