From owner-freebsd-threads@FreeBSD.ORG Wed Feb 15 11:40:07 2012 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A03CA106564A for ; Wed, 15 Feb 2012 11:40:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1E58FC1A for ; Wed, 15 Feb 2012 11:40:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1FBe7Tk092767 for ; Wed, 15 Feb 2012 11:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1FBe7R1092766; Wed, 15 Feb 2012 11:40:07 GMT (envelope-from gnats) Resent-Date: Wed, 15 Feb 2012 11:40:07 GMT Resent-Message-Id: <201202151140.q1FBe7R1092766@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-threads@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Shane Ambler Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 239C8106564A for ; Wed, 15 Feb 2012 11:36:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 0F3E88FC14 for ; Wed, 15 Feb 2012 11:36:15 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q1FBaEHO072987 for ; Wed, 15 Feb 2012 11:36:14 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q1FBaEfj072986; Wed, 15 Feb 2012 11:36:14 GMT (envelope-from nobody) Message-Id: <201202151136.q1FBaEfj072986@red.freebsd.org> Date: Wed, 15 Feb 2012 11:36:14 GMT From: Shane Ambler To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: threads/165173: clang buildworld breaks libthr X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2012 11:40:07 -0000 >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: