From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthieu CASTET Subject: Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM Date: Tue, 11 Aug 2009 15:51:42 +0200 Message-ID: <4A81776E.8080104@parrot.com> References: <20090806224055.GH31579@n2100.arm.linux.org.uk> <20090807092423.GA4455@laptop> <4A7BF5B8.4030907@knaff.lu> <20090807102117.GB4455@laptop> <4A7C14EB.1060701@parrot.com> <20090807130130.GE4455@laptop> <4A7C2BA4.7030408@parrot.com> <20090807135524.GF4455@laptop> <20090807200001.GE31543@n2100.arm.linux.org.uk> <20090807210816.GA29797@merkur.ravnborg.org> <20090811094418.GI9704@pc-ras4041.res.insa> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20090811094418.GI9704@pc-ras4041.res.insa> Sender: linux-embedded-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: Albin Tonnerre Cc: Sam Ravnborg , Russell King - ARM Linux , Alain Knaff , "hpa@zytor.com" , "linux-kernel@vger.kernel.org" , "linux-embedded@vger.kernel.org" , "akpm@linux-foundation.org" Albin Tonnerre a =E9crit : > Hi Sam, >=20 > On Fri, Aug 07, 2009 at 11:08:16PM +0200, Sam Ravnborg wrote : >> We could add libgcc as a prerequisite. >> Untested patch below. >=20 > When compiling with this patch applied, I get the following error: >=20 > Kernel: arch/arm/boot/Image is ready > LD arch/arm/boot/compressed/vmlinux > /home/albin/x-tools/arm-unknown-linux-uclibcgnueabi/lib/gcc/arm-unkno= wn-linux-uclibcgnueabi/4.3.2/libgcc.a(_dvmd_lnx.o): > In function `__div0': > /home/albin/devel/free-electrons/toolchain/targets/src/gcc-4.3.2/libg= cc/../gcc/config/arm/lib1funcs.asm:1079: > undefined reference to `raise' > make[2]: *** [arch/arm/boot/compressed/vmlinux] Error 1 > make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2 >=20 > I've got no idea where this symbol is defined, though. Has anyone an = idea on > this ? It is defined in libc ;) You need either to provide a fake one, or use don't use libgcc. Matthieu