[Bug 201664] [build] cannot build 'sort' using WITH_SORT_THREADS=yes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 1 16:38:59 UTC 2016


--- Comment #2 from Vladimir Zakharov <zakharov.vv at gmail.com> ---
It seems to be ThreadSafetyAnasysis false positive [1]. Attached patch removes
"-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

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

More information about the freebsd-bugs mailing list