From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11255 invoked by alias); 5 Jun 2008 22:59:40 -0000 Received: (qmail 11205 invoked by uid 22791); 5 Jun 2008 22:59:39 -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 22:59:12 +0000 Received: from mailhub3.watson.ibm.com (mailhub3.watson.ibm.com [129.34.20.45]) by igw2.watson.ibm.com (8.13.1/8.13.1/8.13.1-2008-04-22 igw) with ESMTP id m55N0vco027457; Thu, 5 Jun 2008 19:01:05 -0400 Received: from mailhub3.watson.ibm.com (localhost.localdomain [127.0.0.1]) by mailhub3.watson.ibm.com (8.13.1/8.13.1/8.13.1-01-23-2007-Delivery) with ESMTP id m55MwlL0001930; Thu, 5 Jun 2008 18:58:47 -0400 Received: from makai.watson.ibm.com (makai.watson.ibm.com [9.2.216.144]) by mailhub3.watson.ibm.com (8.13.1/8.13.1/8.13.1-01-23-2007-IMSS) with ESMTP id m55Mwlhx001927; Thu, 5 Jun 2008 18:58:47 -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 m55MvQK7031176; Thu, 5 Jun 2008 18:57:26 -0400 Message-Id: <200806052257.m55MvQK7031176@makai.watson.ibm.com> To: Luke Dalessandro cc: gcc@gcc.gnu.org Subject: Re: extend gthr-posix.h with rwlock In-reply-to: <48486B79.7090404@cs.rochester.edu> References: <48482A0B.4080609@cs.rochester.edu> <200806051825.m55IPNZe033244@makai.watson.ibm.com> <48486B79.7090404@cs.rochester.edu> Comments: In-reply-to Luke Dalessandro message dated "Thu, 05 Jun 2008 18:40:57 -0400." Date: Thu, 05 Jun 2008 22:59: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/msg00134.txt.bz2 >>>>> Luke Dalessandro writes: Luke> Thank you, this was indeed the problem. I added the needed stubbs in Luke> gthr-single.h and it now compiles fine. Unfortunately there seems to be Luke> something wrong with my installation of ld as linking fails with a large Luke> number of errors of the form: Luke> ld: 0711-252 SEVERE ERROR: File auxiliary symbol entry 1 in object _negdi2_s.o: Luke> Field x_offset contains 4. Valid values are between 4 and -1. Luke> The object name is being substituted. Luke> Unfortunately I have almost no experience with AIX. I'll look for a prebuilt Luke> ld that seems newer than mine to see if this helps the problem. Pre-built ld? AIX ships with ld. Are you using GNU Binutils (gas, GNU ld, etc.) on AIX? Please use the native AIX tools (as, ld, nm, etc.) with AIX as mentioned in the platform-specific installation notes: http://gcc.gnu.org/install/specific.html#x-ibm-aix David