<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1492164125015_2697" dir="ltr"><span style="font-family: 'Courier New'; white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1492164125015_2755">If you have changed module FileDir, its variable size and/or its code size will very likely have changed (even if the module interface itself has not changed). Therefore, pointers from within the module descriptor of FileDir, such as mod.code and mod.ptr, will no longer point to "correct" starting addresses in the various sections inside the module block of FileDir.</span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697"><span style="font-family: 'Courier New'; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697"><span style="font-family: 'Courier New'; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697"><span style="font-family: 'Courier New'; white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1492164125015_2840">So you will likely have to rebuild the inner core and load it onto the disk's boot area, e.g., by executing the commands [1]</span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697"><span style="font-family: 'Courier New'; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697"><span style="font-family: 'Courier New'; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697"><span style="font-family: 'Courier New'; white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1492164125015_3135">       ORP.Compile Kernel.Mod FileDir.Mod Files.Mod Modules.Mod ~</span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697"><span style="font-family: 'Courier New'; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697" dir="ltr"><span style="font-family: 'Courier New'; white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1492164125015_3000">       Linker.Link Modules ~</span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697" dir="ltr"><span style="font-family: 'Courier New'; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697" dir="ltr"><font face="Courier New" id="yui_3_16_0_ym19_1_1492164125015_3064"><span style="white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1492164125015_3063">       Builder.Build Modules </span></font><span style="font-family: 'Courier New'; white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1492164125015_3006">~</span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697" dir="ltr"><span style="font-family: 'Courier New'; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697" dir="ltr"><span style="font-family: 'Courier New'; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697"><span style="font-family: 'Courier New'; white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1492164125015_2991">Note: It is the linking process that will update the module area layout (i.e. the linked list of the four modules Kernel, FileDir, Files and Modules), such that *a</span><span style="font-family: 'Courier New'; white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1492164125015_3111">fter* rebooting, pointers like mod.ptr will be correct again. With the updated mod.ptr, the GC should work. Please make sure to also recompile the rest of the Oberon system including the compiler itself *before* rebooting system - just in case module keys of the inner core modules have changed. Otherwise it may not come up again.</span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697"><span style="font-family: 'Courier New'; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697"><span style="font-family: 'Courier New'; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697" dir="ltr"><span style="font-family: 'Courier New'; white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1492164125015_3095">Andreas</span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697" dir="ltr"><span style="font-family: 'Courier New'; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697" dir="ltr"><span style="font-family: 'Courier New'; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697" dir="ltr"><span style="font-family: 'Courier New'; white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1492164125015_3099">[1] e.g. see </span><font face="Courier New" id="yui_3_16_0_ym19_1_1492164125015_3071"><span style="white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1492164125015_3072"><a href="https://github.com/andreaspirklbauer/Oberon-building-tools" id="yui_3_16_0_ym19_1_1492164125015_3100">http://github.com/andreaspirklbauer/Oberon-building-tools</a> </span></font></div><div id="yui_3_16_0_ym19_1_1492164125015_2697" dir="ltr"><font face="Courier New"><span style="white-space: pre-wrap;"><br></span></font></div><div id="yui_3_16_0_ym19_1_1492164125015_2697"><span style="font-family: 'Courier New'; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697"><br></div><div id="yui_3_16_0_ym19_1_1492164125015_2697"><span style="font-family: 'Courier New'; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1492164125015_2697"><span style="font-family: 'Courier New'; white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1492164125015_2758">------------------------------------------</span><br></div><pre id="yui_3_16_0_ym19_1_1492164125015_2715">Tomas Kral thomas.kral at email.cz Fri Apr 14 10:49:39 CEST 2017Hi,

Now I have figured out, recompiling </pre><pre id="yui_3_16_0_ym19_1_1492164125015_2715">OR.Compile FileDir.Mod System.Mod ~ with most recent changes, stopped GC to collect garbage.</pre><pre id="yui_3_16_0_ym19_1_1492164125015_2715">
Any ideas what I may have done wrong? Do I have to rebuild inner core?</pre><pre id="yui_3_16_0_ym19_1_1492164125015_2715">Tomas</pre></div></body></html>