<div style="font-family: arial, helvetica, sans-serif; font-size: 10pt">Hi, Jack!<br><br><div class="gmail_quote">On Fri, Nov 2, 2012 at 6:18 PM, Jack Howarth <span dir="ltr"><<a href="mailto:howarth@bromo.med.uc.edu" target="_blank">howarth@bromo.med.uc.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Nick,<br>
   Have you noticed that llvm/clang svn produces the following linker warnings on<br>
'make check-all'?<br>
<br>
Linking CXX executable Debug/AsanTest<br>
ld: warning: direct access in llvm::convertible_fwd_ostream::~convertible_fwd_ostream() to global weak symbol vtable for llvm::convertible_fwd_ostream means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.<br>

ld: warning: direct access in llvm::convertible_fwd_ostream::~convertible_fwd_ostream() to global weak symbol vtable for llvm::convertible_fwd_ostream means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.<br>

ld: warning: direct access in non-virtual thunk to llvm::convertible_fwd_ostream::~convertible_fwd_ostream() to global weak symbol vtable for llvm::convertible_fwd_ostream means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.<br>

ld: warning: direct access in non-virtual thunk to llvm::convertible_fwd_ostream::~convertible_fwd_ostream() to global weak symbol vtable for llvm::convertible_fwd_ostream means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.<br>

ld: warning: direct access in llvm::convertible_fwd_ostream::~convertible_fwd_ostream() to global weak symbol vtable for llvm::convertible_fwd_ostream means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.<br>

ld: warning: direct access in llvm::convertible_fwd_ostream::~convertible_fwd_ostream() to global weak symbol vtable for llvm::convertible_fwd_ostream means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.<br>

ld: warning: direct access in non-virtual thunk to llvm::convertible_fwd_ostream::~convertible_fwd_ostream() to global weak symbol vtable for llvm::convertible_fwd_ostream means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.<br>

ld: warning: direct access in non-virtual thunk to llvm::convertible_fwd_ostream::~convertible_fwd_ostream() to global weak symbol vtable for llvm::convertible_fwd_ostream means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.<br>
</blockquote><div><br></div><div>I'll take a look at this. However, tests below fail for a different reason (they don't use Debug/AsanTest at all).</div><div>How do you configure a CMake build tree? Can you somehow get (or run manually) the script which is used</div>
<div>for running log-path_test.cc and other failing test cases?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I am seeing some AddressSanitizer failures like...<br>
<br>
FAIL: AddressSanitizer :: log-path_test.cc (13 of 12542)<br>
******************** TEST 'AddressSanitizer :: log-path_test.cc' FAILED ********************<br>
<br>
FAIL: AddressSanitizer :: strncpy-overflow.cc (27 of 12542)<br>
******************** TEST 'AddressSanitizer :: strncpy-overflow.cc' FAILED ********************<br>
<br>
FAIL: AddressSanitizer :: use-after-free.cc (34 of 12542)<br>
******************** TEST 'AddressSanitizer :: use-after-free.cc' FAILED ********************<br>
<br>
etc, and wonder if they could be related to that those linkage warnings. If so, I'll open a bug report.<br>
Thanks in advance.<br>
         Jack<br>
ps This is using a debug build on x86_64-apple-darwin12 with Xcode 4.5.2's linker.<br>
<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Alexey Samsonov, MSK</div><br>
</div>