Re: egcs/linux networking problem isolated

Horst von Brand (vonbrand@inf.utfsm.cl)
Wed, 14 Apr 1999 18:12:56 -0400


Alan Modra <alan@spri.levels.unisa.edu.au> said:

[...]

> Of course, you still can use mix-n-match if you appropriately edit
> include/asm/spinlock.h. That's what I've just done, and now a completely
> egcs compiled kernel works ok. I wonder if somewhere in the linux kernel
> build process, files are being preprocessed by gcc-2.7.2/cpp (/lib/cpp is
> a link to gcc-2.7.2/cpp on my system), or if egcs has a problem with empty
> structures in some circumstances.

It is gcc which has serious problems with initializers of empty structures
under certain circumstances. I reported that way back, which lead to the
current "gcc_is_buggy" field in many structures under gcc-2.7.2.

-- 
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.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/