threads/165173: clang buildworld breaks libthr
Shane Ambler
FreeBSD at Shaneware.biz
Wed Feb 15 11:40:07 UTC 2012
>Number: 165173
>Category: threads
>Synopsis: clang buildworld breaks libthr
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-threads
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 15 11:40:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Shane Ambler
>Release: 9.0-RELEASE
>Organization:
>Environment:
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
>Description:
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.
More details can be found at http://forums.freebsd.org/showthread.php?t=29782
>How-To-Repeat:
The easiest way I have found is to build lang/perl5.12 within a clang built world.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-threads
mailing list