Re: Can't compile linus 2.2.17 with latest gcc due to checksum.S

From: Horst von Brand (vonbrand@inf.utfsm.cl)
Date: Tue Sep 26 2000 - 09:45:10 EST


mnl@dtro.e-technik.tu-darmstadt.de (Michael N. Lipp)
> I can't compile the latest linux kernel with the latest gcc due to a
> strange define in checksum.S. The gcc preprocessor complains about
> the usage of elipses in the macros

linux-2.2.x are strictly egcs-1.1.x or gcc-2.95.x at the latest. 2.96 won't
work, and it won't be fixed.

> #define SRC(y...) \
> 9999: y; \

The idea is to have y optional, i.e. call:

SRC() --> 9999: ; ...

SRC(foo) --> 9999: foo ; ...

Maybe this can be fixed for 2.96, but it breaks badly elsewhere (doesn't
compile; kernel builds but hangs/crashes at boot; kernel appears to work
fine while it is busy eating your disk; ...)

-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:17 EST