https://bugs.freedesktop.org/show_bug.cgi?id=100202
--- Comment #2 from Anonymous Helper <[email protected]> ---
Workaround:
Open Visual Studio 2017 installer. Opt-in for Visual Studio 2015 Update 3
toolset
in Desktop Development with C/C++ section.
Because LLVM 4.0 is not supported per bug 100201 you have to patch LLVM 3.9.1
source code with this
https://www.diffchecker.com/t58yZ2JE on lib\DebugInfo\PDB\DIA\DIASession.cpp
line 61.
For now you can use either the normal VS2017 Native Tools and VS2015 Native
Tools, but VS2017 toolset would stop working if bug 100201 gets fixed before
this bug.
This is because of the following confusion with Scons:
- MSVC 2017 toolset has built-in xtime definition;
- MSVC 2015 toolset doesn't;
- LLVM 4.0 makes use of xtime;
- LLVM 3.9.1 doesn't;
- Scons, while it can use MSVC 2017 toolset if MSVC 2015 toolset is installed,
it doesn't support it properly, it is unable to detect certain headers, mainly
brand new ones like xtimec.h where xtime is defined. This leads to a no escape
situation where you can only decide how you fail.
- If you remove xtime definition from Mesa codbase, you quickly get xtime
undefined coming from Scons;
- If you leave this unchanged, MSVC compiler encounters an xtime redifintion
close to the end of the build like here:
https://bugs.freedesktop.org/attachment.cgi?id=130219
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev