<div dir="rtl"><div dir="ltr">3GB is too close for comfort for the 32 bit linker.</div><div dir="ltr">G M reports success with the 64 bit toolchain so maybe it's actually required with current versions.<br></div><div dir="ltr">

<br></div><div dir="ltr">Are you using the 32-bit toolchain or 64-bit toolchain of mingw-builds?</div><div dir="ltr"><br></div><div dir="ltr">Yaron</div><div dir="ltr"><br></div></div><div class="gmail_extra"><div dir="ltr">

<br><br><div class="gmail_quote">2013/10/10 Mikael Lepistö <span dir="ltr"><<a href="mailto:mikael.lepisto@vincit.fi" target="_blank">mikael.lepisto@vincit.fi</a>></span><br><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex">

<div>Hi,</div><div><br></div><div>I also had some problems with building llvm+clang on MinGW 4.8.1 + MSYS. Another thing was that linker did require ~3GB memory to complete on x64.<br></div><div><br></div><div>
Here in the readme I have listed steps and linked versions of MinGW and MSYS to use for being able to compile llvm + clang on Windows 7.</div><div><br></div><div><a href="https://github.com/KhronosGroup/webcl-validator#building-with-windows-mingw--msys" target="_blank">https://github.com/KhronosGroup/webcl-validator#building-with-windows-mingw--msys</a></div>


<div><br></div><div>Good luck!</div><div><br></div><div>Best regards, Mikael Lepistö</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, Oct 10, 2013 at 11:50 AM, Yaron Keren <span dir="ltr"><<a href="mailto:yaron.keren@gmail.com" target="_blank">yaron.keren@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><div dir="rtl"><div dir="ltr">

I'd try switching MingW distribution as it's very easy to do.<br>
</div><div dir="ltr">If you're now using <a href="http://www.mingw.org/" target="_blank">http://www.mingw.org/</a> try <a href="http://sourceforge.net/projects/mingwbuilds/" target="_blank">http://sourceforge.net/projects/mingwbuilds/</a> and vice verse. These are different distributions with different patches and different binaries. </div>




<div dir="ltr">For instance ld.exe in the former is 9MB and in the later 944K.</div><span><font color="#888888"><div dir="ltr"><br></div><div dir="ltr">Yaron</div><div dir="ltr"><br></div></font></span></div>
<br></div></div>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div></blockquote></div></div></div>