<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:tm@ayena.de" title="Tobias Markmann <tm@ayena.de>"> <span class="fn">Tobias Markmann</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Linker error related to RTTI? for -fsanitize=undefined with clang 3.6.0"
href="http://llvm.org/bugs/show_bug.cgi?id=21424">bug 21424</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>INVALID
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Linker error related to RTTI? for -fsanitize=undefined with clang 3.6.0"
href="http://llvm.org/bugs/show_bug.cgi?id=21424#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Linker error related to RTTI? for -fsanitize=undefined with clang 3.6.0"
href="http://llvm.org/bugs/show_bug.cgi?id=21424">bug 21424</a>
from <span class="vcard"><a class="email" href="mailto:tm@ayena.de" title="Tobias Markmann <tm@ayena.de>"> <span class="fn">Tobias Markmann</span></a>
</span></b>
<pre>Thanks...I missed the usage of clang++ for linking in the docs. However, even
when using clang++ for linking, I get about the same error:
tobias@ruediger ~/d/r/swift-work-clean> ninja -j 1
[3/1386] LINK 3rdParty/Boost/bcp
FAILED: /Users/tobias/llvm/bin/clang++ -o 3rdParty/Boost/bcp
3rdParty/Boost/src/tools/bcp/add_path.o
3rdParty/Boost/src/tools/bcp/add_dependent_lib.o
3rdParty/Boost/src/tools/bcp/bcp_imp.o 3rdParty/Boost/src/tools/bcp/copy_path.o
3rdParty/Boost/src/tools/bcp/file_types.o
3rdParty/Boost/src/tools/bcp/fileview.o
3rdParty/Boost/src/tools/bcp/licence_info.o
3rdParty/Boost/src/tools/bcp/output_licence_info.o
3rdParty/Boost/src/tools/bcp/path_operations.o
3rdParty/Boost/src/tools/bcp/scan_cvs_path.o
3rdParty/Boost/src/tools/bcp/scan_licence.o 3rdParty/Boost/bcp.o
-fsanitize=undefined -L3rdParty/Boost -lSwiften_Boost -lresolv -lpthread -ldl
-lm -lc -lstdc++ -framework IOKit -framework AppKit -framework
SystemConfiguration -framework Security -framework SecurityInterface
Undefined symbols for architecture x86_64:
"__ZTIN10__cxxabiv117__class_type_infoE", referenced from:
__ZN7__ubsan16checkDynamicTypeEPvS0_m in
libclang_rt.ubsan_osx.a(ubsan_type_hash.cc.o)
__ZL21isDerivedFromAtOffsetPKN10__cxxabiv117__class_type_infoES2_l in
libclang_rt.ubsan_osx.a(ubsan_type_hash.cc.o)
__ZL16findBaseAtOffsetPKN10__cxxabiv117__class_type_infoEl in
libclang_rt.ubsan_osx.a(ubsan_type_hash.cc.o)
"__ZTIN10__cxxabiv120__si_class_type_infoE", referenced from:
__ZL21isDerivedFromAtOffsetPKN10__cxxabiv117__class_type_infoES2_l in
libclang_rt.ubsan_osx.a(ubsan_type_hash.cc.o)
__ZL16findBaseAtOffsetPKN10__cxxabiv117__class_type_infoEl in
libclang_rt.ubsan_osx.a(ubsan_type_hash.cc.o)
"__ZTIN10__cxxabiv121__vmi_class_type_infoE", referenced from:
__ZL21isDerivedFromAtOffsetPKN10__cxxabiv117__class_type_infoES2_l in
libclang_rt.ubsan_osx.a(ubsan_type_hash.cc.o)
__ZL16findBaseAtOffsetPKN10__cxxabiv117__class_type_infoEl in
libclang_rt.ubsan_osx.a(ubsan_type_hash.cc.o)
ld: symbol(s) not found for architecture x86_64
clang-3.6: error: linker command failed with exit code 1 (use -v to see
invocation)
ninja: build stopped: subcommand failed.
Any further ideas what else I could look at?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>