Mainline bootstrap failure in toplev.c

Andreas Schwab schwab@suse.de
Wed Dec 1 21:28:00 GMT 2004


Wolfgang Bangerth <bangerth@ices.utexas.edu> writes:

>> Can you please find out?  Whatever it is, *that's* the place we
>> probably need to fixinclude.
>
> 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__.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc mailing list