Bug#753572: only a versionised llvm-symbolizer binary in the path

Markus Mayer marmayer at wu.ac.at
Thu Jul 3 08:20:22 UTC 2014


Package: llvm
Version: 1:3.4-0

It seems that at least for the testing versions of the Clang 3.4
packages we only get a versioned llvm-symbolizer binary in the path
(specifically, /usr/bin/llvm-symbolizer-3.4).

However, the common sanitizer code base does

./compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc:      path_to_external = FindPathToBinary("llvm-symbolizer");

and hence fails to find a symbolizer, resulting in warnings like

==29072==WARNING: Trying to symbolize code, but external symbolizer is not initialized!

and subsequently un-symbolized output (in particular, missing source
file line numbers for the runtime error messages) ...

Would it be possible to create unversioned llvm-symbolizer symlinks?

Kind Regards,
Markus Mayer



More information about the Pkg-llvm-team mailing list