From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9533 invoked by alias); 4 Jul 2002 20:36:02 -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 9508 invoked by uid 71); 4 Jul 2002 20:36:00 -0000 Resent-Date: 4 Jul 2002 20:36:00 -0000 Resent-Message-ID: <20020704203600.9507.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, lakeland@acm.org Received: (qmail 7511 invoked by uid 61); 4 Jul 2002 20:31:30 -0000 Message-Id: <20020704203129.7510.qmail@sources.redhat.com> Date: Thu, 04 Jul 2002 13:36:00 -0000 From: lakeland@acm.org Reply-To: lakeland@acm.org To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: bootstrap/7210: bootstrap fails on darwin X-SW-Source: 2002-07/txt/msg00180.txt.bz2 List-Id: >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: