Re: [Linux-ia64] Problem to build Kernel 2.4.0 with gcc version "2.96-ia64-000717" + snap "001117"

From: Jim Wilson <>
Date: 2001-01-12 11:34:25
>experienced compilation errors with the specific
>"net/ipv4/netfilter/ip_tables.c" source file.

See the file,
available since Nov 17.

The gcc c preprocessor was rewritten 3 or 4 times this year, and this
particular bug was fixed in the last rewrite which was sometime in late
October I think.  However, since there is no guarantee that the final rewrite
is perfect, so it is safer to work around the problem for now.

>This points to some regression between latest gcc versions vs Linux Kernel
>source files content and the syntax used (there was a lot of warnings about
>"depracated" use of "##" constructs during the Kernel build but the only
>error found) and may be highlights the need of a "generic" gcc ship+use for
>Kernel builds ...

As part of the many rewrites, the C preprocessor now has better compliance
to ISO C, and some GNU extensions have been deprecated.  However, you shouldn't
pay too much attention to the warnings you get from this July FSF snapshot,
because this cpp behaviour changed several times after that.  Better to
try the current FSF gcc sources and worry about those warnings.  I'd suspect
other people have already done this.

Your comment about a "generic" gcc for kernel builds makes no sense.  This
is the gcc to use for kernel builds.  There is no other IA-64 gcc that is

Received on Thu Jan 11 16:34:17 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:01 EST