[U-Boot] checkarmreloc error for AArch64 (using vexpress_aemv8a_defconfig)
Albert ARIBAUD
albert.u.boot at aribaud.net
Sat Jul 18 10:43:41 CEST 2015
Hello David,
On Fri, 17 Jul 2015 22:13:32 +0000, Chou, David J
<david.j.chou at intel.com> wrote:
> Hi,
>
> I am using u-boot-2015.07-rc2, using vexpress_aemv8a_defconfig as following:
> $ make vexpress_aemv8a_juno_defconfig ARCH=arm CROSS_COMPILE=aarch64-linux-android-
> $ make all ARCH=arm CROSS_COMPILE=aarch64-linux-android-
>
> And I got "make: *** [checkarmreloc] Error 1" at the end of the build as following:
>
> OBJCOPY examples/standalone/hello_world.srec
> OBJCOPY examples/standalone/smc911x_eeprom.srec
> OBJCOPY examples/standalone/hello_world.bin
> OBJCOPY examples/standalone/smc911x_eeprom.bin
> LDS u-boot.lds
> LD u-boot
> u-boot contains unexpected relocations: R_AARCH64_ABS64
> R_AARCH64_RELATIVE
> make: *** [checkarmreloc] Error 1
>
> But it generated an ELF 64-bit LSB executable, version 1 (SYSV), statically linked u-boot. Does this u-boot still useful or how to fix the issue?
>
> This build error has been mentioned in http://lists.denx.de/pipermail/u-boot/2015-February/206440.html , has it been fixe?
This error does not appear with the aarmch64 toolchain used by buildman
or with the aarmch64 toolchain from Ubuntu repositories, either for
v2015.07-rc2 or for current top of branch u-boot[-arm]/master.
Is the code you are building pure v2015.07-rc3 or does it contain any
local changes?
> Thanks a lot for your help.
>
> Best Regards,
> David Chou
Amicalement,
--
Albert.
More information about the U-Boot
mailing list