>Synopsis: clang buildworld breaks libthr
>Arrival-Date: Wed Feb 15 11:40:07 UTC 2012
>Originator: Shane Ambler
FreeBSD leader 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Wed Feb 15 16:03:18 CST 2012 root@:/usr/obj/usr/src/sys/GENERIC amd64
With a world built with clang a bus error is produced within libthr on a call to sigprocmask(), the common backtrace appears to be -
#0 0x00000008019001d5 in sigprocmask () from /lib/libthr.so.3
#1 0x0000000801b5b2ac in longjmp () from /lib/libc.so.7
Testing has shown that a world built with clang has this issue and replacing /lib/libthr.so.3 with one from a gcc built world fixes the issue.