fix Werror failures on alpha-linux

Richard Henderson rth@redhat.com
Wed Jan 22 08:56:00 GMT 2003


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~



More information about the Gcc-patches mailing list