[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180627163009.GA6826@roeck-us.net>
Date: Wed, 27 Jun 2018 09:30:09 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Will Deacon <will.deacon@....com>,
Thomas Gleixner <tglx@...utronix.de>, mcroce@...hat.com,
sbrivio@...hat.com, David Miller <davem@...emloft.net>
Subject: Re: Build/qemu test results for v4.18-rc2
On Wed, Jun 27, 2018 at 08:27:47AM -0700, Linus Torvalds wrote:
> On Tue, Jun 26, 2018 at 8:40 AM Linus Torvalds
> <torvalds@...ux-foundation.org> wrote:
> >
> > The problem on x86-64 cross-building to i386 is that the *compiler* is
> > the same, but the flags are not, and the games the Makefile plays
> > aren't sufficient. It plays with changing HOSTCC to CC in order to get
> > he right target compiler, but since the difference between i386 and
> > x86-64 is not the compiler but the "-m64" in the cflags, it doesn't
> > actually do what it intended to do.
> >
> > We'll get it sorted, I think.
>
> So right now the build fix is likely to be this:
>
> https://patchwork.ozlabs.org/patch/935246/
>
I can confirm that the patch fixes the i386 cross-compile issue.
I just sent a Tested-by:.
Guenter
> but note that it's literally just a build fix, and for a i386
> cross-compile it embeds the wrong binary so it won't actually run
> correctly. For this whole "test the concept" stage that's fine.
>
> Linus
Powered by blists - more mailing lists