<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'>There was already some support, of a small subset. :)<br><br> - Jay<br><br><br><div><hr id="stopSpelling">Subject: Re: [M3devel] need some help with linker error<br>From: dragisha@m3w.org<br>Date: Wed, 28 Aug 2013 00:25:15 +0200<br>CC: rodney_bates@lcwb.coop; m3devel@elegosoft.com<br>To: jay.krell@cornell.edu<br><br>heh :). More like trying to introduce some support. There was no such thing beforehand.<div><br></div><div>I am glad you fixed my first aid effort. Thanks!<br><div>
<span class="ecxApple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Candara;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><span class="ecxApple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><div style="word-wrap:break-word;"><span class="ecxApple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><div style="word-wrap:break-word;"><div>--</div></div></span></div></span><span class="ecxApple-style-span" style="font-family:Helvetica;">Dragiša Durić</span><span class="ecxApple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><div style="word-wrap:break-word;"><span class="ecxApple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><div style="word-wrap:break-word;"><div><a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a></div><div><br></div></div></span></div></span></span><br class="ecxApple-interchange-newline">
</div>
<br><div><div>On Aug 27, 2013, at 5:28 PM, Jay K wrote:</div><br class="ecxApple-interchange-newline"><blockquote><span class="ecxApple-style-span" style="border-collapse:separate;font-family:Constantia;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><div class="ecxhmmessage" style="font-size:12pt;font-family:Calibri;"><div dir="ltr">This is fixed now too.<br>Dragisha had introduced heap corruption in FSWin32.m3 trying to improve Unicode support.<br> <br> - Jay<br> <br><div><hr id="ecxstopSpelling">From: <a href="mailto:jay.krell@cornell.edu">jay.krell@cornell.edu</a><br>To: <a href="mailto:rodney_bates@lcwb.coop">rodney_bates@lcwb.coop</a>; <a href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</a><br>Date: Tue, 27 Aug 2013 14:55:13 +0000<br>Subject: Re: [M3devel] need some help with linker error<br><br><div dir="ltr">Hm. That leaves me with:<br> <br> +++ C:\cm3\bin\cm3.exe -build -DROOT=C:/dev2/cm3.2 +++<br>--- building in NT386 ---<br>ignoring ..\src\m3overrides<br> <br>***<br>*** runtime error:<br>*** Attempt to reference an illegal memory location.<br>***<br>Stack trace:<br> FP PC Procedure<br>--------- --------- -------------------------------<br> 0x14efe0 0x11bdadb SystemError + 0x64 in ..\src\runtime\NT386\RTSignal.m3<br> 0x14f028 0x76f22d94 <???><br> 0x14f040 0x76f22ce8 <???><br> 0x14f054 0x759bc3d4 <???><br> 0x14f068 0x6302dcc2 <???><br> 0x14f074 0x11bbe02 Cstdlib_I3 + 0x1a2 in ..\src\C\Common\Cstdlib.i3<br> 0x14f088 0x11a7925 DisposeUntracedRef + 0x2c in ..\src\runtime\common\RTAlloc<br>ator.m3<br> 0x14f09c 0x11a1687 DelCriticalSection + 0x2d in ..\src\thread\WIN32\ThreadWin<br>32.m3<br> 0x14f0b8 0x11a161a CleanMutex + 0x89 in ..\src\thread\WIN32\ThreadWin32.m3<br> 0x14f0ec 0x1196371 PostHandleWeakRefs + 0x2ae in ..\src\runtime\common\RTColl<br>ector.m3<br>......... ......... ... more frames ...<br> *** execution of [<function _BuildGlobalFunction at 0x018E0A70>, <function _Shi<br>pFunction at 0x0197B630>] failed ***<br> <br>Not good.<br> <br> - Jay<br><br><br><br> <br><div><hr id="ecxstopSpelling">From: <a href="mailto:jay.krell@cornell.edu">jay.krell@cornell.edu</a><br>To: <a href="mailto:rodney_bates@lcwb.coop">rodney_bates@lcwb.coop</a>; <a href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</a><br>Date: Tue, 27 Aug 2013 09:07:25 +0000<br>Subject: Re: [M3devel] need some help with linker error<br><br><div dir="ltr">I updated m3-sys/mklib to ignore these.<br>Let me know if there are any more problems.<br> <br>Thanks,<br> - Jay<br> <br><div><hr id="ecxstopSpelling">From: <a href="mailto:jay.krell@cornell.edu">jay.krell@cornell.edu</a><br>To: <a href="mailto:rodney_bates@lcwb.coop">rodney_bates@lcwb.coop</a>; <a href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</a><br>Date: Tue, 27 Aug 2013 06:43:53 +0000<br>Subject: Re: [M3devel] need some help with linker error<br><br><div dir="ltr"> > Is there a chance both are getting linked in?<br><br>No. There is no chance of this.<br> <br> <br>> Or one from the modula-3 distribution, and one already in some MS-supplied<br>> library?<br><br> <br>No. There is no chance of this either.<br> <br> <br>I forget how we generate the .def file but we need to exclude names "like" this -- that start _xmm@.<br>These are floating point constants for code that uses sse2.<br>You are targeting 32bit, right?<br>Still, I guess these might occur, with newer compilers.<br>I'll look into it.<br>We already have to code exclude the older forms of floating point constants.<br> <br> - Jay<br><br> <br><div>> Date: Mon, 26 Aug 2013 20:03:20 -0500<br>> From: <a href="mailto:rodney_bates@lcwb.coop">rodney_bates@lcwb.coop</a><br>> To: <a href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</a><br>> Subject: Re: [M3devel] need some help with linker error<br>><span class="ecxApple-converted-space"> </span><br>> This is just a wild guess, but there are two dtoa.c files, in<br>><span class="ecxApple-converted-space"> </span><br>> m3-libs/m3core/src/Csupport/little-endian/dtoa.c and<br>> m3-libs/m3core/src/Csupport/big-endian/dtoa.c<br>><span class="ecxApple-converted-space"> </span><br>> No doubt they are alternatives. Is there a chance both are getting linked in?<br>> Or one from the modula-3 distribution, and one already in some MS-supplied<br>> library?<br>><span class="ecxApple-converted-space"> </span><br>> On 08/26/2013 07:49 PM, Coleburn, Randy wrote:<br>> > Jay:<br>> ><br>> > I'm getting errors trying to rebuild m3core.lib on Win7-64bit. Specifically, see below the error I get from the Microsoft Linker.<br>> ><br>> > The full text of the m3core.lst file is also shown at the end of this message.<br>> ><br>> > msvcrt.lib<br>> ><br>> > m3core.def : warning LNK4022: cannot find unique match for symbol '_xmm'<br>> ><br>> > m3core.def : warning LNK4002: __xmm@41f00000000000000000000000000000 defined in dtoa.obj<br>> ><br>> > m3core.def : warning LNK4002: __xmm@80000000000000008000000000000000 defined in dtoa.obj<br>> ><br>> > m3core.def : error LNK2001: unresolved external symbol _xmm<br>> ><br>> > m3core.lib : fatal error LNK1120: 1 unresolved externals<br>> ><br>> > Any ideas on what I should do to resolve this problem?<br>> ><br>> > Thanks,<br>> ><br>> > Randy Coleburn<br>> ><br>> ></div></div></div></div></div></div></div></div></div></span></blockquote></div><br></div></div> </div></body>
</html>