[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200409073807.GA2483@worktop.programming.kicks-ass.net>
Date: Thu, 9 Apr 2020 09:38:07 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: youling 257 <youling257@...il.com>
Cc: viro@...iv.linux.org.uk, jpoimboe@...hat.com,
linux-kernel@...r.kernel.org
Subject: Re: Merge branch 'core-objtool-for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
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@...il.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.
Powered by blists - more mailing lists