[llvmlinux] rpi2 target compilation errors

Peter Teoh htmldeveloper at gmail.com
Wed Aug 12 03:01:43 UTC 2015


Got the following errors when I attempt make in target rp2:

patching file Makefile
Hunk #1 succeeded at 378 (offset 12 lines).
Hunk #2 FAILED at 667.
1 out of 2 hunks FAILED -- rejects in file Makefile
Patch kbuild-clang-detect.patch does not apply (enforce with -f)
make: *** [state/kernel-patch] Error 1

Even after getting the latest git pull from llvmlinux I still got the
errors (as shown in git log below, which I supposed are to solve the above
problem):


commit 2a8813e233c63684a630e765c70b2d550c2b2884
Author: Vinicius Tinti <viniciustinti at gmail.com>
Date:   Tue Aug 11 19:36:01 2015 -0300

    rpi2: update to kernel 4.2

    Signed-off-by: Vinicius Tinti <viniciustinti at gmail.com>

commit 6c6f5a473ce14a3766a906c7f3a15ae3df78ed6e
Author: Vinicius Tinti <viniciustinti at gmail.com>
Date:   Tue Aug 11 18:42:16 2015 -0300

    rpi: update to kernel 4.2

    Signed-off-by: Vinicius Tinti <viniciustinti at gmail.com>


Can someone provide the instruction on how to properly restart the
compilation?

I have tried the following in succession:

cd toolchain/clang && make clean && make

cd targets/rpi2 && make clean && make

But thereafter it still gave me errors.




-- 
Regards,
Peter Teoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20150812/da7e48d1/attachment.html>


More information about the LLVMLinux mailing list