[U-Boot] toolchain problems when building iMX6 mx6qsabreauto (and another bootloader tool)
Robert Nelson
robertcnelson at gmail.com
Wed Dec 4 16:08:29 CET 2013
On Fri, Nov 29, 2013 at 4:28 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Christian Gmeiner,
>
> In message <CAH9NwWeb6s+3s4O25D7Cifob9Y3_7jmHoSjO6o78FijQuWZMwg at mail.gmail.com> you wrote:
>>
>> I am running into the same problem. Me wonders which patch/change
>> triggers this problem. I am using
>> the same toolchain since I started to work with u-boot and it fails
>> with the latest rc.
>
> Maybe Linaro started using a hard-float configuration only recently?
>
For what it's worth, i just ran a git bisect on this issue today, as
this compiler worked fine with v2013.10
toolchain:
arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.8-2013.10 -
Linaro GCC 2013.10) 4.8.2 20131014 (prerelease)
762a88ccf8540948fbf8c31b40a29d1e0684a25b is the first bad commit
commit 762a88ccf8540948fbf8c31b40a29d1e0684a25b
Author: Pierre Aubert <p.aubert at staubli.com>
Date: Thu Sep 19 17:48:59 2013 +0200
mx6: compute PLL PFD frequencies rather than using defines
Signed-off-by: Pierre Aubert <p.aubert at staubli.com>
CC: Stefano Babic <sbabic at denx.de>
:040000 040000 c3dba1387015304c14486872c9776d008d9a3b03
1f16de9cee07af71e12f1a746dcd962c9eb84bb0 M arch
git bisect log
git bisect start
# good: [183acb700378a8cfc5d50a01a65de93fb2c24586] Prepare v2013.10
git bisect good 183acb700378a8cfc5d50a01a65de93fb2c24586
# bad: [d19ad726bcd5d9106f7ba9c750462fcc369f1020] Prepare v2014.01-rc1
git bisect bad d19ad726bcd5d9106f7ba9c750462fcc369f1020
# good: [65ba7add0d609bbd035b8d42fafdaf428ac24751] time: add weak
annotation to timer_read_counter declaration
git bisect good 65ba7add0d609bbd035b8d42fafdaf428ac24751
# bad: [c3ebb8c38a5da5e40da2786c5d850d1f6555ff95] Merge branch
'master' of git://git.denx.de/u-boot-mpc85xx
git bisect bad c3ebb8c38a5da5e40da2786c5d850d1f6555ff95
# bad: [3285d4ca197928a048d3dda86751b5d26e6e0e86] Merge branch
'u-boot-imx/master' into 'u-boot-arm/master'
git bisect bad 3285d4ca197928a048d3dda86751b5d26e6e0e86
# good: [552998e5f7655ba8fd3acff400012bd651edff06] TI:armv7: Change
CONFIG_SYS_SPL_ARGS_ADDR to a higher address
git bisect good 552998e5f7655ba8fd3acff400012bd651edff06
# bad: [195d130da1c2705f96571b7265312bdfa8a83fee] Revert "configs:
imx: Make CONFIG_SYS_PROMPT uniform across FSL boards"
git bisect bad 195d130da1c2705f96571b7265312bdfa8a83fee
# bad: [4867b634b7c0e5ede258b4998fa4b2710e7daacf] ARM: mx5: Enable L2 cache
git bisect bad 4867b634b7c0e5ede258b4998fa4b2710e7daacf
# bad: [0c5e26678b18e136c1514bf769a16060ae1b5ff8] udoo: Add initial
support for mx6q udoo board
git bisect bad 0c5e26678b18e136c1514bf769a16060ae1b5ff8
# bad: [6654f33c9b520bd4073c7f82a13044e79bc14898] ARM: mxs: tools: Use
mkimage for BootStream generation
git bisect bad 6654f33c9b520bd4073c7f82a13044e79bc14898
# bad: [762a88ccf8540948fbf8c31b40a29d1e0684a25b] mx6: compute PLL PFD
frequencies rather than using defines
git bisect bad 762a88ccf8540948fbf8c31b40a29d1e0684a25b
# first bad commit: [762a88ccf8540948fbf8c31b40a29d1e0684a25b] mx6:
compute PLL PFD frequencies rather than using defines
using USE_PRIVATE_LIBGCC=yes causes another error..
arch/arm/cpu/armv7/mx6/built-in.o: In function `mxc_get_pll_pfd':
/opt/github/u-boot/arch/arm/cpu/armv7/mx6/clock.c:126: undefined
reference to `__aeabi_uldivmod'
/opt/gcc/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-ld.bfd:
BFD (crosstool-NG linaro-1.13.1-4.8-2013.10 - Linaro GCC 2013.10)
2.23.2.20130610 Linaro 2013.10-4 assertion fail
/cbuild/slaves/oorts/crosstool-ng/builds/arm-linux-gnueabihf-linux/.build/src/binutils-linaro-2.23.2-2013.10-4/bfd/elf32-arm.c:7687
/opt/gcc/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-ld.bfd:
error: required section '.rel.plt' not found in the linker script
/opt/gcc/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-ld.bfd:
final link failed: Invalid operation
make: *** [u-boot] Error 1
Regards,
--
Robert Nelson
http://www.rcn-ee.com/
More information about the U-Boot
mailing list