[llvmlinux] rpi2 target compilation errors

Jan-Simon Moeller dl9pf at gmx.de
Wed Aug 12 09:37:42 UTC 2015


Patching works for me fine. 

can you do:

cd target/rpi2
rm -rf *
git remote -v update
git reset --hard origin/master
make V=1 2>&1 | tee -a logfile

and in case it fails, please send me the logfile.

Tnx.


Am Mittwoch, 12. August 2015, 11:01:43 schrieb Peter Teoh:
> 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.



More information about the LLVMLinux mailing list