From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16193 invoked by alias); 15 Dec 2001 19:09:21 -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 16172 invoked from network); 15 Dec 2001 19:09:20 -0000 Received: from unknown (HELO taltos.codesourcery.com) (66.92.14.122) by sources.redhat.com with SMTP; 15 Dec 2001 19:09:20 -0000 Received: from zack by taltos.codesourcery.com with local (Exim 3.33 #1 (Debian)) id 16FKBI-0005Zw-00; Sat, 15 Dec 2001 11:09:08 -0800 Date: Sat, 15 Dec 2001 11:34:00 -0000 To: Andreas Jaeger Cc: gcc@gcc.gnu.org, Jakub Jelinek Subject: Re: GCC Bootstrap currently broken Message-ID: <20011215190908.GA14890@codesourcery.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.24i From: Zack Weinberg X-SW-Source: 2001-12/txt/msg00830.txt.bz2 On Sat, Dec 15, 2001 at 03:00:10PM +0100, Andreas Jaeger wrote: > > Jakub, > Bootstrap of GCC on i686-linux currently fails with the following > messages. We include some files twice there. Appended patch seems to cure it. Jakub must have only tested with CVS glibc. > A general question: why don't we have a double include guard against > the files? We bloody well ought to have. Various people have submitted patches, which have been ignored. zw * unwind-dw2-fde-glibc.c: #define _Unwind_Find_FDE to itself before including unwind-dw2-fde.c, if we are not using the special code in this file. =================================================================== Index: unwind-dw2-fde-glibc.c --- unwind-dw2-fde-glibc.c 2001/12/15 11:49:18 1.1 +++ unwind-dw2-fde-glibc.c 2001/12/15 19:07:31 @@ -287,5 +287,6 @@ _Unwind_Find_FDE (void *pc, struct dwarf } #else +#define _Unwind_Find_FDE _Unwind_Find_FDE #include "unwind-dw2-fde.c" #endif