This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Mainline bootstrap failure in toplev.c
> > This happens only when compiled with stage1/xgcc. And the reason is a
> > little more complicated than I had thought: in
> > /usr/include/linux/compiler.h, we have
> > #if __GNUC__ > 3
> > # include <linux/compiler-gcc+.h> /* catch-all for GCC 4, 5, etc. */
> > #elif __GNUC__ == 3
> > # include <linux/compiler-gcc3.h>
>
> Are you using kernel headers from before 2.6.3? Since 2.6.3 this
> block as a whole is protected by __KERNEL__.
This is
Linux version 2.4.25-9mdksmp (qateam@updates.mandrakesoft.com) (gcc version
3.3.2 (Mandrakelinux 10.0 3.3.2-7mdk)) #1 SMP Thu Sep 23 14:41:57 MDT 2004
I don't know what local patches Mandrake has.
It would still seem to be a bug if linux/compiler-gcc+.h used #ifndef
__KERNEL__. Or was that fixed as well?
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ices.utexas.edu
www: http://www.ices.utexas.edu/~bangerth/