[llvmlinux] Bug: Cross Compiling android Kernel with clang

Fürst Stefan dieb.stefan.96 at gmail.com
Sat Jun 27 12:16:29 UTC 2015


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/21adddcf/attachment.html>


More information about the LLVMLinux mailing list