Re: [PATCH 7/7] Kbuild: lto: pass -m32/-m64 to to LDFINAL

2018-02-02 Thread Nicolas Pitre
On Fri, 2 Feb 2018, Arnd Bergmann wrote: > On Fri, Feb 2, 2018 at 9:38 PM, Nicolas Pitre > wrote: > > On Fri, 2 Feb 2018, Arnd Bergmann wrote: > > > >> Do you have a git tree with other changes for LTO on ARM? I'd > >> like to try that as well. > > > > I currently have only 2 other patches. > >

Re: [PATCH 7/7] Kbuild: lto: pass -m32/-m64 to to LDFINAL

2018-02-02 Thread Arnd Bergmann
On Fri, Feb 2, 2018 at 9:38 PM, Nicolas Pitre wrote: > On Fri, 2 Feb 2018, Arnd Bergmann wrote: > >> Do you have a git tree with other changes for LTO on ARM? I'd >> like to try that as well. > > I currently have only 2 other patches. > > You need commit 75fea300d73a that just hit mainline (you ma

Re: [PATCH 7/7] Kbuild: lto: pass -m32/-m64 to to LDFINAL

2018-02-02 Thread Nicolas Pitre
On Fri, 2 Feb 2018, Arnd Bergmann wrote: > Do you have a git tree with other changes for LTO on ARM? I'd > like to try that as well. I currently have only 2 other patches. You need commit 75fea300d73a that just hit mainline (you may cherry-pick it easily if necessary). Then the following: ---

Re: [PATCH 7/7] Kbuild: lto: pass -m32/-m64 to to LDFINAL

2018-02-02 Thread Arnd Bergmann
On Fri, Feb 2, 2018 at 7:41 PM, Nicolas Pitre wrote: > On Fri, 2 Feb 2018, Arnd Bergmann wrote: > >> Building randconfig kernels with a biarch compiler fails with LTO >> when the final link uses a different target architecture compared >> to the earlier compilation stages. >> >> Setting -m32 or -m

Re: [PATCH 7/7] Kbuild: lto: pass -m32/-m64 to to LDFINAL

2018-02-02 Thread Nicolas Pitre
On Fri, 2 Feb 2018, Arnd Bergmann wrote: > Building randconfig kernels with a biarch compiler fails with LTO > when the final link uses a different target architecture compared > to the earlier compilation stages. > > Setting -m32 or -m64 in ${LDFINAL} solves this problem, though my > feeling is