<div dir="ltr"><a class="GWVZpf gW" id="IloFPc-2" href="mailto:thakis@google.com" tabindex="-1">+Nico Weber</a> <br><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 19, 2018 at 12:25 PM via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This afternoon I did a clean build of llvm using ninja and MSVC 2015 on<br>
Windows 10. I saw something curious and wondered if any of the ninja or<br>
CMake experts out there can explain/fix it.<br>
<br>
[2663/3121] Linking CXX shared library bin\LTO.dll<br>
   Creating library lib\LTO.dll and object lib\LTO.exp<br>
   Creating library lib\LTO.dll and object lib\LTO.exp<br>
[3120/3121] Running the LLVM regression tests<br>
[[[ etc ]]]<br>
<br>
I'm curious about the "creating library" message popping out twice.<br>
Sometimes ninja builds will die on me, complaining about a corrupted<br>
object file, usually related to LTO. Rerunning ninja usually completes<br>
successfully.  So I wonder if there's some mishap in the dependencies<br>
somewhere that actually causes the build to try to link the DLL twice,<br>
which of course might corrupt a file if the links are overlapping in<br>
time.<br>
<br>
Thought I'd throw this out there in case someone wants to take a look.<br>
--paulr<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>