GCC Bootstrap currently broken
Zack Weinberg
zack@codesourcery.com
Sat Dec 15 11:34:00 GMT 2001
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
More information about the Gcc
mailing list