Re: [PATCH] ARCv2: build: use mcpu=hs38 iso generic mcpu=archs

2018-09-12 Thread Guenter Roeck
On Wed, Sep 12, 2018 at 05:06:25PM +, Vineet Gupta wrote: > > > > I use a toolchain based on gcc 7.3.0 and binutils 2.30. What version > > of gcc and binutils do I need for the builds to complete ? > > Hmm I have a prebuilt 2017.03 release of tools (gcc 7.1.1 based) and I don't > see > the is

Re: [PATCH] ARCv2: build: use mcpu=hs38 iso generic mcpu=archs

2018-09-12 Thread Guenter Roeck
On Wed, Sep 12, 2018 at 05:06:25PM +, Vineet Gupta wrote: > > Hmm I have a prebuilt 2017.03 release of tools (gcc 7.1.1 based) and I don't > see > the issue above when building net/core/dev.o > I presume your toolchain was built off of upstream gcc sources. Yes, using buildroot. > Can you p

Re: [PATCH] ARCv2: build: use mcpu=hs38 iso generic mcpu=archs

2018-09-12 Thread Vineet Gupta
On 09/12/2018 09:58 AM, Guenter Roeck wrote: > Hi, > > On Fri, Sep 07, 2018 at 03:13:10PM -0700, Vineet Gupta wrote: >> helps gcc with better instruction selections such as 64-bit multiply MPYD >> >> before >> -- >> 82c34b58 : >> 82c34b58:ld r2,[0x83068d00] >> 82c34b60:add_s r2,r

Re: defconfig fails if CROSS_COMPILE is set while cross-gcc is not avaialble

2018-09-12 Thread Masahiro Yamada
Hi Alexey, 2018-09-12 22:43 GMT+09:00 Alexey Brodkin : > Hi Masahiro, > > On Wed, 2018-09-12 at 21:53 +0900, Masahiro Yamada wrote: >> Hi Alexey. >> >> 2018-09-12 21:08 GMT+09:00 Alexey Brodkin : >> > Hello Masahiro-san, >> > >> > Starting from kernel v4.17 it is no longer possible to install kern

Re: defconfig fails if CROSS_COMPILE is set while cross-gcc is not avaialble

2018-09-12 Thread Alexey Brodkin
Hi Masahiro, On Wed, 2018-09-12 at 21:53 +0900, Masahiro Yamada wrote: > Hi Alexey. > > 2018-09-12 21:08 GMT+09:00 Alexey Brodkin : > > Hello Masahiro-san, > > > > Starting from kernel v4.17 it is no longer possible to install kernel > > headers > > for ARC architecture if there's no cross-tool

Re: defconfig fails if CROSS_COMPILE is set while cross-gcc is not avaialble

2018-09-12 Thread Masahiro Yamada
Hi Alexey. 2018-09-12 21:08 GMT+09:00 Alexey Brodkin : > Hello Masahiro-san, > > Starting from kernel v4.17 it is no longer possible to install kernel headers > for ARC architecture if there's no cross-toolchain in PATH. Really? I can do 'make ARCH=arc headers_install' with the latest Linus' tr

defconfig fails if CROSS_COMPILE is set while cross-gcc is not avaialble

2018-09-12 Thread Alexey Brodkin
Hello Masahiro-san, Starting from kernel v4.17 it is no longer possible to install kernel headers for ARC architecture if there's no cross-toolchain in PATH. Note installation of headers is just one of use-cases when we might not have cross-tools available but still want to run "make xxx_defconfi