Re: {standard input}:577: Error: unsupported relocation against base

From: Christophe Leroy
Date: Mon Jan 18 2021 - 13:12:38 EST




Le 05/01/2021 à 11:58, kernel test robot a écrit :
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62
commit: 8b8319b181fd9d6821703fef1228b4dcde613a16 powerpc/44x: Don't support 440 when CONFIG_PPC_47x is set

I see no link with that commit. Looks like the problem has been existing for some time.
It exists on the commit before that one, it exists on v5.9 and it exists on v5.10 with that commit reverted.

date: 5 weeks ago
config: powerpc-randconfig-p002-20210105 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8b8319b181fd9d6821703fef1228b4dcde613a16
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 8b8319b181fd9d6821703fef1228b4dcde613a16
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc

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

All errors (new ones prefixed by >>):

{standard input}: Assembler messages:
{standard input}:577: Error: unsupported relocation against base
{standard input}:580: Error: unsupported relocation against base
{standard input}:583: Error: unsupported relocation against base
{standard input}:586: Error: unsupported relocation against base
{standard input}:589: Error: unsupported relocation against base
{standard input}:592: Error: unsupported relocation against base
{standard input}:595: Error: unsupported relocation against base
{standard input}:598: Error: unsupported relocation against base
{standard input}:601: Error: unsupported relocation against base
{standard input}:604: Error: unsupported relocation against base
{standard input}:607: Error: unsupported relocation against base
{standard input}:610: Error: unsupported relocation against base
{standard input}:613: Error: unsupported relocation against base
{standard input}:616: Error: unsupported relocation against base
{standard input}:619: Error: unsupported relocation against base
{standard input}:622: Error: unsupported relocation against base
{standard input}:625: Error: unsupported relocation against base
{standard input}:628: Error: unsupported relocation against base
{standard input}:631: Error: unsupported relocation against base
{standard input}:634: Error: unsupported relocation against base

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx