From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] mx53loco_defconfig failure with Buildroot toolchain
Date: Tue, 24 May 2016 15:52:20 +0200 [thread overview]
Message-ID: <57445C94.6010108@denx.de> (raw)
In-Reply-To: <CAOMZO5DS0ALZMR2Pocht4VRTm_iYz4ewiVemy3HsPofR5K+N_g@mail.gmail.com>
Hi Fabio,
On 24/05/2016 15:46, Fabio Estevam wrote:
> Hi,
>
> When I try to build mx53loco_defconfig in U-boot 2016.05 I get the
> following errors with the toolchain provided by Buildroot:
>
> LD u-boot
> /home/fabio/buildroot/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabihf-ld.bfd:
> error: /home/fabio/buildroot/output/host/usr/lib/gcc/arm-buildroot-linux-uclibcgnueabihf/4.9.3/libgcc.a(bpabi.o)
> uses VFP register arguments, u-boot does not
> /home/fabio/buildroot/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabihf-ld.bfd:
> failed to merge target specific data of file
> /home/fabio/buildroot/output/host/usr/lib/gcc/arm-buildroot-linux-uclibcgnueabihf/4.9.3/libgcc.a(bpabi.o)
> /home/fabio/buildroot/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabihf-ld.bfd:
> error: /home/fabio/buildroot/output/host/usr/lib/gcc/arm-buildroot-linux-uclibcgnueabihf/4.9.3/libgcc.a(_divdi3.o)
> uses VFP register arguments, u-boot does not
> /home/fabio/buildroot/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabihf-ld.bfd:
> failed to merge target specific data of file
> /home/fabio/buildroot/output/host/usr/lib/gcc/arm-buildroot-linux-uclibcgnueabihf/4.9.3/libgcc.a(_divdi3.o)
> /home/fabio/buildroot/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabihf-ld.bfd:
> error: /home/fabio/buildroot/output/host/usr/lib/gcc/arm-buildroot-linux-uclibcgnueabihf/4.9.3/libgcc.a(_udivdi3.o)
> uses VFP register arguments, u-boot does not
> /home/fabio/buildroot/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabihf-ld.bfd:
> failed to merge target specific data of file
> /home/fabio/buildroot/output/host/usr/lib/gcc/arm-buildroot-linux-uclibcgnueabihf/4.9.3/libgcc.a(_udivdi3.o)
> make[2]: *** [u-boot] Error 1
>
>
> Does anyone have any suggestion on how to fix this error?
Yes, this is the IPU - rather a patch to fix this was not included for
the release, I applied it later:
commit c510f2e436008e55a50b063f2180cb1e63984224
Author: Peng Fan <van.freenix@gmail.com>
Date: Thu Apr 28 10:07:53 2016 +0800
video: ipu_common: fix build error
Some toolchains fail to build
"clk->rate = (u64)(clk->parent->rate * 16) / div;"
And the cast usage is wrong.
Use the following code to fix the issue,
"
do_div(parent_rate, div);
clk->rate = parent_rate;
"
Reported-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Best regards,
Stefano
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2016-05-24 13:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-24 13:46 [U-Boot] mx53loco_defconfig failure with Buildroot toolchain Fabio Estevam
2016-05-24 13:52 ` Stefano Babic [this message]
2016-05-24 14:03 ` Fabio Estevam
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=57445C94.6010108@denx.de \
--to=sbabic@denx.de \
--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.