Kernel-15.11 build error


#1

Hello!

I ask the person who built a kernel of linaro kernel-15.11.
I installed a tool and cross compiler necessary for build and carried out make according to release note.
The following error is given in build.
Please tell me the solution.

root@tuk-virtual-machine:/usr/src/kernel# make -j4 Image dtbs KERNELRELEASE=4.2.4-linaro-lt-qcom
/usr/bin/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc: 1: /usr/bin/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc: Syntax error: “(” unexpected
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
HOSTCC scripts/pnmtologo
CC scripts/mod/empty.o
/usr/bin/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc: 1: /usr/bin/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc: Syntax error: “(” unexpected
scripts/Makefile.build:258: recipe for target ‘scripts/mod/empty.o’ failed
make[2]: *** [scripts/mod/empty.o] Error 2
scripts/Makefile.build:403: recipe for target ‘scripts/mod’ failed
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs…
Makefile:545: recipe for target ‘scripts’ failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs…


#2

It was settled by oneself.
A virtual machine was 32bit. The build error disappeared when I switched to 64bit.