This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Bootstrap currently broken
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: gcc at gcc dot gnu dot org, Jakub Jelinek <jakub at redhat dot com>
- Date: Sat, 15 Dec 2001 11:09:08 -0800
- Subject: Re: GCC Bootstrap currently broken
- References: <u84rmswplh.fsf@gromit.moeb>
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