<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi all,</div>
<div><br>
</div>
<div>I have been trying to compile LLVM 3.8 and Mesa 11.0.7, and I have the final last hurdle I think to get past</div>
<div><br>
</div>
<div>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">scons: Building targets ...</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">  Linking build/windows-x86_64/gallium/targets/libgl-gdi/opengl32.dll ...</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">/home/janderssen/mesa_win64/llvm-3.8.build/lib/libLLVMCodeGen.a(Passes.o):Passes.cpp:(.text+0x2239): undefined reference to `llvm::createSafeStackPass(llvm::TargetMachine const*)'</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">/home/janderssen/mesa_win64/llvm-3.8.build/lib/libLLVMSupport.a(Path.o):Path.cpp:(.text+0x8e5): undefined reference to `__imp_CoTaskMemFree'</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">/home/janderssen/mesa_win64/llvm-3.8.build/lib/libLLVMSupport.a(Path.o):Path.cpp:(.rdata$.refptr.FOLDERID_Profile[.refptr.FOLDERID_Profile]+0x0): undefined reference to `FOLDERID_Profile'</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">/home/janderssen/mesa_win64/llvm-3.8.build/lib/libLLVMSupport.a(Path.o):Path.cpp:(.rdata$.refptr.FOLDERID_LocalAppData[.refptr.FOLDERID_LocalAppData]+0x0): undefined reference to `FOLDERID_LocalAppData'</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">collect2: error: ld returned 1 exit status</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">scons: *** [build/windows-x86_64/gallium/targets/libgl-gdi/opengl32.dll] Error 1</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">scons: building terminated because of errors.</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">I Managed to get this far, and would like to finalise it.</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">LLVM Version 3.8</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">Mesa 11.0.7</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">LVVM Configure line :</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">../<span style="color: #c33720"><b>configure</b></span> -C --prefix=$HOME/mesa_win64/llvm-3.8.build --host=x86_64-w64-mingw32 --enable-optimized --disable-assertions --disable-pthreads --enable-targets=x86_64
 --enable-bindings=none --disable-libffi --with-c-include-dirs=/usr/x86_64-w64-mingw32 --with-gcc-toolchain=/usr/x86_64-w64-mingw32 --with-default-sysroot=/usr/x86_64-w64-mingw32</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">Mesa Compile line :</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">LDFLAGS="-static -s" CXXFLAGS="-std=c++11" scons build=release platform=windows toolchain=crossmingw machine=x86_64 libgl-gdi</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">Any ideas of what I am doing wrong ?</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">Cheers and thanks in advance for your help.</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">Jason</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
</p>
</div>
Internet Email Confidentiality Footer: This email and any files transmitted with it contain privileged/confidential information intended for the addressee. Neither the confidentiality of nor any privilege in the email is waived, lost or destroyed by reason
 that it has been transmitted other than to the addressee. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy
 this message, and notify us immediately.
</body>
</html>