This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC Bootstrap currently broken


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]