Date: Wed, 15 Feb 2012 11:36:14 GMT From: Shane Ambler <FreeBSD@Shaneware.biz> To: freebsd-gnats-submit@FreeBSD.org Subject: threads/165173: clang buildworld breaks libthr Message-ID: <201202151136.q1FBaEfj072986@red.freebsd.org> Resent-Message-ID: <201202151140.q1FBe7R1092766@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202151136.q1FBaEfj072986>