<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'>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="stopSpelling">From: jay.krell@cornell.edu<br>To: rodney_bates@lcwb.coop; m3devel@elegosoft.com<br>Date: Tue, 27 Aug 2013 14:55:13 +0000<br>Subject: Re: [M3devel] need some help with linker error<br><br>

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

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

--></style>
<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: jay.krell@cornell.edu<br>To: rodney_bates@lcwb.coop; m3devel@elegosoft.com<br>Date: Tue, 27 Aug 2013 09:07:25 +0000<br>Subject: Re: [M3devel] need some help with linker error<br><br>

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

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


--></style>
<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: jay.krell@cornell.edu<br>To: rodney_bates@lcwb.coop; m3devel@elegosoft.com<br>Date: Tue, 27 Aug 2013 06:43:53 +0000<br>Subject: Re: [M3devel] need some help with linker error<br><br>

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

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


--></style>
<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: rodney_bates@lcwb.coop<br>> To: m3devel@elegosoft.com<br>> Subject: Re: [M3devel] need some help with linker error<br>> <br>> This is just a wild guess, but there are two dtoa.c files, in<br>> <br>> m3-libs/m3core/src/Csupport/little-endian/dtoa.c and<br>> m3-libs/m3core/src/Csupport/big-endian/dtoa.c<br>> <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>> <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>> ><br></div>                                      </div></div>                                        </div></div>                                        </div></div>                                        </div></body>
</html>