<div>Hmm. Just tested ToT libcxxabi and it passes for me.</div><div><br></div>When running make check-libcxxabi, you should see the following line:<br>lit.py: lit.cfg:215: note: inferred link_flags as: ['-lc++abi', '-lgcc_eh', '-lc', '-lm', '-lpthread', '-lgcc_s']<br>
<br><div>On Fri Jul 11 2014 at 12:19:08 PM, İ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">I am not enabling the llwn unwinder. Compiling with:<div><br></div><div><br><div class="gmail_extra"><div class="gmail_extra">cmake -DLIBCXXABI_LIBCXX_INCLUDES=/usr/include/c++/v1 </div><div class="gmail_extra">


<br></div><div class="gmail_extra">and run the tests with</div><div class="gmail_extra"><br></div><div class="gmail_extra">make check-libcxxabi<br></div></div></div></div><div dir="ltr"><div><div class="gmail_extra"><div class="gmail_extra">
<br></div><br><div class="gmail_quote">On Fri, Jul 11, 2014 at 9:56 PM, Dan Albert <span dir="ltr"><<a href="mailto:danalbert@google.com" target="_blank">danalbert@google.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">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.<span><font color="#888888"><br>


<div><br></div><div>- Dan</div></font></span><div><div><br><div>On Fri Jul 11 2014 at 10:29:44 AM, İsmail Dönmez <<a href="mailto:ismail@donmez.ws" target="_blank">ismail@donmez.ws</a>> wrote:</div>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style: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>
</div></div></blockquote></div><br></div></div></div></blockquote>