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-c004-20210517 (attached as .config)
compiler: arm-linux-gnueabi-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/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=gcc-9.3.0 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 >>):
arm-linux-gnueabi-ld: arch/arm/mm/init.o: in function `arm_memblock_init':
> init.c:(.init.text+0x2d0): undefined reference to
`kernel_sec_start'
--
In file included from arch/arm/include/asm/memory.h:447,
from arch/arm/include/asm/page.h:160,
from arch/arm/include/asm/thread_info.h:14,
from include/linux/thread_info.h:59,
from include/asm-generic/preempt.h:5,
from ./arch/arm/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:51,
from mm/gup.c:5:
mm/gup.c: In function '__get_user_pages_locked':
> mm/gup.c:1552:28: warning: passing argument 1 of
'virt_to_pfn' makes pointer from integer without a cast [-Wint-conversion]
1552 | pages[i] = virt_to_page(start);
| ^~~~~
| |
| long unsigned int
include/asm-generic/memory_model.h:33:41: note: in definition of macro
'__pfn_to_page'
33 | #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET))
| ^~~
mm/gup.c:1552:15: note: in expansion of macro 'virt_to_page'
1552 | pages[i] = virt_to_page(start);
| ^~~~~~~~~~~~
In file included from arch/arm/include/asm/page.h:160,
from arch/arm/include/asm/thread_info.h:14,
from include/linux/thread_info.h:59,
from include/asm-generic/preempt.h:5,
from ./arch/arm/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:51,
from mm/gup.c:5:
arch/arm/include/asm/memory.h:323:53: note: expected 'const void *' but
argument is of type 'long unsigned int'
323 | static inline unsigned long virt_to_pfn(const void *kaddr)
| ~~~~~~~~~~~~^~~~~
--
In file included from arch/arm/include/asm/memory.h:447,
from arch/arm/include/asm/page.h:160,
from arch/arm/include/asm/thread_info.h:14,
from include/linux/thread_info.h:59,
from include/asm-generic/preempt.h:5,
from ./arch/arm/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:51,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/mm.h:10,
from mm/nommu.c:20:
mm/nommu.c: In function 'free_page_series':
> mm/nommu.c:502:36: warning: passing argument 1 of
'virt_to_pfn' makes pointer from integer without a cast [-Wint-conversion]
502 | struct page *page = virt_to_page(from);
| ^~~~
| |
| long unsigned int
include/asm-generic/memory_model.h:33:41: note: in definition of macro
'__pfn_to_page'
33 | #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET))
| ^~~
mm/nommu.c:502:23: note: in expansion of macro 'virt_to_page'
502 | struct page *page = virt_to_page(from);
| ^~~~~~~~~~~~
In file included from arch/arm/include/asm/page.h:160,
from arch/arm/include/asm/thread_info.h:14,
from include/linux/thread_info.h:59,
from include/asm-generic/preempt.h:5,
from ./arch/arm/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:51,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/mm.h:10,
from mm/nommu.c:20:
arch/arm/include/asm/memory.h:323:53: note: expected 'const void *' but
argument is of type 'long unsigned int'
323 | static inline unsigned long virt_to_pfn(const void *kaddr)
| ~~~~~~~~~~~~^~~~~
mm/nommu.c: At top level:
mm/nommu.c:1648:15: warning: no previous prototype for 'arch_get_unmapped_area'
[-Wmissing-prototypes]
1648 | unsigned long arch_get_unmapped_area(struct file *file, unsigned long addr,
| ^~~~~~~~~~~~~~~~~~~~~~
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org