<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I've seen it work now on AMD64_LINUX, SPARC32_SOLARIS, and I386_DARWIN 10.5.8.<div>I think MacOSX 10.10.4 has something else wrong with it that'll take a while to figure out.</div><div><br></div><div><br></div><div>So I commited it again.</div><div><br></div><div><br></div><div>PLEASE NOTE that the upgrade procedure is tricky like with cm3cg, but the </div><div>results of getting it wrong are worse than the recent round of cm3cg changes.</div><div>You will get runtime crashes.</div><div><br></div><div><br></div><div><br></div><div>upgrade.py and upgrade-full.sh and likely upgrade.sh all do the right thing, same as always.</div><div><br></div><div><br></div><div>Not only is cm3 closely tied with cm3cg, but it also closely tied with m3core.</div><div>The compiler and runtime collaborate on producing and consuming certain data structures,</div><div>and these data structures have changed now.</div><div><br></div><div><br></div><div><br></div><div>At least it should be more debuggable now with the C backend -- so I can see local variables for example.</div><div>Fixing cm3cg to work with plain -g would be good.</div><div><br></div><div><br></div><div>Is anyone else running 10.10?</div><div><br></div><div><br></div><div>Thanks,</div><div> - Jay<br><br><br><div><hr id="stopSpelling">From: jay.krell@cornell.edu<br>To: m3commit@elegosoft.com<br>Date: Sat, 8 Aug 2015 18:59:55 +0000<br>Subject: Re: [M3commit] [modula3/cm3] 57ad34: Revert "allocate jmpbufs with alloca(external vari...<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">I believe this is working ok on MacOS X 10.5.8 with cm3cg and C backend.<div>However things do not work on 10.10.4. I'm guessing for another unknown</div><div>reason but I want <span style="font-size:12pt;">to debug that separately for now.</span></div><div><br></div><div>If anyone else can give the previous a try on their configuration, that'd be appreciated.</div><div>(In github app, you can revert my revert. I haven't found how to do w/ git command line).</div><div><br></div><div>Thank you.</div><div><br></div><div>Specifically on 10.0.4 I get:</div><div><br></div><div><div>* thread #1: tid = 0x3a9861, 0x002b7360 cm3`RTAllocator__GetTracedObj + 36, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x24)</div><div>    frame #0: 0x002b7360 cm3`RTAllocator__GetTracedObj + 36</div><div>  * frame #1: 0x002b6e90 cm3`RTHooks__AllocateTracedObj + 17</div><div>    frame #2: 0x00281272 cm3`TextUtils_M3 + 49</div><div>    frame #3: 0x002c705c cm3`RTLinker__RunMainBody + 763</div><div>    frame #4: 0x002c6f2d cm3`RTLinker__RunMainBody + 460</div><div>    frame #5: 0x002c6f2d cm3`RTLinker__RunMainBody + 460</div><div>    frame #6: 0x002c6f2d cm3`RTLinker__RunMainBody + 460</div><div>    frame #7: 0x002c6f2d cm3`RTLinker__RunMainBody + 460</div><div>    frame #8: 0x002c6f2d cm3`RTLinker__RunMainBody + 460</div><div>    frame #9: 0x002c6f2d cm3`RTLinker__RunMainBody + 460</div><div>    frame #10: 0x002c6f2d cm3`RTLinker__RunMainBody + 460</div><div>    frame #11: 0x002c6f2d cm3`RTLinker__RunMainBody + 460</div><div>    frame #12: 0x002c6f2d cm3`RTLinker__RunMainBody + 460</div><div>    frame #13: 0x002c6f2d cm3`RTLinker__RunMainBody + 460</div><div>    frame #14: 0x002c6f2d cm3`RTLinker__RunMainBody + 460</div><div>    frame #15: 0x002c6f2d cm3`RTLinker__RunMainBody + 460</div><div>    frame #16: 0x002c64e8 cm3`RTLinker__AddUnitI + 287</div><div>    frame #17: 0x002c6563 cm3`RTLinker__AddUnit + 116</div><div>    frame #18: 0x00002341 cm3`main(argc=1, argv=0xbffffca8, envp=0xbffffcb0) + 97 at _m3main.c:22</div><div>    frame #19: 0x9518e6d9 libdyld.dylib`start + 1</div></div><div><br></div><div><br></div><div>  - Jay</div><div><br><br><div>Date: Sat, 8 Aug 2015 11:49:10 -0700<br>From: jay.krell@cornell.edu<br>To: m3commit@elegosoft.com<br>Subject: [M3commit] [modula3/cm3] 57ad34: Revert "allocate jmpbufs with alloca(external vari...<br><br><pre>  Branch: refs/heads/master<br>  Home:   <a href="https://github.com/modula3/cm3" target="_blank">https://github.com/modula3/cm3</a><br>  Commit: 57ad34f5034d5000bd5d63fb384851921bc782a1<br>      <a href="https://github.com/modula3/cm3/commit/57ad34f5034d5000bd5d63fb384851921bc782a1" target="_blank">https://github.com/modula3/cm3/commit/57ad34f5034d5000bd5d63fb384851921bc782a1</a><br>  Author: jaykrell <jay.krell@cornell.edu><br>  Date:   2015-08-08 (Sat, 08 Aug 2015)<br> <br>  Changed paths:<br>    M m3-libs/m3core/src/runtime/ex_frame/RTExFrame.m3<br>    M m3-sys/m3back/src/M3C.m3<br>    M m3-sys/m3cc/gcc/gcc/m3cg/parse.c<br>    R m3-sys/m3front/src/misc/Jmpbufs.i3<br>    R m3-sys/m3front/src/misc/Jmpbufs.m3<br>    M m3-sys/m3front/src/misc/M3.i3<br>    M m3-sys/m3front/src/misc/Marker.i3<br>    M m3-sys/m3front/src/misc/Marker.m3<br>    M m3-sys/m3front/src/misc/m3makefile<br>    M m3-sys/m3front/src/stmts/TryFinStmt.m3<br>    M m3-sys/m3front/src/stmts/TryStmt.m3<br>    M m3-sys/m3front/src/values/Module.i3<br>    M m3-sys/m3front/src/values/Module.m3<br>    M m3-sys/m3front/src/values/Procedure.m3<br>    M m3-sys/m3middle/src/M3RT.m3<br>    M m3-sys/m3middle/src/Target.i3<br>    M m3-sys/m3middle/src/Target.m3<br> <br>  Log Message:<br>  -----------<br>  Revert "allocate jmpbufs with alloca(external variable initialized in C)"<br> <br>This reverts commit 44fbd1608a73affa0625a9df4bff1c7248cc6f3c.<br> <br> <br></pre><br>_______________________________________________
M3commit mailing list
M3commit@elegosoft.com
https://mail.elegosoft.com/cgi-bin/mailman/listinfo/m3commit</div></div>                                      </div>
<br>_______________________________________________
M3commit mailing list
M3commit@elegosoft.com
https://mail.elegosoft.com/cgi-bin/mailman/listinfo/m3commit</div></div>                                      </div></body>
</html>