[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
Sat Nov 28 12:19:38 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251112
--- Comment #11 from commit-hook at FreeBSD.org ---
A commit references this bug:
Author: kib
Date: Sat Nov 28 12:19:21 UTC 2020
New revision: 368125
URL: https://svnweb.freebsd.org/changeset/base/368125
Log:
libc: Add pthread_attr_get_np(3) stub, reporting ESRCH.
This seems to be required by recent clang asan.
I do not see other way than put the symbol under FBSD_1.0 version.
PR: 251112
Reported by: Andrew Stitcher <astitcher at apache.org>
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D27389
Changes:
head/lib/libc/gen/Symbol.map
head/lib/libc/gen/_pthread_stubs.c
head/lib/libc/include/libc_private.h
head/lib/libthr/thread/thr_init.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list