lkml.org 
[lkml]   [2020]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Merge branch 'core-objtool-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
i build 64bit kernel on 32bit host. please fix.

2020-04-09 15:38 GMT+08:00, Peter Zijlstra <peterz@infradead.org>:
> On Thu, Apr 09, 2020 at 10:00:53AM +0800, youling 257 wrote:
>> d937a6dfc9428f470c3ce4d459c390944ddef538 caused 64bit kernel build
>> failed on 32bit userspace.
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d937a6dfc9428f470c3ce4d459c390944ddef538
>>
>> 2020-04-08 16:13 GMT+08:00, youling 257 <youling257@gmail.com>:
>> > after this merge branch, build 64bit kernel failed on 32bit userspace.
>> >
>> >
>> > CC tools/objtool/builtin-check.o
>> > CC tools/objtool/builtin-orc.o
>> > In file included from check.h:10,
>> > from builtin-check.c:18:
>> > elf.h: In function ‘sec_offset_hash’:
>> > elf.h:102:14: error: right shift count >= width of type
>> > [-Werror=shift-count-overflow]
>> > 102 | oh = offset >> 32;
>> > | ^~
>
> Oh right; I figured it wouldn't matter since we don't do objtool for
> 32bit kernels, but I suppose you're cross building a 64bit kernel on a
> 32bit host or something daft like that?
>
> I'll go fix it.
>

\
 
 \ /
  Last update: 2020-04-11 19:31    [W:0.053 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site