Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Mar 2016 16:38:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 201664] [build] cannot build 'sort' using WITH_SORT_THREADS=yes
Message-ID:  <bug-201664-8-CNNUieroJ3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201664-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201664-8@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=3D201664

--- Comment #2 from Vladimir Zakharov <zakharov.vv@gmail.com> ---
It seems to be ThreadSafetyAnasysis false positive [1]. Attached patch remo=
ves
"-Werror" when sort is being built with threading support.

Another way around is to lock/unlock mutex unconditionally.

1: http://clang.llvm.org/docs/ThreadSafetyAnalysis.html#conditional-locks

--=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-201664-8-CNNUieroJ3>