Bug#792633: clang-3.7: -fsanitize=safe-stack missing archive

S R shiftreduce at gmail.com
Thu Jul 16 22:33:39 UTC 2015


Package: clang-3.7
Version: 1:3.7~svn239806-1+b1
Severity: important

I'm using Debian sid and tried to compile a simple ELF with
-fsanitize=safe-stack however I got an error
that the runtime / CRT archive of clang's safestack is missing - in
particular the libclang_rt.safestack-x86_64.a does not seem
to be found on my system.

clang-3.7 -fsanitize=safe-stack -o a a.c

the file does not seem to exist on my system at all.

I fetched clang-3.7 from the main debian repo, I didn't try the llvm one.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages clang-3.7 depends on:
ii  binutils                 2.25-10
ii  libc6                    2.19-19
ii  libc6-dev                2.19-19
ii  libclang-common-3.7-dev  1:3.7~svn239806-1+b1
ii  libclang1-3.7            1:3.7~svn239806-1+b1
ii  libedit2                 3.1-20150325-1
ii  libffi6                  3.2.1-3
ii  libgcc-4.9-dev           4.9.3-2
ii  libgcc1                  1:5.1.1-14
ii  libllvm3.7               1:3.7~svn239806-1+b1
ii  libobjc-4.9-dev          4.9.3-2
ii  libstdc++-4.9-dev        4.9.3-2
ii  libstdc++6               5.1.1-14
ii  libtinfo5                5.9+20150516-2
ii  zlib1g                   1:1.2.8.dfsg-2+b1

Versions of packages clang-3.7 recommends:

ii  llvm-3.7-dev  1:3.7~svn239806-1+b1
ii  python        2.7.3-4+deb7u1

Versions of packages clang-3.7 suggests:
pn  clang-3.7-doc  <none>
pn  gnustep        <none>
pn  gnustep-devel  <none>

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20150717/b90c9a15/attachment.html>


More information about the Pkg-llvm-team mailing list