Re: [akpm-mm:mm-nonmm-unstable 3/16] Inconsistent kallsyms data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 4 Mar 2023 20:40:53 +0800 kernel test robot <lkp@xxxxxxxxx> 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@xxxxxxxxx/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@xxxxxxxxx>
> | Link: https://lore.kernel.org/oe-kbuild-all/202303042034.Cjc7JTd0-lkp@xxxxxxxxx/
> 
> 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@xxxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxx
Cc: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---


--- 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
_





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux