Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 2020 12:19:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [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
Message-ID:  <bug-251112-227-vAt3exdCY6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251112-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251112-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251112

--- Comment #11 from commit-hook@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@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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251112-227-vAt3exdCY6>