tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 9f24705effef8c3b9eca00d70594ef7e0364a6da commit: 925366294e2d243d908b4f2fea16eb400cb757d1 [3321/3829] kernel.h: split out panic and oops helpers config: ia64-randconfig-r002-20210519 (attached as .config) compiler: ia64-linux-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/next/linux-next.git/commit/?id=925366294e2d243d908b4f2fea16eb400cb757d1 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 925366294e2d243d908b4f2fea16eb400cb757d1 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): In file included from arch/ia64/include/asm/irqflags.h:14, from include/linux/irqflags.h:16, from kernel/locking/irqflag-debug.c:5: arch/ia64/include/asm/pal.h: In function 'ia64_pal_tr_read': >> arch/ia64/include/asm/pal.h:1703:64: error: implicit declaration of function 'ia64_tpa'; did you mean 'ia64_pal'? [-Werror=implicit-function-declaration] 1703 | PAL_CALL_PHYS_STK(iprv, PAL_VM_TR_READ, reg_num, tr_type,(u64)ia64_tpa(tr_buffer)); | ^~~~~~~~ arch/ia64/include/asm/pal.h:823:48: note: in definition of macro 'PAL_CALL_PHYS_STK' 823 | iprv = ia64_pal_call_phys_stacked(a0, a1, a2, a3); \ | ^~ In file included from include/linux/irqflags.h:16, from kernel/locking/irqflag-debug.c:5: arch/ia64/include/asm/irqflags.h: In function 'arch_local_save_flags': >> arch/ia64/include/asm/irqflags.h:38:2: error: implicit declaration of function 'ia64_stop' [-Werror=implicit-function-declaration] 38 | ia64_stop(); | ^~~~~~~~~ >> arch/ia64/include/asm/irqflags.h:39:9: error: implicit declaration of function 'ia64_getreg'; did you mean 'ia64_get_ptce'? [-Werror=implicit-function-declaration] 39 | return ia64_getreg(_IA64_REG_PSR); | ^~~~~~~~~~~ | ia64_get_ptce >> arch/ia64/include/asm/irqflags.h:39:21: error: '_IA64_REG_PSR' undeclared (first use in this function) 39 | return ia64_getreg(_IA64_REG_PSR); | ^~~~~~~~~~~~~ arch/ia64/include/asm/irqflags.h:39:21: note: each undeclared identifier is reported only once for each function it appears in arch/ia64/include/asm/irqflags.h: In function 'arch_local_irq_save': >> arch/ia64/include/asm/irqflags.h:47:2: error: implicit declaration of function 'ia64_rsm' [-Werror=implicit-function-declaration] 47 | ia64_rsm(IA64_PSR_I); | ^~~~~~~~ arch/ia64/include/asm/irqflags.h: In function 'arch_local_irq_enable': >> arch/ia64/include/asm/irqflags.h:65:2: error: implicit declaration of function 'ia64_ssm' [-Werror=implicit-function-declaration] 65 | ia64_ssm(IA64_PSR_I); | ^~~~~~~~ >> arch/ia64/include/asm/irqflags.h:66:2: error: implicit declaration of function 'ia64_srlz_d' [-Werror=implicit-function-declaration] 66 | ia64_srlz_d(); | ^~~~~~~~~~~ arch/ia64/include/asm/irqflags.h: In function 'arch_local_irq_restore': >> arch/ia64/include/asm/irqflags.h:74:2: error: implicit declaration of function 'ia64_intrin_local_irq_restore'; did you mean 'arch_local_irq_restore'? [-Werror=implicit-function-declaration] 74 | ia64_intrin_local_irq_restore(flags & IA64_PSR_I); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | arch_local_irq_restore cc1: some warnings being treated as errors vim +1703 arch/ia64/include/asm/pal.h ^1da177e4c3f415 include/asm-ia64/pal.h Linus Torvalds 2005-04-16 1697 ^1da177e4c3f415 include/asm-ia64/pal.h Linus Torvalds 2005-04-16 1698 /* Read a translation register */ ^1da177e4c3f415 include/asm-ia64/pal.h Linus Torvalds 2005-04-16 1699 static inline s64 ^1da177e4c3f415 include/asm-ia64/pal.h Linus Torvalds 2005-04-16 1700 ia64_pal_tr_read (u64 reg_num, u64 tr_type, u64 *tr_buffer, pal_tr_valid_u_t *tr_valid) ^1da177e4c3f415 include/asm-ia64/pal.h Linus Torvalds 2005-04-16 1701 { ^1da177e4c3f415 include/asm-ia64/pal.h Linus Torvalds 2005-04-16 1702 struct ia64_pal_retval iprv; ^1da177e4c3f415 include/asm-ia64/pal.h Linus Torvalds 2005-04-16 @1703 PAL_CALL_PHYS_STK(iprv, PAL_VM_TR_READ, reg_num, tr_type,(u64)ia64_tpa(tr_buffer)); ^1da177e4c3f415 include/asm-ia64/pal.h Linus Torvalds 2005-04-16 1704 if (tr_valid) ^1da177e4c3f415 include/asm-ia64/pal.h Linus Torvalds 2005-04-16 1705 tr_valid->piv_val = iprv.v0; ^1da177e4c3f415 include/asm-ia64/pal.h Linus Torvalds 2005-04-16 1706 return iprv.status; ^1da177e4c3f415 include/asm-ia64/pal.h Linus Torvalds 2005-04-16 1707 } ^1da177e4c3f415 include/asm-ia64/pal.h Linus Torvalds 2005-04-16 1708 :::::: The code at line 1703 was first introduced by commit :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip