This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bootstrap failure "sorry, unimplemented:"


Hi,

On Sun, 1 Feb 2004, Eyal Lebedinsky wrote:

> [later] On closer examination I noticed that I had linux 2.6.2-rc3
> headers, which may have unusual settings, e.g. I can see:
> 
> ./include/linux/compiler-gcc3.h:# define inline         __inline__
> __attribute__((always_inline))

Never ever use bare kernel headers in /usr/include/{asm,linux}.  The
correct headers to use are those in glibc.  They are derived from kernel
headers, but are not the same.  One of the differences for instance would
be to not pollute the namespace with macros like above.  This is okay
inside the kernel, but not for user headers.


Ciao,
Michael.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]