<div dir="ltr"><div>Hello!<br></div><div><br></div><div>I've recently encountered a bug (<a href="https://llvm.org/bugs/show_bug.cgi?id=30919" class="cremed">https://llvm.org/bugs/show_bug.cgi?id=30919</a>) and I would like an advice on how to approach it.</div><div><br></div><div>It seems that right now libc++abi is not handled by Tools.cpp. Normal linking works  because:</div><div><br></div><div><div>$ cat ~/out/llvm/default/lib/libc++.so</div><div>INPUT(libc++.so.1 -lc++abi)</div></div><div><br></div><div>And if I use -static-libstdc++ then c++abi is not automatically linked in at all. </div><div><br></div><div>Is there a similar magic for .a files like for .so? Should Tools.cpp know about lc++abi? Are there any alternatives?</div><div><br></div><div><br></div><div><div><br></div></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr">Mike<br>Sent from phone</div></div>