[Bug 251112] Compiling C++ with asan fails by default because libclang_rt.asan-x86_64.so uses symbol pthread_attr_get_np but doesn't link to libpthread.so
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Nov 18 03:26:30 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251112
--- Comment #4 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to Andrew Stitcher from comment #3)
It really depends on what this symbol is used for.
Linking asan lib with libpthread would change the mode of operation of all
binaries linked with it. Presence of libpthread modifies libc, libc++, and
perhaps unlisted number of other non-system libs: they start using proper
pthread locks like mutexes.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list