<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Jay:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I appreciate your help.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I just updated via CVS to get all your latest changes, but I am still getting the error with non-unique match for _xmm.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">See below:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">…<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">msvcrt.lib
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">m3core.def : warning LNK4022: cannot find unique match for symbol '_xmm'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">m3core.def : warning LNK4002: __xmm@41f00000000000000000000000000000 defined in dtoa.obj<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">m3core.def : warning LNK4002: __xmm@80000000000000008000000000000000 defined in dtoa.obj<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">m3core.def : error LNK2001: unresolved external symbol _xmm<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">m3core.lib : fatal error LNK1120: 1 unresolved externals<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Can you point me in the right direction to solve this problem?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Randy Coleburn<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> jayk123@hotmail.com [mailto:jayk123@hotmail.com]
<b>On Behalf Of </b>Jay K<br>
<b>Sent:</b> Tuesday, August 27, 2013 11:28 AM<br>
<b>To:</b> Rodney M. Bates; m3devel<br>
<b>Subject:</b> EXT:Re: [M3devel] need some help with linker error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Calibri","sans-serif"">This is fixed now too.<br>
Dragisha had introduced heap corruption in FSWin32.m3 trying to improve Unicode support.<br>
<br>
- Jay<br>
<o:p></o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="margin-left:.5in;text-align:center">
<span style="font-family:"Calibri","sans-serif"">
<hr size="3" width="100%" align="center" id="stopSpelling">
</span></div>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<span style="font-family:"Calibri","sans-serif"">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<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Calibri","sans-serif"">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>
<o:p></o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="margin-left:.5in;text-align:center">
<span style="font-family:"Calibri","sans-serif"">
<hr size="3" width="100%" align="center" id="ecxstopSpelling">
</span></div>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<span style="font-family:"Calibri","sans-serif"">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<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Calibri","sans-serif"">I updated m3-sys/mklib to ignore these.<br>
Let me know if there are any more problems.<br>
<br>
Thanks,<br>
- Jay<br>
<o:p></o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="margin-left:.5in;text-align:center">
<span style="font-family:"Calibri","sans-serif"">
<hr size="3" width="100%" align="center" id="ecxstopSpelling">
</span></div>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<span style="font-family:"Calibri","sans-serif"">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<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Calibri","sans-serif""> > 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>
<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Calibri","sans-serif"">> 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>
> <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>
> ><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>