<div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>i am trying to cross compile a nexus5 kernel with clang but at the end i get one error.<br></div><div>The steps i did were<br><div>git clone <a href="http://git.linuxfoundation.org/llvmlinux.git" target="_blank">http://git.linuxfoundation.org/llvmlinux.git</a></div><div>cd llvmlinux</div><div>cd targets/vexpress</div><div>make kernel-shell-for-build<br></div><div>cd ../../<br></div><div>cd targets<br></div><div>cd nexus5<br></div><div>make<br></div><br></div><div>Than i applied all necessary patches.<br></div><div>The build command looks like this<br>make ARCH=arm CROSS_COMPILE=/home/stefan/llvmlinux/arch/arm/toolchain/linaro/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf- -l4 -j5 GCC_TOOLCHAIN=/home/stefan/llvmlinux/arch/arm/toolchain/linaro/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux KBUILD_OUTPUT=/home/stefan/llvmlinux/targets/nexus5/build/kernel-clang HOSTCC="/home/stefan/llvmlinux/toolchain/clang/head/install/bin/clang" CC="/home/stefan/llvmlinux/toolchain/clang/head/install/bin/clang "<br><br></div><div><br>drivers/built-in.o: In function `__video_do_ioctl':<br>/home/stefan/llvmlinux/targets/nexus5/src/android_kernel_nexus5/drivers/media/video/v4l2-ioctl.c:1604: undefined reference to `__aeabi_memclr4'<br>make[1]: *** [.tmp_vmlinux1] Error 1<br>make: *** [sub-make] Error 2<br></div><br></div>So does clang already support aeabi. Why does it fail?<br><br></div>Kind regards<br></div>Stefan<br><div><div><div><div> <br></div></div></div></div></div>