crossarm-compiler error (was : Bug in RTL for arm)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

crossarm-compiler error (was : Bug in RTL for arm)

Koenraad Lelong-3
I just did a "gdb-compile" with following output :
<...>
Compiling /home/koenraad/msegui/msegui/lib/common/kernel/msegui.pas
msegui.pas(8004,2) Note: Local variable "window" is assigned but never used

Program received signal SIGSEGV, Segmentation fault.
0x0809c01e in TCGARM__A_LOAD_CONST_REG (LIST=0x41327b1c, SIZE=OS_32,
A=373, REG=16777232, this=0x4006005c) at cgcpu.pas:578
578     cgcpu.pas: Onbekend bestand of map.
         in cgcpu.pas
(gdb) bt
#0  0x0809c01e in TCGARM__A_LOAD_CONST_REG (LIST=0x41327b1c, SIZE=OS_32,
A=373, REG=16777232, this=0x4006005c) at cgcpu.pas:578
#1  0x0809bac5 in TCGARM__A_OP_CONST_REG_REG_CHECKOVERFLOW
(LIST=0x41327b1c, OP=OP_SUB, SIZE=OS_32, A=373, SRC=16777216,
DST=16777216, SETFLAGS=false, OVLOC=
         {LOC = LOC_VOID, SIZE = 187, RESFLAGS = 166, VALUE = 134764198,
VALUE64 = 4719606297463903910, REFERENCE = {OFFSET = 134764198, SYMBOL =
0x417f68ec, RELSYMBOL = 0x417f68ec, SEGMENT = 1098902140, BASE =
-2068527460, INDEX = 135735660, REFADDR = 76, SCALEFACTOR = 142,
SYMBOLDATA = 0x80a1302, SIGNINDEX = 64, SHIFTIMM = 21, ADDRESSMODE = 9,
SHIFTMODE = 8}, REGISTER = 134764198, REGISTER64 = {REGLO = 134764198,
REGHI = 1098868972}}, this=0x4006005c) at cgcpu.pas:436
#2  0x0809b663 in TCGARM__A_OP_CONST_REG_REG (LIST=0x41327b1c,
OP=OP_SUB, SIZE=OS_32, A=373, SRC=16777216, DST=16777216,
this=0x4006005c) at cgcpu.pas:323
#3  0x0809b50d in TCGARM__A_OP_CONST_REG (LIST=0x41327b1c, OP=OP_SUB,
SIZE=OS_32, A=373, REG=16777216, this=0x4006005c) at cgcpu.pas:287
#4  0x080ce5bf in TCG__G_ADJUST_SELF_VALUE (LIST=0x41327b1c,
PROCDEF=0x4185801c, IOFFSET=373, this=0x4006005c) at cgobj.pas:2069
#5  0x0809e071 in TCGARM__G_INTF_WRAPPER (LIST=0x41327b1c,
PROCDEF=0x4185801c,
 
