From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27264 invoked by alias); 6 Jul 2002 01:26:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 27248 invoked by uid 71); 6 Jul 2002 01:26:01 -0000 Date: Fri, 05 Jul 2002 18:26:00 -0000 Message-ID: <20020706012601.27247.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Devang Patel Subject: Re: bootstrap/7210: bootstrap fails on darwin Reply-To: Devang Patel X-SW-Source: 2002-07/txt/msg00210.txt.bz2 List-Id: The following reply was made to PR bootstrap/7210; it has been noted by GNATS. From: Devang Patel To: lakeland@acm.org Cc: gcc-gnats@gcc.gnu.org Subject: Re: bootstrap/7210: bootstrap fails on darwin Date: Fri, 5 Jul 2002 18:18:49 -0700 Try using "CC=cc -no-cpp-precomp" Devang On Thursday, July 4, 2002, at 01:31 PM, lakeland@acm.org wrote: > >> Number: 7210 >> Category: bootstrap >> Synopsis: bootstrap fails on darwin >> Confidential: no >> Severity: serious >> Priority: medium >> Responsible: unassigned >> State: open >> Class: sw-bug >> Submitter-Id: net >> Arrival-Date: Thu Jul 04 13:36:00 PDT 2002 >> Closed-Date: >> Last-Modified: >> Originator: Corrin Lakeland >> Release: Head >> Organization: >> Environment: > ppc-apple-darwin5.4 (+ most gnu tools) >> Description: > bootstrap fails on darwin due to errors in darwin's built > in CC. > > cppinit.c:150: parse error before `,' > cppinit.c:150: parse error before `,' > cppinit.c:150: parse error before `,' > > The problem isn't with the tricky #define, but with the > preallocation of static arrays. It seems darwin's CC > (modified GCC 2.95.2) cannot parse declare & initialise. >> How-To-Repeat: > ./configure, make >> Fix: > Allocate the static arrays differently, or wait until gcc3 is standard > on darwin and ignore the problem. > > Fixing the first file is fairly easy but it gets tedious > after that. Using make -k I managed to get it down to > three files that needed fixing although fixing them might > have brought up more problems. >> Release-Note: >> Audit-Trail: >> Unformatted: >