This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix Werror failures on alpha-linux
- From: Richard Henderson <rth at redhat dot com>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, zack at codesourcery dot com
- Date: Wed, 22 Jan 2003 00:56:29 -0800
- Subject: Re: fix Werror failures on alpha-linux
- References: <20030121170449.A6591@redhat.com> <200301220548.AAA26131@caip.rutgers.edu>
On Wed, Jan 22, 2003 at 12:48:03AM -0500, Kaveh R. Ghazi wrote:
> causes a bootstrap failure if your stage1 compiler is cc because
> -Wno-error is passed to the compiler without regard to whether or not
> gcc is being used.
Hmm.
> I'm not sure why you went down this road in the first place, the
> -Werror stuff is only used in stage2 or later and the fixincl stuff is
> built in stage1. (Unless you set WERROR for a cross-compile?)
Oh, I see what I did: I got errors in stage2, restarted from
stage0, but with -Werror. I guess this could be reverted...
> Perhaps the expansion is getting lost
> when going into the fixinc Makefile.
Exactly. AFAICT, fixinc.sh-warn would be expanded.
r~