[llvmlinux] Bug: Cross Compiling android Kernel with clang

Fürst Stefan dieb.stefan.96 at gmail.com
Sat Jun 27 14:28:48 UTC 2015


Hello again,

I have almost fixed all errors.
I have written Vinicinus an E-Mail. Maybe he can help me to fix the last
error.
Last errors: http://pastebin.com/65RYLxsj
Sry for the german language.
"Nicht definierter Verweis auf" means "Undefined reference to"
and "In Funktion" means  "in function"

Kind Regards
Stefan

2015-06-27 14:16 GMT+02:00 Fürst Stefan <dieb.stefan.96 at gmail.com>:

> Hello,
>
> at the moment i am trying to cross compile an android kernel with clang
> but i ran into various errors. I could fix some of them but not all of them
> maybe you know a fix for that. I have read about a fix for the iptables
> problem but i could not find it anywhere
>
> net/ipv4/netfilter/ip_tables.c:67:9: error: fields must have a constant
> size: 'variable length array in structure' extension will never be supported
>         return xt_alloc_initial_table(ipt, IPT);
>
> The same happens with arp_tables.c and
> net/ipv6/netfilter/ip6_tables.c
>
> This seems to be the right bug https://llvm.org/bugs/show_bug.cgi?id=9254
>
> Maybe someone has the right patch for that.
>
> Kind Regards
> Stefan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20150627/70b9c4fc/attachment.html>


More information about the LLVMLinux mailing list