All of lore.kernel.org
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] checkarmreloc error for AArch64 (using vexpress_aemv8a_defconfig)
Date: Sat, 18 Jul 2015 10:43:41 +0200	[thread overview]
Message-ID: <20150718104341.2bdd2612@lilith> (raw)
In-Reply-To: <360A224CA5291F458103405CD909493696349A81@ORSMSX105.amr.corp.intel.com>

Hello David,

On Fri, 17 Jul 2015 22:13:32 +0000, Chou, David J
<david.j.chou@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.

  reply	other threads:[~2015-07-18  8:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-17 22:13 [U-Boot] checkarmreloc error for AArch64 (using vexpress_aemv8a_defconfig) Chou, David J
2015-07-18  8:43 ` Albert ARIBAUD [this message]
2015-07-18  8:58   ` Albert ARIBAUD
2015-07-20  4:15   ` Chou, David J
2015-07-20 19:23     ` Albert ARIBAUD
2015-07-20 22:17       ` Chou, David J
2015-07-21  7:01         ` Albert ARIBAUD
  -- strict thread matches above, loose matches on Subject: below --
2015-02-26  9:41 Guillaume Gardet

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=20150718104341.2bdd2612@lilith \
    --to=albert.u.boot@aribaud.net \
    --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.