[cfe-dev] Cross Compiling an android Kernel: Errors

Renato Golin renato.golin at linaro.org
Thu Mar 5 13:53:44 PST 2015


Hi Stefan,

I'm no expert in compiling the kernel, but these guys are:

http://llvm.linuxfoundation.org/index.php/Main_Page

Maybe you'll have more luck asking them the hard questions... :)

cheers,
--renato

On 5 March 2015 at 20:10, Fürst Stefan <dieb.stefan.96 at gmail.com> wrote:
> Hello guys maybe someone here is able to help me,
>
> I am getting weird errors while cross compiling and android kernel.
> I installed clang 3.7 on my ubuntu machine.
> This is my github if anyone is interested in:
> https://github.com/DerRomtester/one_plus_one/commits/clang
> I think i added all necessary patches to make it working but it does not
> work.
> When i cross compile without adding a target to Makefile: to hostcflags and
> hostcxxflags i get these errors: http://pastebin.com/HWSBAYhy
> Than i figured out that the target is missing i added to hostcflags and
> hostcxxflags and i get another weird errors: http://pastebin.com/B9fu1P8u
> Am i using the wrong target? Or what is the problem related to.
> To compile i used make V=1 ARCH=arm SUBARCH=arm
> CC=/usr/lib/llvm-3.7/bin/clang HOSTCC=clang
> How can i solve this?
>
> Kind regards
> Stefan
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>




More information about the cfe-dev mailing list