[LLVMbugs] [Bug 19915] New: address sanitizer fails to pick up LD_LIBRARY_PATH
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jun 1 18:55:48 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19915
Bug ID: 19915
Summary: address sanitizer fails to pick up LD_LIBRARY_PATH
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: sstewartgallus00 at mylangara.bc.ca
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
What steps will reproduce the problem?
1. Compile and install a new version g++ (not installing in /usr or
/usr/local but in a custom directory).
2. Set LD_LIBRARY_PATH to include g++'s C++ libraries.
3. Compile LLVM with your new version of g++.
4. Compile a program with LLVM and address-sanitizer enabled,
What is the expected output? What do you see instead?
I expect to see normal program output. I see the following first and
then normal program output:
/home/sstewartgallus/local/bin/llvm-symbolizer:
/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found
(required by /home/sstewartgallus/local/bin/llvm-symbolizer)
==23022==WARNING: external symbolizer didn't start up correctly!
What version of the product are you using? On what operating system?
I'm using the version of address sanitizer that comes with version 3.4
of Clang.
Please provide any additional information below.
I'm not sure if this is a problem with Clang or
address-sanitizer. Basically, the problem is that address-sanitizer
does not pick up the C++ libraries in the environment variable
LD_LIBRARY_PATH that llvm-symbolizer needs.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140602/9b37a52c/attachment.html>
More information about the llvm-bugs
mailing list