public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Link error for arm targets
Date: Mon, 8 Dec 2014 13:31:08 -0600	[thread overview]
Message-ID: <1418067068.5581.7.camel@freescale.com> (raw)
In-Reply-To: <5485EA2C.208@freescale.com>

On Mon, 2014-12-08 at 10:13 -0800, York Sun wrote:
> Guys,
> 
> I need some help to understand the link error introduced by commit
> d455d8789d5b35a39a0a179b3af4b423db13bfdd
> fs: API changes enabling extra parameter to return size of type loff_t
> 
> I don't see anything wrong with this commit, but some of my targets don't link
> after this commit. The error I got for compiling ls1021aqds_nor is:
> 
> 
> /opt/linaro/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-ld.bfd:
> error:
> /opt/linaro/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.2/libgcc.a(bpabi.o)
> uses VFP register arguments, u-boot does not
> /opt/linaro/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-ld.bfd:
> failed to merge target specific data of file
> /opt/linaro/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.2/libgcc.a(bpabi.o)
> /opt/linaro/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-ld.bfd:
> error:
> /opt/linaro/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.2/libgcc.a(_divdi3.o)
> uses VFP register arguments, u-boot does not
> /opt/linaro/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-ld.bfd:
> failed to merge target specific data of file
> /opt/linaro/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.2/libgcc.a(_divdi3.o)
> /opt/linaro/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-ld.bfd:
> error:
> /opt/linaro/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.2/libgcc.a(_udivdi3.o)
> uses VFP register arguments, u-boot does not
> /opt/linaro/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-ld.bfd:
> failed to merge target specific data of file
> /opt/linaro/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.2/libgcc.a(_udivdi3.o)
> make[2]: *** [u-boot] Error 1
> make[1]: *** [__build_one_by_one] Error 2
> make: *** [sub-make] Error 2
> 
> I don't know much about this error. Can someone help?
> 
> I should have caught this error earlier but a bad escape flaw in my Jenkins
> script skipped all the ARM targets I normally test. I hope I didn't let in any
> patch with compiling errors (finger crossed).

USE_PRIVATE_LIBGCC=yes

-Scott

  reply	other threads:[~2014-12-08 19:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-08 18:13 [U-Boot] Link error for arm targets York Sun
2014-12-08 19:31 ` Scott Wood [this message]
2014-12-08 20:21   ` York Sun

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=1418067068.5581.7.camel@freescale.com \
    --to=scottwood@freescale.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox