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

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

Reply via email to