[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1f7e5ebd-8345-41cd-ba9e-c4cef28c5574@huawei.com>
Date: Sat, 8 Oct 2022 15:09:10 +0800
From: "Leizhen (ThunderTown)" <thunder.leizhen@...wei.com>
To: kernel test robot <lkp@...el.com>,
Josh Poimboeuf <jpoimboe@...nel.org>,
Jiri Kosina <jikos@...nel.org>,
Miroslav Benes <mbenes@...e.cz>,
Petr Mladek <pmladek@...e.com>,
Joe Lawrence <joe.lawrence@...hat.com>,
<live-patching@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
"Masahiro Yamada" <masahiroy@...nel.org>,
Alexei Starovoitov <ast@...nel.org>,
Jiri Olsa <jolsa@...nel.org>,
Kees Cook <keescook@...omium.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Luis Chamberlain <mcgrof@...nel.org>,
<linux-modules@...r.kernel.org>,
Steven Rostedt <rostedt@...dmis.org>,
"Ingo Molnar" <mingo@...hat.com>
CC: <kbuild-all@...ts.01.org>,
Linux Memory Management List <linux-mm@...ck.org>
Subject: Re: [PATCH v6 11/11] kallsyms: Add self-test facility
On 2022/10/6 8:24, kernel test robot wrote:
> Hi Zhen,
>
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on mcgrof/modules-next]
> [also build test ERROR on rostedt-trace/for-next v6.0]
> [cannot apply to linus/master next-20221005]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch#_base_tree_information]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Zhen-Lei/kallsyms-Optimizes-the-performance-of-lookup-symbols/20220924-202522
> base: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git modules-next
> config: i386-allyesconfig
> compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
> reproduce (this is a W=1 build):
> # https://github.com/intel-lab-lkp/linux/commit/43e45bdbf95415fc26a9d55e7db43a75bdb8e99a
> git remote add linux-review https://github.com/intel-lab-lkp/linux
> git fetch --no-tags linux-review Zhen-Lei/kallsyms-Optimizes-the-performance-of-lookup-symbols/20220924-202522
> git checkout 43e45bdbf95415fc26a9d55e7db43a75bdb8e99a
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
>
> ld: kernel/kallsyms_selftest.o: in function `test_perf_kallsyms_lookup_name':
>>> kallsyms_selftest.c:(.text.unlikely+0x5e3): undefined reference to `__udivdi3'
> ld: kernel/kallsyms_selftest.o: in function `test_kallsyms_compression_ratio':
> kallsyms_selftest.c:(.text.unlikely+0x771): undefined reference to `__udivdi3'
>
OK, thanks, I should use do_div() to calculate percentage.
--
Regards,
Zhen Lei
Powered by blists - more mailing lists