[M3devel] NT386 with cm3-5.5 bootstrap compiler
Daniel Alejandro Benavides D.
dabenavidesd at yahoo.es
Wed Sep 19 00:30:16 CEST 2007
Hi:
Thanks for your answer, I have done that and also I get the same runtime error
in the same source file:
C:\cm3-cvs\cm3\m3-libs\m3core>CM3
--- building in NT386 ---
ignoring ..\src\m3overrides
new source -> compiling RTHooks.i3
new source -> compiling RT0.i3
new source -> compiling RuntimeError.i3
new source -> compiling Word.i3
new source -> compiling RTException.i3
new source -> compiling RTHooks.m3
new source -> compiling RT0.m3
new source -> compiling Compiler.i3
new source -> compiling RuntimeError.m3
new source -> compiling Compiler.m3
new source -> compiling RTAllocator.i3
new source -> compiling RTType.i3
new source -> compiling Csetjmp.i3
new source -> compiling BasicCtypes.i3
new source -> compiling Ctypes.i3
new source -> compiling RTMachine.i3
new source -> compiling RTHeapDep.i3
new source -> compiling RTHeapRep.i3
new source -> compiling ThreadF.i3
new source -> compiling RTOS.i3
new source -> compiling RTMisc.i3
new source -> compiling RTHeap.i3
new source -> compiling Cstdlib.i3
new source -> compiling Cstddef.i3
new source -> compiling RTAllocCnts.i3
new source -> compiling RTAllocator.m3
new source -> compiling RTAllocStats.i3
new source -> compiling Convert.i3
new source -> compiling TextClass.i3
new source -> compiling Text.i3
new source -> compiling RTProcedureSRC.i3
new source -> compiling Fingerprint.i3
new source -> compiling RTProcedure.i3
new source -> compiling RTStack.i3
new source -> compiling RTAllocStats.m3
"..\src\runtime\common\RTAllocStats.m3", line 46: undefined runtime symbol !! (R
THooks.AllocateTracedRef)
***
*** runtime error:
*** Attempt to reference an illegal memory location.
*** pc = 0x4c4a0d = StartCall + 0xf in ..\src\values\Procedure.m3
***
Stack trace:
FP PC Procedure
--------- --------- -------------------------------
0x12f494 0x60b3ce SystemError + 0x66 in ..\src\runtime\NT386\RTSignal.m3
0x12f4c4 0x4c4a0d StartCall + 0xf in ..\src\values\Procedure.m3
0x12f524 0x51beb8 GenRecord + 0x73 in ..\src\builtinOps\New.m3
0x12f58c 0x51b8a3 GenRef + 0x111 in ..\src\builtinOps\New.m3
0x12f5c8 0x51b70f Gen + 0x12d in ..\src\builtinOps\New.m3
0x12f5e0 0x51b4a3 Prep + 0x15 in ..\src\builtinOps\New.m3
0x12f600 0x550f08 Prep + 0x75 in ..\src\exprs\CallExpr.m3
0x12f61c 0x54312d Prep + 0x54 in ..\src\exprs\Expr.m3
0x12f63c 0x544d7f PrepForEmit + 0x81 in ..\src\stmts\AssignStmt.m3
0x12f66c 0x54453b Compile + 0xd6 in ..\src\stmts\AssignStmt.m3
......... ......... ... more frames ...
C:\cm3-cvs\cm3\m3-libs\m3core>
>You need to recompile m3core before compiling with the new compiler.
>On Sep 18, 2007, at 5:29 PM, Daniel Alejandro Benavides D. wrote:
> Hi all:
> Im getting this runtiem error because the symbol
>
> missing version stamps -> compiling RTAllocStats.m3
> "..\src\runtime\common\RTAllocStats.m3", line 46: undefined runtime
> symbol !! (R
> THooks.AllocateTracedRef)
>
> AllocateTracedRef is not defined in the m3core version of this Dll
> (I guess the change is more new than the bootstrap compiler). How
> can avoid this issue?
>
> Thanks in advance
>
> C:\cm3-cvs\cm3\scripts\win>do-cm3-base.cmd
> INSTALLROOT=C:\cm3
> LIB=%INSTALLROOT%\LIB;%LIB%
> CM3ROOT=C:\\cm3-cvs\\cm3
> call C:\cm3-cvs\cm3\scripts\win\pkgmap -c "cm3 -build -override -
> DROOT=C:\\cm3-c
> vs\\cm3" import-libs m3core libm3 m3middle m3quake m3scanner
> m3tools m3cgcat m3c
> ggen m3bundle mklib dll2lib fix_nl libdump bitvector digraph
> parseparams realgeo
> metry set slisp sortedtableextras table-list tempfiles tcp tapi
> === package C:\cm3-cvs\cm3\m3-win\import-libs ===
> +++ "cm3 -build -override -DROOT=C:\\cm3-cvs\\cm3" +++
> --- building in NT386 ---
>
> unable to read ..\src\m3overrides, options "-override" and "-x"
> ignored.
> === package C:\cm3-cvs\cm3\m3-libs\m3core ===
> +++ "cm3 -build -override -DROOT=C:\\cm3-cvs\\cm3" +++
> --- building in NT386 ---
>
> missing version stamps -> compiling RTAllocStats.m3
> "..\src\runtime\common\RTAllocStats.m3", line 46: undefined runtime
> symbol !! (R
> THooks.AllocateTracedRef)
>
>
> ***
> *** runtime error:
> *** Attempt to reference an illegal memory location.
> *** pc = 0x4c4a0d = StartCall + 0xf in ..\src\values\Procedure.m3
> ***
>
> Stack trace:
> FP PC Procedure
> --------- --------- -------------------------------
> 0x12f494 0x60b3ce SystemError + 0x66 in ..\src\runtime\NT386
> \RTSignal.m3
> 0x12f4c4 0x4c4a0d StartCall + 0xf in ..\src\values\Procedure.m3
> 0x12f524 0x51beb8 GenRecord + 0x73 in ..\src\builtinOps\New.m3
> 0x12f58c 0x51b8a3 GenRef + 0x111 in ..\src\builtinOps\New.m3
> 0x12f5c8 0x51b70f Gen + 0x12d in ..\src\builtinOps\New.m3
> 0x12f5e0 0x51b4a3 Prep + 0x15 in ..\src\builtinOps\New.m3
> 0x12f600 0x550f08 Prep + 0x75 in ..\src\exprs\CallExpr.m3
> 0x12f61c 0x54312d Prep + 0x54 in ..\src\exprs\Expr.m3
> 0x12f63c 0x544d7f PrepForEmit + 0x81 in
..\src\stmts\AssignStmt.m3
> 0x12f66c 0x54453b Compile + 0xd6 in ..\src\stmts\AssignStmt.m3
> ......... ......... ... more frames ...
> *** execution of cm3 -build -override -DROOT=C:\\cm3-cvs\\cm3
> failed with 0 ***
> error : call C:\cm3-cvs\cm3\scripts\win\pkgmap -c "cm3 -build -
> override -DROOT=C
> :\\cm3-cvs\\cm3" import-libs m3core libm3 m3middle m3quake
> m3scanner m3tools m3c
> gcat m3cggen m3bundle mklib dll2lib fix_nl libdump bitvector
> digraph parseparams
> realgeometry set slisp sortedtableextras table-list tempfiles tcp
> tapi failed
>
> C:\cm3-cvs\cm3\scripts\win>
>
>
> Sé un Mejor Amante del Cine
> ¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
---------------------------------
Sé un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20070919/869727cd/attachment-0002.html>
More information about the M3devel
mailing list