Re: failed on building arm64 kernel

2014-05-02 Thread Zhi-zhou Zhang
Hi Yvan, Thanks. I made a mistake typed `export CROSS_COMPILER' that should be `export CROSS_COMPILE'. On Mon, Apr 28, 2014 at 04:40:09PM +0200, Yvan Roux wrote: > Hi Zhi-zhou, > > having a %rax register here : > Error: no such instruction: `mrs %rax,daif//arch_local_save_flags' > > makes me thin

Re: failed on building arm64 kernel

2014-04-28 Thread Yvan Roux
Hi Zhi-zhou, having a %rax register here : Error: no such instruction: `mrs %rax,daif//arch_local_save_flags' makes me think that you're using an x86_64 compiler and not the AArch64 one. regards, Yvan On 26 April 2014 03:10, Zhi-zhou Zhang wrote: > hi, > For building arm64 kernel, I tried all

failed on building arm64 kernel

2014-04-28 Thread Zhi-zhou Zhang
hi, For building arm64 kernel, I tried all toolchain released from http://releases.linaro.org/latest/components/toolchain/binaries/ But it complained about some instructions bad: /home/work/linux/arch/arm64/include/asm/irqflags.h: Assembler messages: /home/work/linux/arch/arm64/include/asm/irqflags