[llvm-bugs] [Bug 28487] New: With -fsanitize=address, asan.so is not being linked in?

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jul 9 11:15:46 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28487

            Bug ID: 28487
           Summary: With -fsanitize=address, asan.so is not being linked
                    in?
           Product: Packaging
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: deb packages
          Assignee: unassignedbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

When compiling darktable, via

LDFLAGS="-fsanitize=address" CFLAGS="${LDFLAGS}" CXXFLAGS="${LDFLAGS}"
CPPFLAGS="${LDFLAGS}" CC=clang-3.9 CXX=clang++-3.9 cmake ../

Compilation and linking succeeds.
But when i try to start:

$ darktable
darktable: symbol lookup error:
/usr/local/bin/../lib/darktable/libdarktable.so: undefined symbol:
_ZN11__sanitizer21common_flags_dont_useE

$ ldd /usr/local/bin/../lib/darktable/libdarktable.so | grep san
<no matches>

I did see #22757, but it says it is fixed...

clang version 3.9.0-svn274438-1 (trunk)

-- 
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/20160709/53b27197/attachment.html>


More information about the llvm-bugs mailing list