tree:
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
kernel-in-vmalloc-v5.13-rc1
head: 7e5485b7d61fc97a247dc26f4888293aab05136b
commit: 63d42bff112c6522ab18d6b2484fcc29161cc6ef [7/8] ARM: Compile the kernel into
VMALLOC
config: arm-randconfig-r012-20210517 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
0a34ff8bcb1df16fe7d643ccbe4567b2162c5024)
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/linusw/linux-integrator.g...
git remote add arm-integrator
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
git fetch --no-tags arm-integrator kernel-in-vmalloc-v5.13-rc1
git checkout 63d42bff112c6522ab18d6b2484fcc29161cc6ef
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
> ld.lld: error: undefined symbol: kernel_sec_start
>> referenced by init.c
>> mm/init.o:(arm_memblock_init) in archive arch/arm/built-in.a
>> referenced by init.c
>> mm/init.o:(arm_memblock_init) in archive arch/arm/built-in.a
--
> mm/gup.c:1552:28: warning: incompatible integer to pointer
conversion passing 'unsigned long' to parameter of type 'const void *'
[-Wint-conversion]
pages[i] = virt_to_page(start);
^~~~~
arch/arm/include/asm/memory.h:441:53: note: expanded from macro 'virt_to_page'
#define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr))
^~~~~
include/asm-generic/memory_model.h:33:41: note: expanded from macro
'__pfn_to_page'
#define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET))
^~~
arch/arm/include/asm/memory.h:323:53: note: passing argument to parameter
'kaddr' here
static inline unsigned long virt_to_pfn(const void *kaddr)
^
1 warning generated.
--
> mm/nommu.c:502:36: warning: incompatible integer to pointer
conversion passing 'unsigned long' to parameter of type 'const void *'
[-Wint-conversion]
struct page *page = virt_to_page(from);
^~~~
arch/arm/include/asm/memory.h:441:53: note: expanded from macro 'virt_to_page'
#define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr))
^~~~~
include/asm-generic/memory_model.h:33:41: note: expanded from macro
'__pfn_to_page'
#define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET))
^~~
arch/arm/include/asm/memory.h:323:53: note: passing argument to parameter
'kaddr' here
static inline unsigned long virt_to_pfn(const void *kaddr)
^
mm/nommu.c:1648:15: warning: no previous prototype for function
'arch_get_unmapped_area' [-Wmissing-prototypes]
unsigned long arch_get_unmapped_area(struct file *file, unsigned long addr,
^
mm/nommu.c:1648:1: note: declare 'static' if the function is not intended to be
used outside of this translation unit
unsigned long arch_get_unmapped_area(struct file *file, unsigned long addr,
^
static
2 warnings generated.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org