2018-05-10 22:36:48

by Josh Poimboeuf

[permalink] [raw]
Subject: cross-compiling a 64-bit kernel on a 32-bit host

Hi Fengguang,

I occasionally get compilation bug reports from people who are
cross-compiling an x86-64 kernel target on an x86-32 host.

Any chance the 0-day build bot could test that configuration? I think
just building a defconfig would be sufficient. It would help sort out
issues in objtool and other host-built scripts.

--
Josh


2018-05-11 03:40:16

by Fengguang Wu

[permalink] [raw]
Subject: Re: cross-compiling a 64-bit kernel on a 32-bit host

Hi Josh,

CC LKP team.

On Thu, May 10, 2018 at 05:36:19PM -0500, Josh Poimboeuf wrote:
>Hi Fengguang,
>
>I occasionally get compilation bug reports from people who are
>cross-compiling an x86-64 kernel target on an x86-32 host.
>
>Any chance the 0-day build bot could test that configuration? I think
>just building a defconfig would be sufficient. It would help sort out
>issues in objtool and other host-built scripts.

To do that we'll need to create a new build chroot. Julie/Philip
should be able to evaluate the efforts and do the plan.

Thanks,
Fengguang

2018-05-11 04:02:34

by Philip Li

[permalink] [raw]
Subject: RE: cross-compiling a 64-bit kernel on a 32-bit host


> Subject: Re: cross-compiling a 64-bit kernel on a 32-bit host
>
> Hi Josh,
>
> CC LKP team.
>
> On Thu, May 10, 2018 at 05:36:19PM -0500, Josh Poimboeuf wrote:
> >Hi Fengguang,
> >
> >I occasionally get compilation bug reports from people who are
> >cross-compiling an x86-64 kernel target on an x86-32 host.
> >
> >Any chance the 0-day build bot could test that configuration? I think
> >just building a defconfig would be sufficient. It would help sort out
> >issues in objtool and other host-built scripts.
>
> To do that we'll need to create a new build chroot. Julie/Philip
> should be able to evaluate the efforts and do the plan.
got it, we will consider this in future plan after some evaluation.

>
> Thanks,
> Fengguang