<div dir="ltr"><div><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> Is it turned ON in your build?<br></blockquote>Yes it is turned on in my build<br><br></div><div>here is my build script<br><br>PATH=/mingw64/bin:$PATH<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">FFI_INCLUDE_DIR="$(pkg-config --cflags libffi)"<br>FFI_INCLUDE_DIR=$(echo $FFI_INCLUDE_DIR | sed 's|-I||g')<br><br>/mingw64/bin/cmake.exe \<br>  -G"MSYS Makefiles" \<br>  -DCMAKE_MAKE_PROGRAM="/usr/bin/make.exe" \<br>  -DCMAKE_C_COMPILER="/mingw64/bin/gcc.exe" \<br>  -DCMAKE_CXX_COMPILER="/mingw64/bin/g++.exe" \<br>  -DFFI_INCLUDE_DIR="${FFI_INCLUDE_DIR}" \<br>  -DCMAKE_C_FLAGS="${CFLAGS}" \<br>  -DCMAKE_CXX_FLAGS="${CXXFLAGS} ${CPPFLAGS}" \<br>  -DCMAKE_INSTALL_PREFIX=/mingw64 \<br>  -DCMAKE_BUILD_TYPE=Release \<br>  -DLLVM_TARGETS_TO_BUILD="ARM;AArch64;CppBackend;X86" \<br>  -DLLVM_ENABLE_ASSERTIONS=OFF \<br>  -DLLVM_ENABLE_THREADS=0 \<br>  -DPYTHON_EXECUTABLE=/mingw64/bin/python2.exe \<br>  -DLLVM_ENABLE_FFI=ON \<br>  -DLLVM_ENABLE_SPHINX=ON \<br>  ../llvm<br></blockquote><br></div>Is this not supported?<br></div>We do have a build of libffi in mingw-w64 and it works well with other projects.<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 28, 2015 at 6:49 PM, Yaron Keren <span dir="ltr"><<a href="mailto:yaron.keren@gmail.com" target="_blank">yaron.keren@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="rtl"><div dir="ltr">This test results in UNSUPPORTED on my system, since config.enable_ffi = "OFF". This is the result of LLVM_ENABLE_FFI which is OFF by default. Is it turned ON in your build?</div><div dir="ltr"><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><div dir="ltr"><br><div class="gmail_quote">2015-07-28 17:32 GMT+03:00 Martell Malone <span dir="ltr"><<a href="mailto:martellmalone@gmail.com" target="_blank">martellmalone@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hi Yaron,<br><br></div><div>I know you sent me some emails before about regression testing on MSYS2<br></div><div>So you might have some idea about this<br><br></div>I am getting a regression error on check-llvm.<br></div>With the llvm/trunk/test/ExecutionEngine/Interpreter/intrinsics.ll<br><div><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">FAIL: LLVM :: ExecutionEngine/Interpreter/intrinsics.ll (7635 of 14266)<br>******************** TEST 'LLVM :: ExecutionEngine/Interpreter/intrinsics.ll' FAILED ********************<br>Script:<br>--<br>C:/msys64/home/Martell/llvmbuild/./bin/lli.EXE -O0 -force-interpreter < C:/msys64/home/Martell/llvm/test/ExecutionEngine/Interpreter/intrinsics.ll<br>--<br>Exit Code: 1<br><br>Command Output (stdout):<br>--<br>Command 0: "C:/msys64/home/Martell/llvmbuild/./bin/lli.EXE" "-O0" "-force-interpreter"<br>Command 0 Result: 1<br>Command 0 Output:<br><br>Command 0 Stderr:<br>LLVM ERROR: Tried to execute an unknown external function: truncf<br>--<br></blockquote><br></div><div>the same failure happens for trunc, round and copysign.<br></div><div><br></div><div>Commenting out these declarations and calls result in a successful make-check.<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">-- Testing: 14266 tests, 8 threads --<br>Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..<br>Testing Time: 83.21s<br>  Expected Passes    : 10267<br>  Expected Failures  : 49<br>  Unsupported Tests  : 3950<br>[100%] Built target check-llvm<br></blockquote><br></div><div>Have you any idea on how to fix this<br><br></div><div>Many Thanks<span><font color="#888888"><br></font></span></div><span><font color="#888888"><div>Martell<br></div></font></span></blockquote></div></div></div>
</div></div></blockquote></div><br></div>