Announcement

Collapse
No announcement yet.

Mesa3D 17 and LLVM 4.0 Windows build with Scons and Visual Studio fails

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mesa3D 17 and LLVM 4.0 Windows build with Scons and Visual Studio fails

    Attempting to build Mesa3D 17.0.1 with Scons 2.5.1 and Visual Studio 2015 Update 3 linked against LLVM 4.0.0 RC3 also built with Visual Studio 2015 Update 3 fails despite LLVM build finishing without issues.
    Reported by @lowenz in https://www.phoronix.com/forums/foru...130#post936130
    " Compiling src\compiler\glsl\ast_array_index.cpp ...
    ast_array_index.cpp
    c:\projects\mesa-master\include\c11\threads_win32.h(151): error C2027: use of undefined type 'xtime'
    C:\Projects\mesa-master\include\c11/threads.h(48): note: see declaration of 'xtime'
    c:\projects\mesa-master\include\c11\threads_win32.h(151): error C2227: left of '->sec' must point to class/struct/union/generic type
    c:\projects\mesa-master\include\c11\threads_win32.h(151): error C2227: left of '->nsec' must point to class/struct/union/generic type
    c:\projects\mesa-master\include\c11\threads_win32.h(446): error C2027: use of undefined type 'xtime'
    C:\Projects\mesa-master\include\c11/threads.h(48): note: see declaration of 'xtime'
    c:\projects\mesa-master\include\c11\threads_win32.h(446): error C2227: left of '->sec' must point to class/struct/union/generic type
    c:\projects\mesa-master\include\c11\threads_win32.h(637): error C2027: use of undefined type 'xtime'
    C:\Projects\mesa-master\include\c11/threads.h(48): note: see declaration of 'xtime'
    c:\projects\mesa-master\include\c11\threads_win32.h(637): error C2227: left of '->sec' must point to class/struct/union/generic type
    c:\projects\mesa-master\include\c11\threads_win32.h(638): error C2027: use of undefined type 'xtime'
    C:\Projects\mesa-master\include\c11/threads.h(48): note: see declaration of 'xtime'
    c:\projects\mesa-master\include\c11\threads_win32.h(638): error C2227: left of '->nsec' must point to class/struct/union/generic type
    scons: *** [build\windows-x86\gallium\auxiliary\gallivm\lp_bld_misc.obj] Error 2
    scons: building terminated because of errors."
    Last edited by monraaf; 03-05-2017, 06:50 AM.

  • #2
    LLVM 4.0 is supported with Mesa 17.1.

    Comment

    Working...
    X