[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210010750.uBmt35kD-lkp@intel.com>
Date: Sat, 1 Oct 2022 07:54:56 +0800
From: kernel test robot <lkp@...el.com>
To: Kees Cook <keescook@...omium.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [kees:devel/hardening 31/69] ld.lld: error: undefined symbol:
kmalloc_size_roundup
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git devel/hardening
head: 4b677c85590798c3141758109cc5be7ba068a3ff
commit: 4be48fb6b4340b27d8989b6212d28a4d780b867f [31/69] skbuff: Proactively round up to kmalloc bucket size
config: arm-omap1_defconfig
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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/kees/linux.git/commit/?id=4be48fb6b4340b27d8989b6212d28a4d780b867f
git remote add kees https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git
git fetch --no-tags kees devel/hardening
git checkout 4be48fb6b4340b27d8989b6212d28a4d780b867f
# 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 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
ld.lld: warning: lld uses blx instruction, no object with architecture supporting feature detected
>> ld.lld: error: undefined symbol: kmalloc_size_roundup
>>> referenced by skbuff.c:354 (net/core/skbuff.c:354)
>>> core/skbuff.o:(__alloc_skb) in archive net/built-in.a
>>> referenced by skbuff.c:354 (net/core/skbuff.c:354)
>>> core/skbuff.o:(pskb_expand_head) in archive net/built-in.a
>>> referenced by skbuff.c:354 (net/core/skbuff.c:354)
>>> core/skbuff.o:(pskb_carve) in archive net/built-in.a
>>> referenced 1 more times
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (112922 bytes)
Powered by blists - more mailing lists