Re: Build/qemu test results for v4.18-rc2

From: Guenter Roeck
Date: Wed Jun 27 2018 - 12:30:18 EST


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@xxxxxxxxxxxxxxxxxxxx> 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