[llvmlinux] IAS should be able to compile ARM kernel

Renato Golin renato.golin at linaro.org
Wed Feb 19 00:44:47 UTC 2014


On 18 February 2014 02:57, Tinti <viniciustinti at gmail.com> wrote:
> Still not this time. But looks like all the errors are related to this:

Right, that was a misfire, we did fix the macro problem, but now we've
hit a much harder problem...

http://llvm.org/bugs/show_bug.cgi?id=18199

kernel/bounds.c:19:2: error: unexpected token at start of statement
        DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS);
        ^
include/linux/kbuild.h:5:25: note: expanded from macro 'DEFINE'
        asm volatile("\n->" #sym " %0 " #val : : "i" (val))
                        ^
<inline asm>:2:1: note: instantiated into assembly here
->NR_PAGEFLAGS #22 __NR_PAGEFLAGS
^

Saleem is looking into it.

cheers,
--renato


More information about the LLVMLinux mailing list