[PATCH 0/6] arm64 kexec kernel patches V8

Geoff Levand geoff at infradead.org
Wed Apr 8 10:14:19 PDT 2015


Hi,

On Wed, 2015-04-08 at 12:16 +0100, Suzuki K. Poulose wrote:
> Btw, I get the following build failure for kexec-tools master branch, 
> with Linaro tool chain (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro 
> GCC 4.9-2014.09 )
> 
>   $ ./configure --host=aarch64-linux-gnu
>   [...]
>   $ make -j4
> kexec/arch/arm64/kexec-arm64.c: In function ‘machine_verify_elf_rel’:
> kexec/arch/arm64/kexec-arm64.c:970:29: error: ‘EM_AARCH64’ undeclared 

I guess that toolchain is using some ancient headers.  As a workaround
you can use configure CPPFLAGS='-DEM_AARCH64=183'.

-Geoff




More information about the kexec mailing list