How are you building/running the tests? test/lit.cfg will link gcc_s into each test executable. If you've enabled the llvm unwinder, the tests are expected to fail on Linux.<br><div><br></div><div>- Dan</div><br><div>On Fri Jul 11 2014 at 10:29:44 AM, İsmail Dönmez <<a href="mailto:ismail@donmez.ws">ismail@donmez.ws</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Unless I apply the patch below exception tests fail on Linux x86-64.</div><div><br>
</div><div><div>--- libcxxabi.orig/src/CMakeLists.txt</div><div>+++ libcxxabi/src/CMakeLists.txt</div>

<div>@@ -48,7 +48,7 @@ include_directories("${LIBCXXABI_LIBCXX_</div><div> set(libraries ${LIBCXXABI_CXX_ABI_LIBRARIES})</div><div> append_if(libraries LIBCXXABI_HAS_C_LIB c)</div><div><br></div><div>-target_link_libraries(cxxabi ${libraries})</div>


<div>+target_link_libraries(cxxabi ${libraries} gcc_s pthread)</div><div><br></div><div> # Setup flags.</div><div> append_if(compile_flags LIBCXXABI_HAS_FPIC_FLAG -fPIC)</div></div><div><br></div></div>
</blockquote>