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 11:09:08AM -0800, Zack Weinberg wrote:
> 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.

Yes, I only have glibc-2.2.4 on my box.
Sorry.

It can be fixed either like you've done, or by using a different define
for skipping #includes in unwind-dw2-fde.c which would be unconditionally
defined in unwind-dw2-fde.c. Your patch is shorter...

> 	* 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

	Jakub


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