From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1592 invoked by alias); 30 Aug 2008 01:03:19 -0000 Received: (qmail 1579 invoked by uid 22791); 30 Aug 2008 01:03:18 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 30 Aug 2008 01:02:27 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 3EF0A9818A; Sat, 30 Aug 2008 01:02:25 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 1932598189; Sat, 30 Aug 2008 01:02:25 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KZErA-00042w-2Q; Fri, 29 Aug 2008 21:02:24 -0400 Date: Sun, 31 Aug 2008 14:07:00 -0000 From: Daniel Jacobowitz To: Paul Pluzhnikov Cc: Laurent Carlier , gdb@sourceware.org Subject: Re: Cannot find new threads: generic error Message-ID: <20080830010224.GA15538@caradoc.them.org> Mail-Followup-To: Paul Pluzhnikov , Laurent Carlier , gdb@sourceware.org References: <200808281553.37056.lordheavym@gmail.com> <200808300213.57239.lordheavym@gmail.com> <8ac60eac0808291743i67ed9872wca32b21389e48dd3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8ac60eac0808291743i67ed9872wca32b21389e48dd3@mail.gmail.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-08/txt/msg00295.txt.bz2 On Fri, Aug 29, 2008 at 05:43:38PM -0700, Paul Pluzhnikov wrote: > If you do that on Linux, you should expect all kinds of trouble, > because e.g. glibc very early on decides whether pthreads are > present, and permanently switches to thread-unsafe behavior if they > are not. I'm pretty sure that's not correct. It checks at each runtime spot, not initialization time - a lot of the complexity in glibc is to support this. -- Daniel Jacobowitz CodeSourcery