lkml.org 
[lkml]   [2020]   [Apr]   [8]   [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
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;
> | ^~
> cc1: all warnings being treated as errors
> mv: 无法获取'tools/objtool/.builtin-check.o.tmp' 的文件状态(stat): 没有那个文件或目录
> make[6]: *** [/tools/build/Makefile.build:97:tools/objtool/builtin-check.o]
> 错误 1
> make[6]: *** 正在等待未完成的任务....
> HOSTCC scripts/kallsyms
> In file included from check.h:10,
> from builtin-orc.c:17:
> 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;
> | ^~
> In file included from arch/x86/decode.c:14:
> arch/x86/../../elf.h: In function ‘sec_offset_hash’:
> arch/x86/../../elf.h:102:14: error: right shift count >= width of type
> [-Werror=shift-count-overflow]
> 102 | oh = offset >> 32;
> | ^~
> cc1: all warnings being treated as errors
> mv: 无法获取'tools/objtool/.builtin-orc.o.tmp' 的文件状态(stat) CC
> tools/objtool/help.o
> : 没有那个文件或目录
> make[6]: *** [/tools/build/Makefile.build:97:tools/objtool/builtin-orc.o] 错误
> 1
> CC tools/objtool/pager.o
> CC tools/objtool/parse-options.o
> CC tools/objtool/run-command.o
> CC tools/objtool/sigchain.o
> HOSTCC scripts/recordmcount
> CC tools/objtool/subcmd-config.o
> HOSTCC scripts/sorttable
> HOSTCC scripts/asn1_compiler
> HOSTCC scripts/extract-cert
> HOSTLD scripts/genksyms/genksyms
> cc1: all warnings being treated as errors
> mv: 无法获取'tools/objtool/arch/x86/.decode.o.tmp' 的文件状态(stat): 没有那个文件或目录
> make[7]: ***
> [/tools/build/Makefile.build:97:tools/objtool/arch/x86/decode.o]
> 错误 1
> make[6]: *** [/tools/build/Makefile.build:139:arch/x86] 错误 2
> make[5]: *** [Makefile:46:tools/objtool/objtool-in.o] 错误 2
> make[5]: *** 正在等待未完成的任务....
>

\
 
 \ /
  Last update: 2020-04-09 04:01    [W:0.136 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site