[llvm-bugs] [Bug 34286] New: llvm-symbolizer-*** in LLVM package needs a symlink to llvm-symbolizer so that clang can find it.

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 22 13:47:00 PDT 2017


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

            Bug ID: 34286
           Summary: llvm-symbolizer-*** in LLVM package needs a symlink to
                    llvm-symbolizer so that clang can find it.
           Product: Packaging
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: deb packages
          Assignee: unassignedbugs at nondot.org
          Reporter: mgottesman at apple.com
                CC: llvm-bugs at lists.llvm.org

I was trying to use LSAN with a stock apt-get clang/llvm on 16.04. I was
surprised to discover that my suppressions list was not working. In the process
of investigating I discovered that while llvm-symbolizer-*** is installed
(where *** is the version number), no symlink is created from the enabled
llvm-symbolizer-*** to llvm-symbolizer. This causes LSAN to not be able to
symbolicate frames and thus limits the ability to suppress.

When I looked at the LLVM package's filelist:

https://packages.ubuntu.com/xenial/amd64/llvm/filelist

I noticed that llvm-symbolizer is not there. It really should either be added
there or clang should be taught how to use the llvm-symbolizer-*** that it
corresponds to. Otherwise, LSAN is not fully functional straight out of the box
(an anti-goal).

-- 
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/20170822/7d1104ed/attachment.html>


More information about the llvm-bugs mailing list