<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Hello guys maybe someone here is able to help me,<br><br></div>I am getting weird errors while cross compiling and android kernel.<br></div>I installed clang 3.7 on my ubuntu machine.<br></div>This is my github if anyone is interested in: <a href="https://github.com/DerRomtester/one_plus_one/commits/clang">https://github.com/DerRomtester/one_plus_one/commits/clang</a><br></div>I think i added all necessary patches to make it working but it does not work.<br></div>When i cross compile without adding a target to Makefile: to hostcflags and hostcxxflags i get these errors: <a href="http://pastebin.com/HWSBAYhy">http://pastebin.com/HWSBAYhy</a><br></div>Than i figured out that the target is missing i added to hostcflags and hostcxxflags and i get another weird errors: <a href="http://pastebin.com/B9fu1P8u">http://pastebin.com/B9fu1P8u</a><br></div>Am i using the wrong target? Or what is the problem related to. <br></div>To compile i used make <span class="">V=1</span> ARCH=arm SUBARCH=arm CC=<span class="">/usr/lib/llvm-3.7/bin/</span>clang HOSTCC=clang<br></div>How can i solve this?<br><br></div>Kind regards <br></div>Stefan<br></div>