From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20693 invoked by alias); 6 Jun 2008 00:05:16 -0000 Received: (qmail 20684 invoked by uid 22791); 6 Jun 2008 00:05:16 -0000 X-Spam-Check-By: sourceware.org Received: from slate.cs.rochester.edu (HELO slate.cs.rochester.edu) (192.5.53.101) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 06 Jun 2008 00:04:48 +0000 Received: from core2.local (cycle1.cs.rochester.edu [128.151.67.99]) by slate.cs.rochester.edu (8.13.8/8.13.8) with ESMTP id m5604jiZ007765; Thu, 5 Jun 2008 20:04:45 -0400 Message-ID: <48487F1C.5030900@cs.rochester.edu> Date: Fri, 06 Jun 2008 00:05:00 -0000 From: Luke Dalessandro User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: David Edelsohn CC: gcc@gcc.gnu.org Subject: Re: extend gthr-posix.h with rwlock References: <48482A0B.4080609@cs.rochester.edu> <200806051825.m55IPNZe033244@makai.watson.ibm.com> <48486B79.7090404@cs.rochester.edu> <200806052257.m55MvQK7031176@makai.watson.ibm.com> In-Reply-To: <200806052257.m55MvQK7031176@makai.watson.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00136.txt.bz2 David Edelsohn wrote: >>>>>> 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: No, I'm sorry I wasn't clear. I am using all of the AIX tools, not Binutils. I just assumed that there was something out-of-date with the ld that came with our AIX 5.1 installation. > http://gcc.gnu.org/install/specific.html#x-ibm-aix I have seen this page before, and I'm not sure that it helps me. I'm running into the same behavior posted at http://gcc.gnu.org/ml/gcc-bugs/2005-04/msg03175.html, where the advice is also to look at this page, but there doesn't seem to be a reply from the original poster. Thanks, Luke