[llvmlinux] FW: Raspberry Pi build error log

Mark Charlebois charlebm at gmail.com
Wed Sep 12 21:45:49 UTC 2012

> ________________________________________
> From: Charlebois, Mark
> Sent: Tuesday, September 11, 2012 9:13 PM
> To: Tinti
> Subject: RE: Raspberry Pi build error log
> ________________________________________
> From: Tinti [viniciustinti at gmail.com]
> Sent: Tuesday, September 11, 2012 6:34 PM
> To: llvmlinux at lists.linuxfoundation.org
> Subject: Raspberry Pi build error log
> Hi,
> These logs contains the errors and modifications raised when trying to build for Raspberry Pi.
> As suggested at irc, This build is based on vexpress using the Raspberry Pi oficial kernel at Github (https://github.com/raspberrypi/linux)
> Any advices or suggestions?

Hi Vinicius,

I looked at the patches you are making. You should be able to make these 
patches in the target directory and not need to change anything at the 
top level.

MAINLINEURI does not need to change for instance.

You can see what was done in the target/msm Makefile:

      KERNEL_GIT      = git://codeaurora.org/kernel/msm.git

If the patches you are making are for your specific kernel version they 
should be only in target/raspberrypi/patches/XXX

In your log I see:

include/linux/rcupdate.h:822:2: error: array size is negative
include/linux/kernel.h:696:22: note: expanded from macro 'BUILD_BUG_ON'
                 ((void)sizeof(char[1 - 2*!!(condition)]));      \

We have a patch for that in arch/all/patches/slab-builtin_contant_p.patch


> Thanks.
> --
> Vinicius Tinti

More information about the LLVMLinux mailing list