Re: Build/qemu test results for v4.18-rc2
From: Linus Torvalds
Date: Wed Jun 27 2018 - 11:28:05 EST
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/
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