From owner-freebsd-current@FreeBSD.ORG Thu Nov 2 18:37:02 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 A317816A59B for ; Thu, 2 Nov 2006 18:37:02 +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 3033043D49 for ; Thu, 2 Nov 2006 18:37:02 +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 kA2IaxAM024709; Thu, 2 Nov 2006 13:37:00 -0500 (EST) Date: Thu, 2 Nov 2006 13:36:59 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Wesley Morgan In-Reply-To: <20061102130420.B90169@volatile.chemikals.org> Message-ID: References: <454936CA.6060308@FreeBSD.org> <20061101200949.2d21ace0@kan.dnsalias.net> <20061102080524.R80586@volatile.chemikals.org> <20061102081122.2c99552f@kan.dnsalias.net> <20061102130420.B90169@volatile.chemikals.org> 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 13:37:00 -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 18:37:02 -0000 On Thu, 2 Nov 2006, Wesley Morgan wrote: > On Thu, 2 Nov 2006, Daniel Eischen wrote: > >> 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. > > My original report was here: > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=353076+0+archive/2006/freebsd-current/20060806.freebsd-current > > I swapped a few e-mails with Maxime Henrion, but the gist of things was that > after enabling symbol versioning, I immediately rebuilt everything -- world, > ports, kernel. The random crashes I experienced were most apparent with two > applications, csup and games/uqm from ports. Xorg would also crash every now > and then... An example of what gdb showed me is: Well, libthr obviously wouldn't have worked. I have multiple systems running with symbol versioning, all have Xorg & KDE, and haven't had any problems. I don't use csup or uqm. You're not running with any patches to rtld (to get Flash to work) are you? -- DE