linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [akpm-mm:mm-nonmm-unstable 3/16] Inconsistent kallsyms data
@ 2023-03-04 12:40 kernel test robot
  2023-03-06 21:35 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2023-03-04 12:40 UTC (permalink / raw)
  To: ye xingchen
  Cc: llvm, oe-kbuild-all, Andrew Morton, Linux Memory Management List

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable
head:   8e66dbeb1a7d8e0dc9d392a5f29c2570ee9379a2
commit: 21baac5614dc603df6cd2783a7427a0ce7689632 [3/16] Kconfig.debug: fix SCHED_DEBUG dependency
config: arm-randconfig-r003-20230302 (https://download.01.org/0day-ci/archive/20230304/202303042034.Cjc7JTd0-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?id=21baac5614dc603df6cd2783a7427a0ce7689632
        git remote add akpm-mm https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git
        git fetch --no-tags akpm-mm mm-nonmm-unstable
        git checkout 21baac5614dc603df6cd2783a7427a0ce7689632
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303042034.Cjc7JTd0-lkp@intel.com/

All errors (new ones prefixed by >>):

>> Inconsistent kallsyms data
   Try make KALLSYMS_EXTRA_PASS=1 as a workaround

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [akpm-mm:mm-nonmm-unstable 3/16] Inconsistent kallsyms data
  2023-03-04 12:40 [akpm-mm:mm-nonmm-unstable 3/16] Inconsistent kallsyms data kernel test robot
@ 2023-03-06 21:35 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2023-03-06 21:35 UTC (permalink / raw)
  To: kernel test robot
  Cc: ye xingchen, llvm, oe-kbuild-all, Linux Memory Management List

On Sat, 4 Mar 2023 20:40:53 +0800 kernel test robot <lkp@intel.com> wrote:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable
> head:   8e66dbeb1a7d8e0dc9d392a5f29c2570ee9379a2
> commit: 21baac5614dc603df6cd2783a7427a0ce7689632 [3/16] Kconfig.debug: fix SCHED_DEBUG dependency
> config: arm-randconfig-r003-20230302 (https://download.01.org/0day-ci/archive/20230304/202303042034.Cjc7JTd0-lkp@intel.com/config)
> compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7)
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # install arm cross compiling tool for clang build
>         # apt-get install binutils-arm-linux-gnueabi
>         # https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?id=21baac5614dc603df6cd2783a7427a0ce7689632
>         git remote add akpm-mm https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git
>         git fetch --no-tags akpm-mm mm-nonmm-unstable
>         git checkout 21baac5614dc603df6cd2783a7427a0ce7689632
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@intel.com>
> | Link: https://lore.kernel.org/oe-kbuild-all/202303042034.Cjc7JTd0-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
> >> Inconsistent kallsyms data
>    Try make KALLSYMS_EXTRA_PASS=1 as a workaround

I can't imagine why this would happen :( I guess we wait and see if
others hit it and are able to fix.


But at least I get to fix a 10 year old bug!


From: Andrew Morton <akpm@linux-foundation.org>
Subject: scripts/link-vmlinux.sh: fix error message presentation
Date: Mon Mar  6 01:32:53 PM PST 2023

This comes out as

   Try make KALLSYMS_EXTRA_PASS=1 as a workaround

but we want quotes:

   Try "make KALLSYMS_EXTRA_PASS=1" as a workaround

Link: https://lkml.kernel.org/r/202303042034.Cjc7JTd0-lkp@intel.com
Cc: kernel test robot <lkp@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---


--- a/scripts/link-vmlinux.sh~a
+++ a/scripts/link-vmlinux.sh
@@ -291,7 +291,7 @@ fi
 if is_enabled CONFIG_KALLSYMS; then
 	if ! cmp -s System.map ${kallsyms_vmlinux}.syms; then
 		echo >&2 Inconsistent kallsyms data
-		echo >&2 Try "make KALLSYMS_EXTRA_PASS=1" as a workaround
+		echo >&2 'Try "make KALLSYMS_EXTRA_PASS=1" as a workaround'
 		exit 1
 	fi
 fi
_



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-06 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-04 12:40 [akpm-mm:mm-nonmm-unstable 3/16] Inconsistent kallsyms data kernel test robot
2023-03-06 21:35 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).