[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210220256.TcOD2cXG-lkp@intel.com>
Date: Sat, 22 Oct 2022 02:30:07 +0800
From: kernel test robot <lkp@...el.com>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [arm-integrator:virt-to-pfn-v6.0-rc1 21/24] ld.lld: error:
arch/powerpc/kernel/vdso/vdso32.lds:244: unknown directive: static
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git virt-to-pfn-v6.0-rc1
head: 4d7acf8f4433bc283b286b226222d04e3e0de2e1
commit: ecdfcbf23162564a9955c99e7d5e3f4f0ec4c1b9 [21/24] powerpc: Make virt_to_pfn() a static inline
config: powerpc-microwatt_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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git/commit/?id=ecdfcbf23162564a9955c99e7d5e3f4f0ec4c1b9
git remote add arm-integrator https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
git fetch --no-tags arm-integrator virt-to-pfn-v6.0-rc1
git checkout ecdfcbf23162564a9955c99e7d5e3f4f0ec4c1b9
# 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=powerpc prepare
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: error: arch/powerpc/kernel/vdso/vdso32.lds:244: unknown directive: static
>>> static inline unsigned long virt_to_pfn(const volatile void *kaddr)
>>> ^
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [arch/powerpc/kernel/vdso/Makefile:66: arch/powerpc/kernel/vdso/vdso32.so.dbg] Error 1
make[2]: Target 'include/generated/vdso32-offsets.h' not remade because of errors.
make[1]: *** [arch/powerpc/Makefile:392: vdso_prepare] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:222: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (52489 bytes)
Powered by blists - more mailing lists