From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlef Vollmann Date: Wed, 15 Jun 2005 11:58:37 +0200 Subject: [U-Boot-Users] GCC version for Linux kernel? References: <3e305f527ea735cc8356c4045027b08d@onz.com> <20050614035307.259ACC1512@atlas.denx.de> <20050614071438.GC17749@scorpius.homelinux.org> <42AEA2F0.905@eircom.net> <20050614104830.GH17749@scorpius.homelinux.org> <30ede5748e82a44af3870bad7edfba9f@onz.com> <42AF1DE4.3F3660F7@vollmann.ch> <20050615071255.GC26815@scorpius.homelinux.org> Message-ID: <42AFFBCD.3470164A@vollmann.ch> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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/