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.h:49: Error: no such instruction: `msr daifset,' /home/work/linux/arch/arm64/include/asm/irqflags.h:68: Error: no such instruction: `mrs %rax,daif//arch_local_save_flags' /home/work/linux/arch/arm64/include/asm/irqflags.h:49: Error: no such instruction: `msr daifset,' /home/work/linux/arch/arm64/include/asm/irqflags.h:68: Error: no such instruction: `mrs %rax,daif//arch_local_save_flags' /home/work/linux/arch/arm64/include/asm/irqflags.h:40: Error: no such instruction: `msr daifclr,' /home/work/linux/arch/arm64/include/asm/irqflags.h:68: Error: no such instruction: `mrs %rax,daif//arch_local_save_flags' /home/work/linux/arch/arm64/include/asm/irqflags.h:40: Error: no such instruction: `msr daifclr,'
Could anyone tell how to solve it? thanks!