<div dir="ltr">+Sam</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 7, 2013 at 8:22 PM, Manish Verma <span dir="ltr"><<a href="mailto:manish.verma@arm.com" target="_blank">manish.verma@arm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have been discussing the same issue on llvm-commit mailing-list.<br>
<a href="http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130603/177054.
html" target="_blank">http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130603/177054.<br>
html</a><br>
<br>
At the moment, the debug build of LLVM/Clang is broken on Windows.<br>
This is because when compiling ASTMatchers/Dynamic/Registry.cpp,<br>
the compilers hit the allowed limit of 2^16 sections in the<br>
COFF file.<br>
<br>
For MSVC it is possible to work around this problem by compiling<br>
with /bigobj command line option. However, I don't know of an<br>
equivalent command line option for Min-GW gcc.<br>
<br>
On Linux, Registry.o (debug-mode) is about 34M in size and has<br>
36986 sections. I can expect it impacting the link-time and memory<br>
usage.<br>
<br>
The last commit has resulted in the build failure, but I don't think<br>
it is responsible for the failure.<br>
<br>
I don't know what should be the correct solution. Hence, I am raising<br>
it here for discussion.<br>
<br>
Regards,<br>
Manish<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div>