[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202005140845.lthaPgxR%lkp@intel.com>
Date: Thu, 14 May 2020 08:13:48 +0800
From: kbuild test robot <lkp@...el.com>
To: Nathan Chancellor <natechancellor@...il.com>
Cc: kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
linux-kernel@...r.kernel.org, Michael Ellerman <mpe@...erman.id.au>
Subject: ld.lld: error: undefined symbol: kb_cs
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 24085f70a6e1b0cb647ec92623284641d8270637
commit: 5990cdee689c6885b27c6d969a3d58b09002b0bc lib/mpi: Fix building for powerpc with clang
date: 3 weeks ago
config: powerpc-randconfig-r034-20200514 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 310d32cb80a611e6384a921e85607fea05841f26)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
git checkout 5990cdee689c6885b27c6d969a3d58b09002b0bc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: kb_cs
>>> referenced by i8042-ppcio.h:28 (drivers/input/serio/i8042-ppcio.h:28)
>>> input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a
>>> referenced by i8042-ppcio.h:28 (drivers/input/serio/i8042-ppcio.h:28)
>>> input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a
>>> referenced by i8042-ppcio.h:28 (drivers/input/serio/i8042-ppcio.h:28)
>>> input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a
>>> referenced 45 more times
--
>> ld.lld: error: undefined symbol: kb_data
>>> referenced by i8042.c:309 (drivers/input/serio/i8042.c:309)
>>> input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a
>>> referenced by i8042-ppcio.h:33 (drivers/input/serio/i8042-ppcio.h:33)
>>> input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a
>>> referenced by i8042.c:319 (drivers/input/serio/i8042.c:319)
>>> input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a
>>> referenced 15 more times
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (28365 bytes)
Powered by blists - more mailing lists