From patchwork Tue Nov 25 11:17:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Guillaume GARDET X-Patchwork-Id: 414626 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id E4DD01401EF for ; Tue, 25 Nov 2014 22:17:35 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4833E4B610; Tue, 25 Nov 2014 12:17:34 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zk+oFuv+18Ht; Tue, 25 Nov 2014 12:17:34 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BF3734B606; Tue, 25 Nov 2014 12:17:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4CCCE4B606 for ; Tue, 25 Nov 2014 12:17:28 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R7kVyyWUpKdX for ; Tue, 25 Nov 2014 12:17:28 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by theia.denx.de (Postfix) with ESMTPS id 2686B4B604 for ; Tue, 25 Nov 2014 12:17:25 +0100 (CET) Received: from [192.168.0.10] (unknown [82.244.147.214]) by smtp6-g21.free.fr (Postfix) with ESMTP id 3E46D82303; Tue, 25 Nov 2014 12:16:55 +0100 (CET) Message-ID: <54746543.10006@free.fr> Date: Tue, 25 Nov 2014 12:17:23 +0100 From: Guillaume Gardet User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Lukasz Majewski References: <20141124221339.GW21184@bill-the-cat> <547454A0.1030106@free.fr> <20141125111929.512d4b7d@amdc2363> In-Reply-To: <20141125111929.512d4b7d@amdc2363> Cc: Tom Rini , u-boot@lists.denx.de Subject: Re: [U-Boot] [ANN] U-Boot v2015.01-rc2 released X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list Reply-To: guillaume.gardet@free.fr List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Le 25/11/2014 11:19, Lukasz Majewski a écrit : > Hi Guillaume, > >> Le 24/11/2014 23:13, Tom Rini a écrit : >>> Hey all, >>> >>> I've pushed v2015.01-rc2 out to the repository and tarballs should >>> exist soon. >>> >>> I'm tagging later in the day than I wanted to, but that's OK. >>> >>> There's a fair number of things that've gone in since -rc1, but I >>> think that's OK. And there's a few things that still need to go in. >>> >>> For example, I just pushed the changes to allow bigger files to be >>> read but that's broken MIPS+private libgcc and ARM+hf toolchain and >>> others too. I posted a patch for this and tested it locally with a >>> 32MB file but I'd like others to review too (Thanks Simon!) before >>> pushing it in. >>> >>> As always, if anything else is broken please speak up. >> >> I guess this the ARM+hf problem you mentioned: >> ******************************************************************************** >> LD u-boot >> ld.bfd: >> error: /usr/lib/gcc/armv7hl-suse-linux-gnueabi/4.8/libgcc.a(bpabi.o) >> uses VFP register arguments, u-boot does not ld.bfd: failed to merge >> target specific data of >> file /usr/lib/gcc/armv7hl-suse-linux-gnueabi/4.8/libgcc.a(bpabi.o) >> ld.bfd: >> error: /usr/lib/gcc/armv7hl-suse-linux-gnueabi/4.8/libgcc.a(_divdi3.o) >> uses VFP register arguments, u-boot does not ld.bfd: failed to merge >> target specific data of >> file /usr/lib/gcc/armv7hl-suse-linux-gnueabi/4.8/libgcc.a(_divdi3.o) >> ld.bfd: >> error: /usr/lib/gcc/armv7hl-suse-linux-gnueabi/4.8/libgcc.a(_udivdi3.o) >> uses VFP register arguments, u-boot does not ld.bfd: failed to merge >> target specific data of >> file /usr/lib/gcc/armv7hl-suse-linux-gnueabi/4.8/libgcc.a(_udivdi3.o) >> ******************************************************************************** >> > I experience the same issue: > > Working toolchain: > /opt/eldk-5.4/armv7a/sysroots/i686-eldk-linux/usr/bin/armv7a-vfp-neon-linux-gnueabi/arm-linux-gnueabi- > > Toolchain with errors: > /home/DIGITAL/l.majewski/gcc-linaro-arm-linux-gnueabihf-4.8-2013.12_linux/bin/arm-linux-gnueabihf- > > Building smdk2410 board... > /home/DIGITAL/l.majewski/gcc-linaro-arm-linux-gnueabihf-4.8-2013.12_linux/bin/arm-linux-gnueabihf-ld.bfd: > error: /home/DIGITAL/l.majewski/gcc-linaro-arm-linux-gnueabihf-4.8-2013.12_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/libgcc.a(bpabi.o) > uses VFP register arguments, u-boot does > not /home/DIGITAL/l.majewski/gcc-linaro-arm-linux-gnueabihf-4.8-2013.12_linux/bin/arm-linux-gnueabihf-ld.bfd: > error: /home/DIGITAL/l.majewski/gcc-linaro-arm-linux-gnueabihf-4.8-2013.12_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/libgcc.a(_divdi3.o) > uses VFP register arguments, u-boot does > not /home/DIGITAL/l.majewski/gcc-linaro-arm-linux-gnueabihf-4.8-2013.12_linux/bin/arm-linux-gnueabihf-ld.bfd: > error: /home/DIGITAL/l.majewski/gcc-linaro-arm-linux-gnueabihf-4.8-2013.12_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/libgcc.a(_udivdi3.o) > uses VFP register arguments, u-boot does not make: *** [u-boot] Error 1 > > > >> Is there any pending patch to fix this one? > +1 I got it compiling by removing -msoft-float flag: ******************************************************************************** ******************************************************************************** Is it an acceptable patch? If so, I can send it as a real patch. Guillaume diff --git a/arch/arm/config.mk b/arch/arm/config.mk index c339e6d..cd41e48 100644 --- a/arch/arm/config.mk +++ b/arch/arm/config.mk @@ -16,7 +16,7 @@ endif LDFLAGS_FINAL += --gc-sections PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections \ -fno-common -ffixed-r9 -PLATFORM_RELFLAGS += $(call cc-option, -msoft-float) \ +PLATFORM_RELFLAGS += \ $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) # Support generic board on ARM