<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - llvmpipe Windows scons build with MSVC toolchain and LLVM 4.0 fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100201#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - llvmpipe Windows scons build with MSVC toolchain and LLVM 4.0 fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100201">bug 100201</a>
from <span class="vcard"><a class="email" href="mailto:anonymous@dodgeit.com" title="Anonymous Helper <anonymous@dodgeit.com>"> <span class="fn">Anonymous Helper</span></a>
</span></b>
<pre>(In reply to Jose Fonseca from <a href="show_bug.cgi?id=100201#c7">comment #7</a>)
<span class="quote">> The links errors are possibly due to Mesa and LLVM not being built exactly
> with the same compiler as Mesa, no?</span >
LLVM 4.0 was built with MSVC 2017 toolset. I get linker errors regardless of
what toolset I use to build Mesa (MSVC 2015 or 2017). Building LLVM with MSVC
2015 toolset requires the whole Viual Studio 2015 because CMake uses Msbuild
tool which backward compatibility toolsets like MSVC 2015 toolset on MSVC 2017
don't have access to. With Mesa on the other hand using Scons which is an
alternative to Msbuild I can get away, by just using the toolset. I'd rather
wait for this to be fixed, then reinstalling Visual Studio 2015 to see if it
works, it was horribly bloated, forcing me to install .NET and Azure SDKs just
to tell everything is up-to-date although I never used them.
<span class="quote">> Or perhaps we need to update mesa/scons/llvm.py with a special case for LLVM
> 4.0 with additional libraries?
>
>
> I installed all the MSVC components, but still haven't figured out how to
> repro the build logs you attached.
>
>
> At any rate, your xtime fix is on the right track. So I tweaked a bit and
> pushed it.</span >
The log I posted in all attachments is from this script:
<a href="https://github.com/pal1000/mesa-dist-win/tree/master/buildscript">https://github.com/pal1000/mesa-dist-win/tree/master/buildscript</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>