Build fails for arm64:
git reset ll-20121221.1
export CROSS_COMPILE=arm-linux-gnueabi-
export ARCH=arm64
make defconfig
make init/main.o
CC init/main.o
In file included from /home/jcrigby/work/git-trees/linaro-raring/linaro-raring/arch/arm64/include/asm/processor.h:30:0,
from /home/jcrigby/work/git-trees/linaro-raring/linaro-raring/arch/arm64/include/asm/spinlock.h:20,
from include/asm-generic/bitops/atomic.h:8,
from /home/jcrigby/work/git-trees/linaro-raring/linaro-raring/arch/arm64/include/asm/bitops.h:48,
from include/linux/bitops.h:22,
from include/linux/kernel.h:10,
from include/linux/sched.h:15,
from /home/jcrigby/work/git-trees/linaro-raring/linaro-raring/arch/arm64/include/asm/compat.h:25,
from /home/jcrigby/work/git-trees/linaro-raring/linaro-raring/arch/arm64/include/asm/stat.h:23,
from include/linux/stat.h:5,
from include/linux/module.h:10,
from init/main.c:13:
include/linux/string.h:23:15: warning: conflicting types for built-in function ‘strncpy’ [enabled by default]
include/linux/string.h:32:15: warning: conflicting types for built-in function ‘strncat’ [enabled by default]
include/linux/string.h:41:12: warning: conflicting types for built-in function ‘strncmp’ [enabled by default]
include/linux/string.h:50:12: warning: conflicting types for built-in function ‘strncasecmp’ [enabled by default]
include/linux/string.h:77:24: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
include/linux/string.h:89:24: warning: conflicting types for built-in function ‘strspn’ [enabled by default]
include/linux/string.h:92:24: warning: conflicting types for built-in function ‘strcspn’ [enabled by default]
include/linux/string.h:96:15: warning: conflicting types for built-in function ‘memset’ [enabled by default]
include/linux/string.h:99:15: warning: conflicting types for built-in function ‘memcpy’ [enabled by default]
include/linux/string.h:102:15: warning: conflicting types for built-in function ‘memmove’ [enabled by default]
include/linux/string.h:108:12: warning: conflicting types for built-in function ‘memcmp’ [enabled by default]
include/linux/string.h:111:15: warning: conflicting types for built-in function ‘memchr’ [enabled by default]
In file included from include/linux/sched.h:15:0,
from /home/jcrigby/work/git-trees/linaro-raring/linaro-raring/arch/arm64/include/asm/compat.h:25,
from /home/jcrigby/work/git-trees/linaro-raring/linaro-raring/arch/arm64/include/asm/stat.h:23,
from include/linux/stat.h:5,
from include/linux/module.h:10,
from init/main.c:13:
include/linux/kernel.h:326:5: warning: conflicting types for built-in function ‘snprintf’ [enabled by default]
include/linux/kernel.h:328:5: warning: conflicting types for built-in function ‘vsnprintf’ [enabled by default]
In file included from include/linux/stat.h:5:0,
from include/linux/module.h:10,
from init/main.c:13:
/home/jcrigby/work/git-trees/linaro-raring/linaro-raring/arch/arm64/include/asm/stat.h:29:8: error: redefinition of ‘struct stat64’
In file included from /home/jcrigby/work/git-trees/linaro-raring/linaro-raring/arch/arm64/include/uapi/asm/stat.h:16:0,
from /home/jcrigby/work/git-trees/linaro-raring/linaro-raring/arch/arm64/include/asm/stat.h:19,
from include/linux/stat.h:5,
from include/linux/module.h:10,
from init/main.c:13:
/home/jcrigby/work/git-trees/linaro-raring/linaro-raring/include/uapi/asm-generic/stat.h:48:8: note: originally defined here
make[1]: *** [init/main.o] Error 1
make: *** [init/main.o] Error 2
git bisect point to: git.linaro. org/gitweb? p=kernel/ linux-linaro- tracking. git;a=commit; h=05a789f13dad6 247198edc55423b e09236411b76
http://
reverting requires a bit of conflict resolution but fixes the build error patch attached.