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