Re: [OE-core] [PATCH 1/4] base.bbclass: Remove invalid ccache related code

2018-12-12 Thread Robert Yang
On 12/11/18 6:12 PM, Robert Yang wrote: Hi RP, On 12/11/18 5:44 PM, richard.pur...@linuxfoundation.org wrote: On Tue, 2018-12-11 at 17:24 +0800, Robert Yang wrote: [snip] I did a test: $ ln -s /usr/bin/ccache /folk/lyang1/bin/gcc I got errors with/without the code: $ bitbake -p

Re: [OE-core] [PATCH 1/4] base.bbclass: Remove invalid ccache related code

2018-12-11 Thread Robert Yang
On 12/11/18 6:42 PM, richard.pur...@linuxfoundation.org wrote: On Tue, 2018-12-11 at 18:12 +0800, Robert Yang wrote: On 12/11/18 5:44 PM, richard.pur...@linuxfoundation.org wrote: On Tue, 2018-12-11 at 17:24 +0800, Robert Yang wrote: On 12/10/18 6:29 PM, Richard Purdie wrote: No, that

Re: [OE-core] [PATCH 1/4] base.bbclass: Remove invalid ccache related code

2018-12-11 Thread Yang, Liezhi
Sent from mobile phone > 在 2018年12月11日,18:43,"richard.pur...@linuxfoundation.org" > 写道: > >> On Tue, 2018-12-11 at 18:12 +0800, Robert Yang wrote: >>> On 12/11/18 5:44 PM, richard.pur...@linuxfoundation.org wrote: On Tue, 2018-12-11 at 17:24 +0800, Robert Yang wrote: On 12/10/18

Re: [OE-core] [PATCH 1/4] base.bbclass: Remove invalid ccache related code

2018-12-11 Thread richard . purdie
On Tue, 2018-12-11 at 18:12 +0800, Robert Yang wrote: > On 12/11/18 5:44 PM, richard.pur...@linuxfoundation.org wrote: > > On Tue, 2018-12-11 at 17:24 +0800, Robert Yang wrote: > > > On 12/10/18 6:29 PM, Richard Purdie wrote: > > No, that isn't correct :( > > > > The problem is that "gcc" can be

Re: [OE-core] [PATCH 1/4] base.bbclass: Remove invalid ccache related code

2018-12-11 Thread Robert Yang
Hi RP, On 12/11/18 5:44 PM, richard.pur...@linuxfoundation.org wrote: On Tue, 2018-12-11 at 17:24 +0800, Robert Yang wrote: On 12/10/18 6:29 PM, Richard Purdie wrote: On Sun, 2018-12-09 at 18:24 -0800, Robert Yang wrote: The code is in setup_hosttools_dir(), it searches ccache in PATH in

Re: [OE-core] [PATCH 1/4] base.bbclass: Remove invalid ccache related code

2018-12-11 Thread richard . purdie
On Tue, 2018-12-11 at 17:24 +0800, Robert Yang wrote: > > On 12/10/18 6:29 PM, Richard Purdie wrote: > > On Sun, 2018-12-09 at 18:24 -0800, Robert Yang wrote: > > > The code is in setup_hosttools_dir(), it searches ccache in PATH > > > in > > > reverse order, I can't figure out what it is used

Re: [OE-core] [PATCH 1/4] base.bbclass: Remove invalid ccache related code

2018-12-11 Thread Robert Yang
On 12/10/18 6:29 PM, Richard Purdie wrote: On Sun, 2018-12-09 at 18:24 -0800, Robert Yang wrote: The code is in setup_hosttools_dir(), it searches ccache in PATH in reverse order, I can't figure out what it is used for, maybe it is aimed to use host's ccache rather than recipe-sysroot-

Re: [OE-core] [PATCH 1/4] base.bbclass: Remove invalid ccache related code

2018-12-10 Thread Richard Purdie
On Sun, 2018-12-09 at 18:24 -0800, Robert Yang wrote: > The code is in setup_hosttools_dir(), it searches ccache in PATH in > reverse order, I can't figure out what it is used for, maybe it is > aimed to use host's ccache rather than recipe-sysroot- > native/usr/bin/ccache, but the later one isn't