[U-Boot-Users] GCC version for Linux kernel?

Detlef Vollmann dv at vollmann.ch
Wed Jun 15 11:58:37 CEST 2005


Marc Leeman wrote:
> > Warning!  from gcc-3.3 to gcc-3.4 the handling of the attribute
> > 'unused' changed.  For that reason, compiling a linux-2.4 kernel
> > with gcc-3.4 will break silently!
> 
> Euhm. I've been doing this for 5 months without any problem for PPC.
That is what "will break silently!" means.
I used a 3.4 compiler for several weeks, until I tracked down
a problem I didn't notice before to the compiler version.

Actually, the ARM version of U-Boot (at least 1.1.2) has the same
problem (in include/asm-arm/setup.h).

 Detlef

-- 
Detlef Vollmann   vollmann engineering gmbh
Linux and C++ for Embedded Systems    http://www.vollmann.ch/




More information about the U-Boot mailing list