[M3devel] NT386 with cm3-5.5 bootstrap compiler

Tony Hosking hosking at cs.purdue.edu
Wed Sep 19 00:25:14 CEST 2007


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! .




More information about the M3devel mailing list