From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26430 invoked by alias); 12 Aug 2010 23:26:27 -0000 Received: (qmail 26372 invoked by alias); 12 Aug 2010 23:26:15 -0000 Date: Thu, 12 Aug 2010 23:26:00 -0000 Message-ID: <20100812232615.26371.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug boehm-gc/34544] pthread_default_stacksize_np failed. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dave at hiauly1 dot hia dot nrc dot ca" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-08/txt/msg01058.txt.bz2 ------- Comment #15 from dave at hiauly1 dot hia dot nrc dot ca 2010-08-12 23:26 ------- Subject: Re: pthread_default_stacksize_np failed. On Thu, 12 Aug 2010, John David Anglin wrote: > > We probably could update our system and document but I don't know what > > to think of the more general user base (whether many could possibly be > > affected). > > That's a good question. At a minimum, the documentation needs updating. > At the moment it looking like there's no good way to determine whether > threads are active or not. I think the answer is to provide a stub for pthread_default_stacksize_np which is linked in last in final executables. I believe the function is always present in the pthread libraries, both shared and archive. We already do similar things for a number of functions on hppa64-hpux11. Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34544