[llvmlinux] rpi2 target compilation errors

Vinicius Tinti viniciustinti at gmail.com
Wed Aug 12 13:47:45 UTC 2015


Hi Peter,

Unfortunately sometimes it is needed to manually switch branches on the
build system (I am not sure if it is due to trees that have git commit -f
or if it is an internal issue within the build system).

Please try switch manually to branch 4.2.y or remove the entire 'src'
folder under 'rpi' target. Let me know if it works?

Regards,
Vinicius

On Wed, Aug 12, 2015 at 6:37 AM, Jan-Simon Moeller <dl9pf at gmx.de> wrote:

> 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.
>
> _______________________________________________
> LLVMLinux mailing list
> LLVMLinux at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux
>



-- 
Simplicity is the ultimate sophistication
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20150812/e38a53b3/attachment.html>


More information about the LLVMLinux mailing list