From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11916 invoked by alias); 5 Jun 2008 18:27:50 -0000 Received: (qmail 11890 invoked by uid 22791); 5 Jun 2008 18:27:49 -0000 X-Spam-Check-By: sourceware.org Received: from igw2.watson.ibm.com (HELO igw2.watson.ibm.com) (129.34.20.6) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 05 Jun 2008 18:27:27 +0000 Received: from mailhub4.watson.ibm.com (mailhub4.watson.ibm.com [129.34.20.46]) by igw2.watson.ibm.com (8.13.1/8.13.1/8.13.1-2008-04-22 igw) with ESMTP id m55ISsbS013890; Thu, 5 Jun 2008 14:29:00 -0400 Received: from mailhub4.watson.ibm.com (localhost.localdomain [127.0.0.1]) by mailhub4.watson.ibm.com (8.13.1/8.13.1/8.13.1-01-23-2007-Delivery) with ESMTP id m55IQi0C017058; Thu, 5 Jun 2008 14:26:44 -0400 Received: from makai.watson.ibm.com (makai.watson.ibm.com [9.2.216.144]) by mailhub4.watson.ibm.com (8.13.1/8.13.1/8.13.1-01-23-2007-IMSS) with ESMTP id m55IQiuH017055; Thu, 5 Jun 2008 14:26:44 -0400 Received: from watson.ibm.com (localhost [127.0.0.1]) by makai.watson.ibm.com (AIX5.3/8.13.4/8.13.4/03-06-2002) with ESMTP id m55IPNZe033244; Thu, 5 Jun 2008 14:25:23 -0400 Message-Id: <200806051825.m55IPNZe033244@makai.watson.ibm.com> To: Luke Dalessandro cc: gcc@gcc.gnu.org Subject: Re: extend gthr-posix.h with rwlock In-reply-to: <48482A0B.4080609@cs.rochester.edu> References: <48482A0B.4080609@cs.rochester.edu> Comments: In-reply-to Luke Dalessandro message dated "Thu, 05 Jun 2008 14:01:47 -0400." Date: Thu, 05 Jun 2008 18:27:00 -0000 From: David Edelsohn X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2008-06/txt/msg00125.txt.bz2 >>>>> Luke Dalessandro writes: Luke> My problem is that unwind-dw2-fde.c seems to be compiled multiple times during Luke> a gcc build, and sometimes my additions are found but other times they are Luke> not. I am rebuilding again (AIX 5.1), and I'll post more information for Luke> anyone that needs it. Luke> In the meantime, is there a how-to anywhere that describes adding or modifying Luke> gthr.h models in gcc? AIX multilibs pthread support. Unlike Linux, AIX does not provide weak versions of the pthread symbols when operating in single-threaded mode. AIX uses gthr-aix.h, which includes gthr-posix.h or gthr-single.h depending on the -pthread option. David