[llvmlinux] IAS should be able to compile ARM kernel

Behan Webster behanw at converseincode.com
Wed Feb 19 18:06:52 UTC 2014


On 02/18/14 16:44, Renato Golin wrote:
> 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.
We're seeing the same issue with our vexpress build.

Behan

-- 
Behan Webster
behanw at converseincode.com



More information about the LLVMLinux mailing list