<div dir="ltr">OK, we've had to change that several times now. At this point I think we should just enable bigobj on that specific file. I'll try to prepare a patch.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 9, 2016 at 9:52 AM, Aidan Dodds <span dir="ltr"><<a href="mailto:aidan@codeplay.com" target="_blank">aidan@codeplay.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<pre>Hi Reid,
Thanks for taking a look at this.
Here was the full error:
llvm\tools\clang\lib\ASTMatchers\Dynamic\Registry.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /<span>bigobj</span></pre>
That file seems to have quite a bit of macro magic going on, so I'll
try to dig deeper into this when I'm back in the office tomorrow.<div><div class="h5"><br>
<br>
<div>On 09/02/2016 17:11, Reid Kleckner
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Which object file has crossed the limit? When this
has happened before, this has usually highlighted over use of
templates, which is worth fixing because it speeds up builds on
other platforms as well. If MSVC 2015 instead just happens to
generate say one extra section per function, then we should
probably use bigobj.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Feb 9, 2016 at 3:55 AM, Aidan
Dodds via lldb-dev <span dir="ltr"><<a href="mailto:lldb-dev@lists.llvm.org" target="_blank"></a><a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I pulled in recent changes to upstream llvm, clang and lldb
and it seems<br>
to have tipped my windows build over the edge, and its
complaining that<br>
my object files have exceeded the section limit.<br>
This error is raised while building the clang libraries.
Has anyone<br>
else seen this problem while doing an x64 build with with
Visual Studio<br>
2015?<br>
<br>
This problem can be fixed however by specifying /bigobj as a
compiler<br>
flag. The problem is however that this needs to be given to
clang,<br>
which in turn inherits most of its cmake from llvm.<br>
<br>
I have attached my prospective patch for this issue, but
wanted to check<br>
in with the lldb folk first to see if anyone has hit this
issue, and if<br>
they would have any feedback before I submit it to llvm.<br>
<br>
Thanks,<br>
Aidan<br>
<br>
-- <br>
Aidan Dodds<br>
staff software engineer, Debuggers<br>
Codeplay Software Ltd<br>
Level C, Argyle House, 3 Lady Lawson St.<br>
Edinbrgh, EH3 9DR<br>
Tel: 0131 466 0503<br>
Fax: 0131 557 6600<br>
Website: <a href="http://www.codeplay.com" rel="noreferrer" target="_blank">http://www.codeplay.com</a><br>
Twitter: <a href="https://twitter.com/codeplaysoft" rel="noreferrer" target="_blank">https://twitter.com/codeplaysoft</a><br>
<br>
This email and any attachments may contain confidential and
/or privileged information and is for use by the addressee
only. If you are not the intended recipient, please notify
Codeplay Software Ltd immediately and delete the message
from your computer. You may not copy or forward it,or use or
disclose its contents to any other person. Any views or
other information in this message which do not relate to our
business are not authorized by Codeplay software Ltd, nor
does this message form part of any contract unless so
stated.<br>
As internet communications are capable of data corruption
Codeplay Software Ltd does not accept any responsibility for
any changes made to this message after it was sent. Please
note that Codeplay Software Ltd does not accept any
liability or responsibility for viruses and it is your
responsibility to scan any attachments.<br>
Company registered in England and Wales, number: 04567874<br>
Registered office: 81 Linkfield Street, Redhill RH1 6BY<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>