Skip to contentSkip to conversation

cross-compiling a 64-bit kernel on a 32-bit host

DISCUSSION Josh Poimboeuf 3 participants 3 messages May 10, 2018 – May 11, 2018

lore
Share & tools
lore
#0 lore raw

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.

Signature · 1 line
Josh
#1 lore raw

Hi Josh,

CC LKP team.

Quoted 8 lines · Josh Poimboeuf

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

#2 lore raw
Quoted 13 lines

Subject: Re: cross-compiling a 64-bit kernel on a 32-bit host

Hi Josh,

CC LKP team.

Quoted 5 lines · Josh Poimboeuf

Hi Fengguang,

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

Quoted 6 lines
Quoted 3 lines

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.

Quoted 3 lines

Thanks,
Fengguang