Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2020 03:26:30 +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-qIumYY7Gqi@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/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251112

--- Comment #4 from Konstantin Belousov <kib@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.

help

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