[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
Tue Nov 17 20:53:40 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251112
--- Comment #2 from Andrew Stitcher <astitcher at apache.org> ---
(In reply to Konstantin Belousov from comment #1)
I'd say neither.
To me it looks like a build error in the clang++ asan support shared library:
If libclang_rt.asan-x86_64.so uses the symbol pthread_attr_get_np then it
should be linked against the shared library that provides that symbol.
But if this is not possible for some reason then changing the driver to link
against libpthreads when using the shared library version of asan seems better
to me.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list