tree:
https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git pg_table/v0.0
head: fd150c5a9ef6e3e43818825c69a46de2b427dedf
commit: e5db6ff88e6ef1ff9ab6fefb7ec882d7e329f783 [5/18] mm: move pgd into 'struct
pg_table'
config: powerpc-allnoconfig (attached as .config)
compiler: powerpc-linux-gcc (GCC) 7.5.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout e5db6ff88e6ef1ff9ab6fefb7ec882d7e329f783
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
In file included from arch/powerpc/kernel/asm-offsets.c:29:0:
arch/powerpc/kernel/asm-offsets.c: In function 'main':
> arch/powerpc/kernel/asm-offsets.c:361:28: error: 'struct
mm_struct' has no member named 'pgd'; did you mean 'pgt'?
OFFSET(MM_PGD, mm_struct, pgd);
^
include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
asm volatile("\n.ascii \"->" #sym " %0 " #val
"\"" : : "i" (val))
^~~
> include/linux/stddef.h:17:32: note: in expansion of macro
'__compiler_offsetof'
#define offsetof(TYPE, MEMBER)
__compiler_offsetof(TYPE, MEMBER)
^~~~~~~~~~~~~~~~~~~
> include/linux/kbuild.h:11:14: note: in expansion of macro
'offsetof'
DEFINE(sym, offsetof(struct str, mem))
^~~~~~~~
> arch/powerpc/kernel/asm-offsets.c:361:2: note: in expansion of
macro 'OFFSET'
OFFSET(MM_PGD, mm_struct, pgd);
^~~~~~
make[2]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
9 real 3 user 5 sys 95.89% cpu make prepare
vim +361 arch/powerpc/kernel/asm-offsets.c
d1dead5c5f016e Stephen Rothwell 2005-09-29 359
d1dead5c5f016e Stephen Rothwell 2005-09-29 360 #ifndef CONFIG_PPC64
45465615511060 Rashmica Gupta 2017-02-15 @361 OFFSET(MM_PGD, mm_struct, pgd);
d1dead5c5f016e Stephen Rothwell 2005-09-29 362 #endif /* ! CONFIG_PPC64 */
14cf11af6cf608 Paul Mackerras 2005-09-26 363
14cf11af6cf608 Paul Mackerras 2005-09-26 364 /* About the CPU features table */
45465615511060 Rashmica Gupta 2017-02-15 365 OFFSET(CPU_SPEC_FEATURES, cpu_spec,
cpu_features);
45465615511060 Rashmica Gupta 2017-02-15 366 OFFSET(CPU_SPEC_SETUP, cpu_spec,
cpu_setup);
45465615511060 Rashmica Gupta 2017-02-15 367 OFFSET(CPU_SPEC_RESTORE, cpu_spec,
cpu_restore);
14cf11af6cf608 Paul Mackerras 2005-09-26 368
45465615511060 Rashmica Gupta 2017-02-15 369 OFFSET(pbe_address, pbe, address);
45465615511060 Rashmica Gupta 2017-02-15 370 OFFSET(pbe_orig_address, pbe,
orig_address);
45465615511060 Rashmica Gupta 2017-02-15 371 OFFSET(pbe_next, pbe, next);
14cf11af6cf608 Paul Mackerras 2005-09-26 372
:::::: The code at line 361 was first introduced by commit
:::::: 454656155110603e88b83eec847d5293a30bb96e powerpc/asm: Use OFFSET macro in
asm-offsets.c
:::::: TO: Rashmica Gupta <rashmicy(a)gmail.com>
:::::: CC: Michael Ellerman <mpe(a)ellerman.id.au>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation