This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-20010115/hppa2.0w-hp-hpux11.00 bootstrap fails
- To: Joe Buck <jbuck at racerx dot synopsys dot com>
- Subject: Re: gcc-20010115/hppa2.0w-hp-hpux11.00 bootstrap fails
- From: Jeffrey A Law <law at redhat dot com>
- Date: Wed, 17 Jan 2001 14:37:22 -0700
- cc: fjh at cs dot mu dot oz dot au (Fergus Henderson), kfleisc1 at ford dot com ("Fleischer, Karsten (K.)"), gcc at gcc dot gnu dot org ('gcc at gcc dot gnu dot org')
- Reply-To: law at redhat dot com
In message <200101172003.MAA06132@racerx.synopsys.com>you write:
> > It looks like the problem here is that this header file is being
> > included twice.
> >
> > To find out where it is being included from the other time,
> > try compiling with `-Wp,-H' in CFLAGS.
> >
> > Probably wrapping a header guard
> >
> > #ifndef PA_H_INCLUDED
> > #define PA_H_INCLUDED
> > ...
> > #endif
> >
> > around the contents of pa.h may avoid the problem.
>
> No, that doesn't suffice; if you include-guard all the headers you get
> a link failure in the first "genxxx" program (genrecog? I don't remember)
> because of duplicated symbols.
All the stuff y'all are talking about is just fixing symptoms of the
real problem -- the tools are being mis-compiled. I checked in a
fix last night for this problem (from Alan Modra). I was able to
successfully bootstrap GCC after installing Alan's changes.
jeff