From owner-freebsd-current@FreeBSD.ORG Sun Jun 4 15:59:45 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 DF73416A557 for ; Sun, 4 Jun 2006 15:59:45 +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 795E543D48 for ; Sun, 4 Jun 2006 15:59:45 +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.6/8.13.6/NETPLEX) with ESMTP id k54FximE007066; Sun, 4 Jun 2006 11:59:44 -0400 (EDT) Date: Sun, 4 Jun 2006 11:59:44 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: John Hay In-Reply-To: <20060604153210.GA60476@zibbi.meraka.csir.co.za> Message-ID: References: <20060604075414.GA47483@zibbi.meraka.csir.co.za> <20060604082335.GB76919@over-yonder.net> <20060604153210.GA60476@zibbi.meraka.csir.co.za> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: current@freebsd.org Subject: Re: libpthread.so.2 compatibility 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: Sun, 04 Jun 2006 15:59:46 -0000 On Sun, 4 Jun 2006, John Hay wrote: > On Sun, Jun 04, 2006 at 10:46:00AM -0400, Daniel Eischen wrote: >> On Sun, 4 Jun 2006, Matthew D. Fuller wrote: >> >>> On Sun, Jun 04, 2006 at 09:54:14AM +0200 I heard the voice of >>> John Hay, and lo! it spake thus: >>>> >>>> They all seem to die in pthread_setcancelstate according to gdb: >>> >>> FWIW, I just upgraded a system from an early January -CURRENT, and I'm >>> getting the same thing. I've already rebuilt most things, which >>> probably means there'll be a "fix" for this that requires rebuilding >>> them again :p >> >> There have been no ABI changes in libpthread, so it must be coming >> from somewhere else. I know that libc had some ABI changes but >> it's version was bumped to account for that. >> >> libpthread did move from /usr/lib to /lib, but I don't know how >> that would bite you unless you deleted it from /usr/lib in the >> upgrade process. > > Ok, maybe it isn't some ABI change inside libpthread. Can it maybe be > that we have two "versions" of libpthread.so.2 now, one that was > compiled and like to be linked to libc.so.6 and one that like to be > linked to libc.so.7? So if you now try to run an older threaded app > (one that was compiled with libc.so.6 and libpthread.so.2, like what > would happen in FreeBSD-6) on -current, it would try to use the new > libpthread.so.2 that was build against libc.so.7, but try to link it > with libc.so.6 and then crash and burn? Maybe when libc gets bumped > all other libs have to be bumped too? All others have to be bumped anyway (in -current) but I don't know if that is what is causing the problem. ldd or readelf -d are your friends... If there are multiple dependencies on libpthread, then that is probably causing the problem. -- DE