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

--- Comment #2 from Vladimir Zakharov <zakharov...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to