Re: [kbuild-all] Re: ERROR: start_text address is c000000000000200, should be c000000000000100

From: Chen, Rong A
Date: Mon Sep 06 2021 - 06:56:27 EST




On 9/6/2021 2:13 AM, Randy Dunlap wrote:
On 9/5/21 12:17 AM, kernel test robot wrote:
Hi Randy,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   49624efa65ac9889f4e7c7b2452b2e6ce42ba37d
commit: 47c258d71ebfc832a760a1dc6540cf3c33968023 powerpc/head_check: use stdout for error messages
date:   3 weeks ago
config: powerpc64-randconfig-s031-20210904 (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 11.2.0
reproduce:
         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
         chmod +x ~/bin/make.cross
         # apt-get install sparse
         # sparse version: v0.6.4-rc1-dirty
         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=47c258d71ebfc832a760a1dc6540cf3c33968023
         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
         git fetch --no-tags linus master
         git checkout 47c258d71ebfc832a760a1dc6540cf3c33968023
         # save the attached .config to linux build tree
         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=powerpc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

ERROR: start_text address is c000000000000200, should be c000000000000100
ERROR: try to enable LD_HEAD_STUB_CATCH config option
ERROR: see comments in arch/powerpc/tools/head_check.sh


Following those instructions fixes this build error for me.
Can ktr/lkp do that?
Otherwise just ignore this ERROR.

Set CONFIG_EXPERT=y
and CONFIG_LD_HEAD_STUB_CATCH=y.


Hi Randy,

Thanks for the explanation, We'll enable these configs.

Best Regards,
Rong Chen

However, after doing that, I get these messages:

INFO: Uncompressed kernel (size 0x30ef664) overlaps the address of the wrapper(0x400000)
INFO: Fixing the link_address of wrapper to (0x3100000)