All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Ruehl <chris.ruehl@gtsys.com.hk>
To: u-boot@lists.denx.de
Subject: [U-Boot] v2013.10 failed build with jffs2 cmd
Date: Tue, 22 Oct 2013 14:54:39 +0800	[thread overview]
Message-ID: <5266212F.2050109@gtsys.com.hk> (raw)
In-Reply-To: <20131022060753.9F8EB380A62@gemini.denx.de>

Hi Wolfgang,

On Tuesday, October 22, 2013 02:07 PM, Wolfgang Denk wrote:
> Dear Chris Ruehl,
>
> In message<5265DFD1.9000709@gtsys.com.hk>  you wrote:
>>
>> when I tried to build v2013.10 with the Option: CONFIG_CMD_JFFS2
>> using linao tool-chain 2013.09 (and earlier) I run into the well known problem
>>
>>    uses VFP register arguments, u-boot does not
>
> You failed to tell who is using VFP register arguments - it's your
> compiler's library, libgcc.
>

Yes, sure, the libgcc is the one trigger it, but if I compile the uboot w/o 
JFFS2 other functions of the libgcc are linked into the u-boot loader without 
trigger the problem. libcommon , libnand + libmmmc uses udivsi3 and others

see (u-boot.map link without jffs2):
Archive member included because of file (symbol)

/opt/armhf/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.2/libgcc.a(_udivsi3.o)
                               arch/arm/cpu/arm926ejs/mx27/libmx27.o (__aeabi_uidiv)
/opt/armhf/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.2/libgcc.a(_divsi3.o)
                               common/libcommon.o (__aeabi_idiv)
/opt/armhf/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.2/libgcc.a(_lshrdi3.o)
                               drivers/mtd/nand/libnand.o (__aeabi_llsr)
/opt/armhf/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.2/libgcc.a(_ashrdi3.o)
                               drivers/mtd/nand/libnand.o (__aeabi_lasr)
/opt/armhf/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.2/libgcc.a(_ashldi3.o)
                               drivers/mmc/libmmc.o (__aeabi_llsl)
/opt/armhf/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.2/libgcc.a(_dvmd_lnx.o)
 
/opt/armhf/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.2/libgcc.a(_udivsi3.o) 
(__aeabi_idiv0)


I think the root of the evil is
libgcc.a(_aeabi_uldivmod.o) (__gnu_uldivmod_helper)

regards
Chris

>> any hints to solve this?
>
> Fix your toolchain (i. e. make sure it also provides a libgcc usable
> with softfloat settings).
>
> If everything else fails, use "USE_PRIVATE_LIBGCC=y" on the make
> command line.
>
> Best regards,
>
> Wolfgang Denk
>

  parent reply	other threads:[~2013-10-22  6:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-22  2:15 [U-Boot] v2013.10 failed build with jffs2 cmd Chris Ruehl
     [not found] ` <20131022060753.9F8EB380A62@gemini.denx.de>
2013-10-22  6:54   ` Chris Ruehl [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-10-22 12:13 Wolfgang Denk
2013-10-23  0:36 ` Chris Ruehl
2013-10-23  1:44   ` Chris Ruehl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5266212F.2050109@gtsys.com.hk \
    --to=chris.ruehl@gtsys.com.hk \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.