From owner-freebsd-current@FreeBSD.ORG Thu Nov 2 13:35:06 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EBC916A403 for ; Thu, 2 Nov 2006 13:35:06 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF2A043D60 for ; Thu, 2 Nov 2006 13:35:05 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.7/8.13.7/NETPLEX) with ESMTP id kA2DZ3S5013347; Thu, 2 Nov 2006 08:35:03 -0500 (EST) Date: Thu, 2 Nov 2006 08:35:03 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Alexander Kabaev In-Reply-To: <20061102081122.2c99552f@kan.dnsalias.net> Message-ID: References: <454936CA.6060308@FreeBSD.org> <20061101200949.2d21ace0@kan.dnsalias.net> <20061102080524.R80586@volatile.chemikals.org> <20061102081122.2c99552f@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-2.0.2 (mail.ntplx.net [204.213.176.10]); Thu, 02 Nov 2006 08:35:03 -0500 (EST) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: current@freebsd.org Subject: Re: libpthread shared library version number X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 13:35:06 -0000 On Thu, 2 Nov 2006, Alexander Kabaev wrote: > On Thu, 2 Nov 2006 08:07:03 -0500 (EST) > Wesley Morgan wrote: > > >> I encountered (and reported) weird problems with threaded apps when >> symbol versioning was enabled. The new csup would fail in areas it >> shouldn't have failed and gdb made it look like some weird stuff was >> happening concurrently. Turning off symbol versioning solved the >> problem. >> >> > Could you please report it again? Searching for your name in my inbox > returns nothing. Your mail either never reached it or you sent the > report elsewhere and it escaped my attention. If you are using libthr or libc_r with symbol versioning, then I don't think it will work correctly without rebuilding world and all ports. As an interim solution for testing symbol versioning without require rebuilding everything under the sun, I added compatability hacks for symbols in libc that also exist in libpthread. See lines 62-95 in src/lib/libpthread/thr/thr_private.h. This hack should be disabled and removed after bumping shared libraries and enabling symbol versioning. -- DE