[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#831457: g++-5: cannot find -ltsan



Oops

$ clang++-3.9 -fsanitize=thread z.cpp
clang: error: unsupported option '-fsanitize=thread' for target
'i686-pc-linux-gnu'

Perhaps G++ should error out too?

2016-07-16 13:04 GMT+02:00 Olaf van der Spek <olafvdspek@gmail.com>:
> Package: g++-5
> Version: 5.4.0-6
> Severity: normal
>
> Dear Maintainer,
>
> libtsan appears to be missing..
>
> $ g++ -fsanitize=thread z.cpp
> /usr/bin/ld: cannot find -ltsan
>
> Gr,
>
> Olaf
>
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
> Architecture: i386 (i686)
>
> Kernel: Linux 4.6.0-1-686-pae (SMP w/3 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages g++-5 depends on:
> ii  gcc-5            5.4.0-6
> ii  gcc-5-base       5.4.0-6
> ii  libc6            2.23-1
> ii  libgmp10         2:6.1.1+dfsg-1
> ii  libisl15         0.17.1-1
> ii  libmpc3          1.0.3-1
> ii  libmpfr4         3.1.4-2
> ii  libstdc++-5-dev  5.4.0-6
> ii  zlib1g           1:1.2.8.dfsg-2+b1
>
> g++-5 recommends no packages.
>
> Versions of packages g++-5 suggests:
> pn  g++-5-multilib    <none>
> pn  gcc-5-doc         <none>
> pn  libstdc++6-5-dbg  <none>
>
> -- no debconf information



-- 
Olaf


Reply to: