From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9597 invoked by alias); 31 Aug 2004 14:48:26 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 9590 invoked from network); 31 Aug 2004 14:48:25 -0000 Received: from unknown (HELO igw2.watson.ibm.com) (129.34.20.6) by sourceware.org with SMTP; 31 Aug 2004 14:48:25 -0000 Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com [129.34.20.41]) by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id i7VEjwM93704; Tue, 31 Aug 2004 10:45:59 -0400 Received: from makai.watson.ibm.com (localhost [127.0.0.1]) by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/8.11.7-01-14-2004) with ESMTP id i7VEmJ043806; Tue, 31 Aug 2004 10:48:19 -0400 Received: from watson.ibm.com (localhost [127.0.0.1]) by makai.watson.ibm.com (AIX5.1/8.11.6p2/8.11.0/03-06-2002) with ESMTP id i7VEmIO33902; Tue, 31 Aug 2004 10:48:19 -0400 Message-Id: <200408311448.i7VEmIO33902@makai.watson.ibm.com> To: Bill Northcott cc: gcc@gcc.gnu.org Subject: Re: GNU libobjc on Darwin In-Reply-To: Message from Bill Northcott of "Tue, 31 Aug 2004 14:50:57 +1000." <595C6EAE-FB09-11D8-ABDF-000393D3D676@unsw.edu.au> References: <595C6EAE-FB09-11D8-ABDF-000393D3D676@unsw.edu.au> Date: Tue, 31 Aug 2004 15:27:00 -0000 From: David Edelsohn X-SW-Source: 2004-08/txt/msg01628.txt.bz2 >>>>> Bill Northcott writes: Bill> Andrew has proposed some changes that allow GNU libobjc to build on Bill> Darwin as libobjc-gnu. These work for an FSF style build. Bill> However, on the apple-ppc-darwin branch the same patches don't build Bill> the library. Bill> The cause is an APPLE_LOCAL mod to config/rs6000/darwin.h which Bill> redefines ADJUST_FIELD_ALIGN to need three arguments. This breaks in Bill> encoding.c around line 838. The only other place the macro appears to Bill> be used is stor-layout.c. Bill> I can't make up my mind if this is an Apple bug or an FSF one. This is not a bug. There are two different branches and a macro that differs between the two branches. The patch uses the macro and needs to be adjusted for the change of parameters on the branch. David