[llvmlinux] llvmlinux compilation
Marijn Stollenga (IDSIA)
marijn at idsia.ch
Thu Aug 27 11:40:31 UTC 2015
Hi, im trying to do a good-old kernel compilation from the llvmlinux.git
repo.
The x86_64-linux-next target fails at applying patches:
/patching file drivers/md/raid10.c//
//Hunk #1 FAILED at 711.//
//Hunk #2 succeeded at 4430 (offset -118 lines).//
//1 out of 2 hunks FAILED -- rejects in file drivers/md/raid10.c//
//Patch vlais-md-raid10.patch does not apply (enforce with -f)//
/
The x86_64 gets further and fails in compilation due to some macro error:
/<inline asm>:2:1: note: instantiated into assembly here/
/->OFF_hid_device_id_product $8 offsetof(struct hid_device_id, product)/
/^/
//home/marijnfs/software/llvmlinux/targets/x86_64/src/linux/scripts/mod/devicetable-offsets.c:30:2:
error: unexpected token at start of statement/
/ DEVID(ieee1394_device_id);/
/ ^/
//home/marijnfs/software/llvmlinux/targets/x86_64/src/linux/scripts/mod/devicetable-offsets.c:4:22:
note: expanded from macro 'DEVID'/
/#define DEVID(devid) DEFINE(SIZE_##devid, sizeof(struct devid))/
/ ^/
//home/marijnfs/software/llvmlinux/targets/x86_64/src/linux/include/linux/kbuild.h:5:25:
note: expanded from macro 'DEFINE'/
/ asm volatile("\n->" #sym " %0 " #val : : "i" (val)/
Finally, building the kernel as per instructions on the website (using
kernel.git repo, and copy makefile) fails:
/make[1]: *** No rule to make target `include/config/auto.conf', needed
by `include/config/kernel.release'. Stop.//
//make[1]: Leaving directory `/home/stollenga/software/kernel'//
//make: *** [all] Error 2/
Any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20150827/54f6df9a/attachment.html>
More information about the LLVMLinux
mailing list