This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Mainline bootstrap failure in toplev.c
> Uh, why is linux/compiler.h getting dragged into the compilation of a
> user space program in the first place?
Through the following chain:
signal.h
bits/sigcontext.h
asm/sigcontext.h
linux/compiler.h
The redefinition of "inline" is guarded like so:
#if __GNUC_MINOR__ >= 1 && defined __KERNEL__
# define inline __inline__ __attribute__((always_inline))
# define __inline__ __inline__ __attribute__((always_inline))
# define __inline __inline__ __attribute__((always_inline))
#endif
I have no idea, however, why __KERNEL__ is apparently set during gcc
bootstrapping.
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ices.utexas.edu
www: http://www.ices.utexas.edu/~bangerth/