From owner-freebsd-current@FreeBSD.ORG Fri Aug 4 02:47:26 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 142C316A4DE; Fri, 4 Aug 2006 02:47:26 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95F7C43D45; Fri, 4 Aug 2006 02:47:25 +0000 (GMT) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (cpe-024-211-118-154.sc.res.rr.com [24.211.118.154]) by ms-smtp-03.southeast.rr.com (8.13.6/8.13.6) with ESMTP id k742lNpu023612; Thu, 3 Aug 2006 22:47:23 -0400 (EDT) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.6/8.13.6) with ESMTP id k742lMIk088842; Thu, 3 Aug 2006 22:47:22 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Thu, 3 Aug 2006 22:47:22 -0400 (EDT) From: Wesley Morgan To: Maxim Sobolev In-Reply-To: <44D173B7.6040302@FreeBSD.org> Message-ID: <20060803224133.R87008@volatile.chemikals.org> References: <44D12AC0.90009@sippysoft.com> <20060802230803.GA32778@troutmask.apl.washington.edu> <44D13BC7.8010309@FreeBSD.org> <44D168A8.1060201@freebsd.org> <44D173B7.6040302@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: Steve Kargl , "current@freebsd.org" , Peter Grehan , freebsd-ppc@freebsd.org Subject: Re: Looks like threading is b0rken on FreeBSD/powerpc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Aug 2006 02:47:26 -0000 On Wed, 2 Aug 2006, Maxim Sobolev wrote: > Peter Grehan wrote: >>> #0 0x2183f7b4 in tls_get_addr_common (dtvp=0x1a31490, index=2, >>> offset=4294934528) at rtld.c:2663 >>> #1 0x218397f8 in __tls_get_addr (ti=0x21bbf0e8) at >> >> I think you might want to try point libpthread at libthr with libmap.conf. >> TLS is known to work for that where I don't think it works for libpthread. > > But libpthread works in 6.0. What's the difference? > > -Maxim FWIW, recently csup stopped working for me in -current on i386. It fails when checking the errno set after calling access() to check if a file exists: Updater failed: Cannot create directories leading to "/usr/ports/science/p5-Algorithm-SVMLight/Makefile": Unknown error: 0 According to gdb, errno is being set correctly but changes almost immediately back to zero. Not sure how/why, and I'm not sure that I'm even using gdb correctly for threaded applications. Switching to libthr with libmap.conf results in the same error. I swear that it had something to do with turning on symbol versioning, but attempting to turn it back off was not a fun experience and didn't have the patience to see it through. -- This .signature sanitized for your protection