Re: [cfe-users] Clang memory sanitizer: llvm-symbolizer problem

2015-11-30 Thread Schlottke-Lakemper, Michael via cfe-users
On 26 Nov 2015, at 17:43 , Kevin P. Fleming mailto:ke...@kpfleming.us>> wrote: Instead of putting the directory that contains libc++/libc++abi into LD_LIBRARY_PATH, use the system's 'normal' method of locating libraries, by ensuring that directory is included in the search path built up from

Re: [cfe-users] Clang memory sanitizer: llvm-symbolizer problem

2015-11-26 Thread Kevin P. Fleming via cfe-users
Instead of putting the directory that contains libc++/libc++abi into LD_LIBRARY_PATH, use the system's 'normal' method of locating libraries, by ensuring that directory is included in the search path built up from /etc/ld.so.conf. If you do this, then an RPATH in an executable *will* take precedenc

Re: [cfe-users] Clang memory sanitizer: llvm-symbolizer problem

2015-11-26 Thread Schlottke-Lakemper, Michael via cfe-users
On 25 Nov 2015, at 20:13 , Alexey Samsonov mailto:vonos...@gmail.com>> wrote: On Wed, Nov 25, 2015 at 4:12 AM, Schlottke-Lakemper, Michael mailto:m.schlottke-lakem...@aia.rwth-aachen.de>> wrote: Thus I tried to compile a complete LLVM/Clang stack (with compiler-rt, libcxx, libcxxabi, libomp)

Re: [cfe-users] Clang memory sanitizer: llvm-symbolizer problem

2015-11-25 Thread Alexey Samsonov via cfe-users
On Wed, Nov 25, 2015 at 4:12 AM, Schlottke-Lakemper, Michael < m.schlottke-lakem...@aia.rwth-aachen.de> wrote: > > Thus I tried to compile a complete LLVM/Clang stack (with compiler-rt, >> libcxx, libcxxabi, libomp) using -DLLVM_USE_SANITIZER=MemoryWithOrigins. >> However, this did not work either

Re: [cfe-users] Clang memory sanitizer: llvm-symbolizer problem

2015-11-25 Thread Schlottke-Lakemper, Michael via cfe-users
Thus I tried to compile a complete LLVM/Clang stack (with compiler-rt, libcxx, libcxxabi, libomp) using -DLLVM_USE_SANITIZER=MemoryWithOrigins. However, this did not work either, as apparently during the compilation process the memory sanitizer already comes to life and complains about use-of-u

Re: [cfe-users] Clang memory sanitizer: llvm-symbolizer problem

2015-11-24 Thread Alexey Samsonov via cfe-users
On Tue, Nov 24, 2015 at 9:12 AM, Schlottke-Lakemper, Michael via cfe-users < cfe-users@lists.llvm.org> wrote: > Short update: I thought the behavior reported below it might be related to > the fact that llvm-symbolizer picks up the “wrong” (i.e. the > msan-implemented) version of libc++ once I put

Re: [cfe-users] Clang memory sanitizer: llvm-symbolizer problem

2015-11-24 Thread Schlottke-Lakemper, Michael via cfe-users
Short update: I thought the behavior reported below it might be related to the fact that llvm-symbolizer picks up the “wrong” (i.e. the msan-implemented) version of libc++ once I put it in the LD_LIBRARY_PATH. Thus I tried to compile a complete LLVM/Clang stack (with compiler-rt, libcxx, libcxxa

[cfe-users] Clang memory sanitizer: llvm-symbolizer problem

2015-11-24 Thread Schlottke-Lakemper, Michael via cfe-users
Hi folks, When running our msan-instrumented simulation program, instead of a proper output I get the following error: ==12089==WARNING: MemorySanitizer: use-of-uninitialized-value ==12089==WARNING: Can't read from symbolizer at fd 14 /pds/opt/llvm/bin/llvm-symbolizer: symbol lookup error: /pds