Re: [PATCH] ARC: Get rid of toolchain check

2018-10-18 Thread gre...@linuxfoundation.org
rc@lists.infradead.org; Linux Kernel Mailing List > > ; vineet.gup...@synopsys.com > > Subject: Re: [PATCH] ARC: Get rid of toolchain check > > > > On Thu, Sep 13, 2018 at 3:24 PM Alexey Brodkin > > wrote: > > > > > > This check is very naive: we simply

RE: [PATCH] ARC: Get rid of toolchain check

2018-10-17 Thread Alexey Brodkin
Hello, > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Friday, September 14, 2018 12:04 AM > To: alexey.brod...@synopsys.com > Cc: linux-snps-arc@lists.infradead.org; Linux Kernel Mailing List > ; vineet.gup...@synopsys.com > Subject: Re: [P

Re: [PATCH] ARC: Get rid of toolchain check

2018-09-13 Thread Rob Herring
On Thu, Sep 13, 2018 at 3:24 PM Alexey Brodkin wrote: > > This check is very naive: we simply test if GCC invoked without > "-mcpu=XXX" has ARC700 define set. In that case we think that GCC > was built with "--with-cpu=arc700" and has libgcc built for ARC700. > > Otherwise if ARC700 is not defined

[PATCH] ARC: Get rid of toolchain check

2018-09-13 Thread Alexey Brodkin
This check is very naive: we simply test if GCC invoked without "-mcpu=XXX" has ARC700 define set. In that case we think that GCC was built with "--with-cpu=arc700" and has libgcc built for ARC700. Otherwise if ARC700 is not defined we think that everythng was built for ARCv2. But in reality our