<pre><tt><tt>Hi:<br><br>I have compiled with the Jay produced 5.5 bootstrap compiler, and also with 5.1.3a,<br> 5.2.6 and get the same error.<br><br>Thanks<br><br>>You need to compile the new m3core with the old compiler so that the <br>>symbol is available to you when you compile using the new compiler. <br>>This is a classical bootstrapping problem.<br><br>>On Sep 18, 2007, at 6:30 PM, Daniel Alejandro Benavides D. wrote:<br><br>> Hi:<br>> Thanks for your answer, I have done that and also I get the same <br>> runtime error<br>> in the same source file:<br>><br>><br>> C:\cm3-cvs\cm3\m3-libs\m3core>CM3<br>> --- building in NT386 ---<br>><br>> ignoring ..\src\m3overrides<br>><br>> new source -> compiling RTHooks.i3<br>> new source -> compiling RT0.i3<br>> new source -> compiling RuntimeError.i3<br>> new source -> compiling Word.i3<br>> new source -> compiling RTException.i3<br>> new
source -> compiling RTHooks.m3<br>> new source -> compiling RT0.m3<br>> new source -> compiling Compiler.i3<br>> new source -> compiling RuntimeError.m3<br>> new source -> compiling Compiler.m3<br>> new source -> compiling RTAllocator.i3<br>> new source -> compiling RTType.i3<br>> new source -> compiling Csetjmp.i3<br>> new source -> compiling BasicCtypes.i3<br>> new source -> compiling Ctypes.i3<br>> new source -> compiling RTMachine.i3<br>> new source -> compiling RTHeapDep.i3<br>> new source -> compiling RTHeapRep.i3<br>> new source -> compiling ThreadF.i3<br>> new source -> compiling RTOS.i3<br>> new source -> compiling RTMisc.i3<br>> new source -> compiling RTHeap.i3<br>> new source -> compiling Cstdlib.i3<br>> new source -> compiling Cstddef.i3<br>> new source -> compiling RTAllocCnts.i3<br>> new source -> compiling RTAllocator.m3<br>> new
source -> compiling RTAllocStats.i3<br>> new source -> compiling Convert.i3<br>> new source -> compiling TextClass.i3<br>> new source -> compiling Text.i3<br>> new source -> compiling RTProcedureSRC.i3<br>> new source -> compiling Fingerprint.i3<br>> new source -> compiling RTProcedure.i3<br>> new source -> compiling RTStack.i3<br>> new source -> compiling RTAllocStats.m3<br>> "..\src\runtime\common\RTAllocStats.m3", line 46: undefined runtime <br>> symbol !! (R<br>> THooks.AllocateTracedRef)<br>><br>><br>> ***<br>> *** runtime error:<br>> *** Attempt to reference an illegal memory location.<br>> *** pc = 0x4c4a0d = StartCall + 0xf in ..\src\values\Procedure.m3<br>> ***<br>><br>> Stack trace:<br>> FP PC Procedure<br>> --------- --------- -------------------------------<br>> 0x12f494 0x60b3ce SystemError + 0x66 in ..\src\runtime\NT386 <br>> \RTSignal.m3<br>> 0x12f4c4
0x4c4a0d StartCall + 0xf in ..\src\values\Procedure.m3<br>> 0x12f524 0x51beb8 GenRecord + 0x73 in ..\src\builtinOps\New.m3<br>> 0x12f58c 0x51b8a3 GenRef + 0x111 in ..\src\builtinOps\New.m3<br>> 0x12f5c8 0x51b70f Gen + 0x12d in ..\src\builtinOps\New.m3<br>> 0x12f5e0 0x51b4a3 Prep + 0x15 in ..\src\builtinOps\New.m3<br>> 0x12f600 0x550f08 Prep + 0x75 in ..\src\exprs\CallExpr.m3<br>> 0x12f61c 0x54312d Prep + 0x54 in ..\src\exprs\Expr.m3<br>> 0x12f63c 0x544d7f PrepForEmit + 0x81 in ..\src\stmts\AssignStmt.m3<br>> 0x12f66c 0x54453b Compile + 0xd6 in ..\src\stmts\AssignStmt.m3<br>> ......... ......... ... more frames ...<br>><br>> C:\cm3-cvs\cm3\m3-libs\m3core><br>> >You need to recompile m3core before compiling with the new compiler.<br>><br>> >On Sep 18, 2007, at 5:29 PM, Daniel Alejandro Benavides D. wrote:<br>><br>> > Hi all:<br>> > Im getting this runtiem error because the symbol<br>> ><br>> >
missing version stamps -> compiling RTAllocStats.m3<br>> > "..\src\runtime\common\RTAllocStats.m3", line 46: undefined runtime<br>> > symbol !! (R<br>> > THooks.AllocateTracedRef)<br>> ><br>> > AllocateTracedRef is not defined in the m3core version of this Dll<br>> > (I guess the change is more new than the bootstrap compiler). How<br>> > can avoid this issue?<br>> ><br>> > Thanks in advance<br>> ><br>> > C:\cm3-cvs\cm3\scripts\win>do-cm3-base.cmd<br>> > INSTALLROOT=C:\cm3<br>> > LIB=%INSTALLROOT%\LIB;%LIB%<br>> > CM3ROOT=C:\\cm3-cvs\\cm3<br>> > call C:\cm3-cvs\cm3\scripts\win\pkgmap -c "cm3 -build -override -<br>> > DROOT=C:\\cm3-c<br>> > vs\\cm3" import-libs m3core libm3 m3middle m3quake m3scanner<br>> > m3tools m3cgcat m3c<br>> > ggen m3bundle mklib dll2lib fix_nl libdump bitvector digraph<br>> > parseparams realgeo<br>> > metry set slisp
sortedtableextras table-list tempfiles tcp tapi<br>> > === package C:\cm3-cvs\cm3\m3-win\import-libs ===<br>> > +++ "cm3 -build -override -DROOT=C:\\cm3-cvs\\cm3" +++<br>> > --- building in NT386 ---<br>> ><br>> > unable to read ..\src\m3overrides, options "-override" and "-x"<br>> > ignored.<br>> > === package C:\cm3-cvs\cm3\m3-libs\m3core ===<br>> > +++ "cm3 -build -override -DROOT=C:\\cm3-cvs\\cm3" +++<br>> > --- building in NT386 ---<br>> ><br>> > missing version stamps -> compiling RTAllocStats.m3<br>> > "..\src\runtime\common\RTAllocStats.m3", line 46: undefined runtime<br>> > symbol !! (R<br>> > THooks.AllocateTracedRef)<br>> ><br>> ><br>> > ***<br>> > *** runtime error:<br>> > *** Attempt to reference an illegal memory location.<br>> > *** pc = 0x4c4a0d = StartCall + 0xf in ..\src\values\Procedure.m3<br>> > ***<br>> ><br>> >
Stack trace:<br>> > FP PC Procedure<br>> > --------- --------- -------------------------------<br>> > 0x12f494 0x60b3ce SystemError + 0x66 in ..\src\runtime\NT386<br>> > \RTSignal.m3<br>> > 0x12f4c4 0x4c4a0d StartCall + 0xf in ..\src\values\Procedure.m3<br>> > 0x12f524 0x51beb8 GenRecord + 0x73 in ..\src\builtinOps\New.m3<br>> > 0x12f58c 0x51b8a3 GenRef + 0x111 in ..\src\builtinOps\New.m3<br>> > 0x12f5c8 0x51b70f Gen + 0x12d in ..\src\builtinOps\New.m3<br>> > 0x12f5e0 0x51b4a3 Prep + 0x15 in ..\src\builtinOps\New.m3<br>> > 0x12f600 0x550f08 Prep + 0x75 in ..\src\exprs\CallExpr.m3<br>> > 0x12f61c 0x54312d Prep + 0x54 in ..\src\exprs\Expr.m3<br>> > 0x12f63c 0x544d7f PrepForEmit + 0x81 in<br>> ..\src\stmts\AssignStmt.m3<br>> > 0x12f66c 0x54453b Compile + 0xd6 in ..\src\stmts\AssignStmt.m3<br>> > ......... ......... ... more frames ...<br>> > *** execution of cm3 -build -override
-DROOT=C:\\cm3-cvs\\cm3<br>> > failed with 0 ***<br>> > error : call C:\cm3-cvs\cm3\scripts\win\pkgmap -c "cm3 -build -<br>> > override -DROOT=C<br>> > :\\cm3-cvs\\cm3" import-libs m3core libm3 m3middle m3quake<br>> > m3scanner m3tools m3c<br>> > gcat m3cggen m3bundle mklib dll2lib fix_nl libdump bitvector<br>> > digraph parseparams<br>> > realgeometry set slisp sortedtableextras table-list tempfiles tcp<br>> > tapi failed<br>> ><br>> > C:\cm3-cvs\cm3\scripts\win></tt></tt></pre><p>
<hr size=1><br><font face="Verdana" size="-2">Sé un Mejor Amante del Cine<br>¿Quieres saber cómo? <a href="http://us.rd.yahoo.com/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entretenimiento.html">¡Deja que otras personas te ayuden!
</a>.<br></font>