From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sat, 18 Jul 2015 10:43:41 +0200 Subject: [U-Boot] checkarmreloc error for AArch64 (using vexpress_aemv8a_defconfig) In-Reply-To: <360A224CA5291F458103405CD909493696349A81@ORSMSX105.amr.corp.intel.com> References: <360A224CA5291F458103405CD909493696349A81@ORSMSX105.amr.corp.intel.com> Message-ID: <20150718104341.2bdd2612@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello David, On Fri, 17 Jul 2015 22:13:32 +0000, Chou, David J 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.