<div dir="ltr">It's a known issue:<div><a href="http://llvm.org/bugs/show_bug.cgi?id=13124#c15">http://llvm.org/bugs/show_bug.cgi?id=13124#c15</a><br></div><div><br></div><div style>I think you need to use a combination of building with clang, building shared libs, enabling optimizations, and building the unit tests to trigger this.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 3, 2013 at 8:55 PM, Marc Driftmeyer <span dir="ltr"><<a href="mailto:mjd@reanimality.com" target="_blank">mjd@reanimality.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
The following output from LLVM/Clang 3.3 on Debian and against
GCC-4.8.1<br>
<br>
CMakeFiles/ToolingTests.dir/ToolingTest.cpp.o:/home/mdriftmeyer/DeveloperProjects/LLVMProject/llvm/tools/clang/unittests/Tooling/ToolingTest.cpp:function
clang::tooling::newFrontendActionFactory_CreatesFrontendActionFactoryFromType_Test::TestBody():
error: undefined reference to
'clang::SyntaxOnlyAction::~SyntaxOnlyAction()'<br>
clang: error: linker command failed with exit code 1 (use -v to see
invocation)<br>
make[2]: *** [tools/clang/unittests/Tooling/ToolingTests] Error 1<br>
make[1]: ***
[tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/all]
Error 2<br>
make: *** [all] Error 2<br>
mdriftmeyer@horus:~/DeveloperProjects/LLVMProject/cmake-clang-trunk$
<br>
<br>
I can turn off the unittests but I'd rather this got fixed.<br>
<br>
And no I'm not deeply versed in C++, just yet. In fact, I'd prefer
sticking to C and ObjC as long as possible, even though I'll need to
bite the bullet on C++ for stuff like Bullet Library, OpenCL in many
cases and more for Numerical Analysis.<span class="HOEnZb"><font color="#888888"><br>
<br>
- Marc<br>
<div>-- <br>
Marc J. Driftmeyer<br>
Email :: <a href="mailto:mjd@reanimality.com" target="_blank">mjd@reanimality.com</a><br>
Web :: <a href="http://www.reanimality.com" target="_blank">http://www.reanimality.com</a><br>
Cell :: (509) 435-5212
</div>
</font></span></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>