LABELNAME='WRPR_MSEGUI_TINTERNALAPPLICATION_$_IMOUSE_$_1_$_MSEGUI_TINTERNALAPPLICATION_$__GETMOUSEWINID$$LONGWORD',
IOFFSET=373, this=0x4006005c) at cgcpu.pas:1479
#6  0x0811f4bc in GEN_INTF_WRAPPER (LIST=0x41327b1c, _CLASS=0x41144cfc)
at ncgutil.pas:2370
#7  0x0811f52f in GEN_INTF_WRAPPERS (LIST=0x41327b1c, ST=0x4150c4dc) at
ncgutil.pas:2386
#8  0x080e2189 in PROC_UNIT () at pmodules.pas:1303
#9  0x080904ca in COMPILE
(FILENAME='/home/koenraad/msegui/msegui/lib/common/kernel/msegui.pas')
at parser.pas:532
#10 0x080d8611 in TPPUMODULE__LOADPPU (this=0x4033bdbc) at fppu.pas:1509
#11 0x080d7f6f in TPPUMODULE__LOAD_USEDUNITS (this=0x411a2bac) at
fppu.pas:1244
#12 0x080d8515 in TPPUMODULE__LOADPPU (this=0x411a2bac) at fppu.pas:1471
#13 0x080e0cb6 in LOADUNITS () at pmodules.pas:622
#14 0x080e1451 in PARSE_IMPLEMENTATION_USES () at pmodules.pas:840
#15 0x080e1e1c in PROC_UNIT () at pmodules.pas:1185
#16 0x080904ca in COMPILE
(FILENAME='/home/koenraad/msegui/msegui/lib/common/kernel/msebitmap.pas')
at parser.pas:532
#17 0x080d8611 in TPPUMODULE__LOADPPU (this=0x40539ffc) at fppu.pas:1509
#18 0x080e0cb6 in LOADUNITS () at pmodules.pas:622
#19 0x080e1c19 in PROC_UNIT () at pmodules.pas:1098
#20 0x080904ca in COMPILE
(FILENAME='/home/koenraad/msegui/msegui/lib/common/kernel/msegui.pas')
at parser.pas:532
#21 0x080d8611 in TPPUMODULE__LOADPPU (this=0x4033bdbc) at fppu.pas:1509
#22 0x080d7f6f in TPPUMODULE__LOAD_USEDUNITS (this=0x411a2bac) at
fppu.pas:1244
#23 0x080d8515 in TPPUMODULE__LOADPPU (this=0x411a2bac) at fppu.pas:1471
#24 0x080e0cb6 in LOADUNITS () at pmodules.pas:622
#25 0x080e1451 in PARSE_IMPLEMENTATION_USES () at pmodules.pas:840
#26 0x080e1e1c in PROC_UNIT () at pmodules.pas:1185
#27 0x080904ca in COMPILE
(FILENAME='/home/koenraad/msegui/msegui/lib/common/kernel/msepointer.pas')
at parser.pas:532
#28 0x080d8611 in TPPUMODULE__LOADPPU (this=0x4053977c) at fppu.pas:1509
#29 0x080e0cb6 in LOADUNITS () at pmodules.pas:622
#30 0x080e1c19 in PROC_UNIT () at pmodules.pas:1098
#31 0x080904ca in COMPILE
(FILENAME='/home/koenraad/msegui/msegui/lib/common/kernel/msegui.pas')
at parser.pas:532
#32 0x080d8611 in TPPUMODULE__LOADPPU (this=0x4033bdbc) at fppu.pas:1509
#33 0x080d7f6f in TPPUMODULE__LOAD_USEDUNITS (this=0x411a2bac) at
fppu.pas:1244
#34 0x080d8515 in TPPUMODULE__LOADPPU (this=0x411a2bac) at fppu.pas:1471
#35 0x080e0cb6 in LOADUNITS () at pmodules.pas:622
#36 0x080e1451 in PARSE_IMPLEMENTATION_USES () at pmodules.pas:840
#37 0x080e1e1c in PROC_UNIT () at pmodules.pas:1185
#38 0x080904ca in COMPILE
(FILENAME='/home/koenraad/msegui/msegui/lib/common/kernel/msetimer.pas')
at parser.pas:532
#39 0x080d8611 in TPPUMODULE__LOADPPU (this=0x411a2fec) at fppu.pas:1509
#40 0x080e0cb6 in LOADUNITS () at pmodules.pas:622
#41 0x080e1c19 in PROC_UNIT () at pmodules.pas:1098
#42 0x080904ca in COMPILE
(FILENAME='/home/koenraad/msegui/msegui/lib/common/kernel/msepointer.pas')
at parser.pas:532
#43 0x080d8611 in TPPUMODULE__LOADPPU (this=0x4053977c) at fppu.pas:1509
#44 0x080e0cb6 in LOADUNITS () at pmodules.pas:622
#45 0x080e1c19 in PROC_UNIT () at pmodules.pas:1098
#46 0x080904ca in COMPILE
(FILENAME='/home/koenraad/msegui/msegui/lib/common/kernel/msegui.pas')
at parser.pas:532
#47 0x080d8611 in TPPUMODULE__LOADPPU (this=0x4033bdbc) at fppu.pas:1509
#48 0x080e0cb6 in LOADUNITS () at pmodules.pas:622
#49 0x080e1451 in PARSE_IMPLEMENTATION_USES () at pmodules.pas:840
#50 0x080e1e1c in PROC_UNIT () at pmodules.pas:1185
---Type <return> to continue, or q <return> to quit---
Can anyone help ?
Regards,
Koenraad Lelong.
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal