* [arnd-playground:randconfig-20200504 201/355] arch/powerpc/include/asm/compat.h:44:2: error: unknown type name 'old_time32_t'
@ 2020-05-05 9:43 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-05 9:43 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 8472 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git randconfig-20200504
head: 5867adb94a59773ef2e3262b70538803fe896906
commit: a568550c861bca7a658220e2fff7c80678bdd036 [201/355] temp: hide time32_t completely
config: powerpc-allnoconfig (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.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 a568550c861bca7a658220e2fff7c80678bdd036
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/compat.h:22,
from arch/powerpc/kernel/asm-offsets.c:14:
>> arch/powerpc/include/asm/compat.h:44:2: error: unknown type name 'old_time32_t'
44 | old_time32_t st_atime;
| ^~~~~~~~~~~~
arch/powerpc/include/asm/compat.h:46:2: error: unknown type name 'old_time32_t'
46 | old_time32_t st_mtime;
| ^~~~~~~~~~~~
arch/powerpc/include/asm/compat.h:48:2: error: unknown type name 'old_time32_t'
48 | old_time32_t st_ctime;
| ^~~~~~~~~~~~
In file included from arch/powerpc/kernel/asm-offsets.c:30:
arch/powerpc/kernel/asm-offsets.c: In function 'main':
>> include/linux/compiler_types.h:129:35: error: invalid use of undefined type 'struct old_timeval32'
129 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
| ^~~~~~~~~~~~~~~~~~
include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
| ^~~
include/linux/stddef.h:17:32: note: in expansion of macro '__compiler_offsetof'
17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
| ^~~~~~~~~~~~~~~~~~~
include/linux/kbuild.h:11:14: note: in expansion of macro 'offsetof'
11 | DEFINE(sym, offsetof(struct str, mem))
| ^~~~~~~~
arch/powerpc/kernel/asm-offsets.c:422:2: note: in expansion of macro 'OFFSET'
422 | OFFSET(TVAL32_TV_SEC, old_timeval32, tv_sec);
| ^~~~~~
>> include/linux/compiler_types.h:129:35: error: invalid use of undefined type 'struct old_timeval32'
129 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
| ^~~~~~~~~~~~~~~~~~
include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
| ^~~
include/linux/stddef.h:17:32: note: in expansion of macro '__compiler_offsetof'
17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
| ^~~~~~~~~~~~~~~~~~~
include/linux/kbuild.h:11:14: note: in expansion of macro 'offsetof'
11 | DEFINE(sym, offsetof(struct str, mem))
| ^~~~~~~~
arch/powerpc/kernel/asm-offsets.c:423:2: note: in expansion of macro 'OFFSET'
423 | OFFSET(TVAL32_TV_USEC, old_timeval32, tv_usec);
| ^~~~~~
>> include/linux/compiler_types.h:129:35: error: invalid use of undefined type 'struct old_timespec32'
129 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
| ^~~~~~~~~~~~~~~~~~
include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
| ^~~
include/linux/stddef.h:17:32: note: in expansion of macro '__compiler_offsetof'
17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
| ^~~~~~~~~~~~~~~~~~~
include/linux/kbuild.h:11:14: note: in expansion of macro 'offsetof'
11 | DEFINE(sym, offsetof(struct str, mem))
| ^~~~~~~~
arch/powerpc/kernel/asm-offsets.c:424:2: note: in expansion of macro 'OFFSET'
424 | OFFSET(TSPC32_TV_SEC, old_timespec32, tv_sec);
| ^~~~~~
>> include/linux/compiler_types.h:129:35: error: invalid use of undefined type 'struct old_timespec32'
129 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
| ^~~~~~~~~~~~~~~~~~
include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
| ^~~
include/linux/stddef.h:17:32: note: in expansion of macro '__compiler_offsetof'
17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
| ^~~~~~~~~~~~~~~~~~~
include/linux/kbuild.h:11:14: note: in expansion of macro 'offsetof'
11 | DEFINE(sym, offsetof(struct str, mem))
| ^~~~~~~~
arch/powerpc/kernel/asm-offsets.c:425:2: note: in expansion of macro 'OFFSET'
425 | OFFSET(TSPC32_TV_NSEC, old_timespec32, tv_nsec);
| ^~~~~~
make[2]: *** [scripts/Makefile.build:106: arch/powerpc/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1121: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:180: sub-make] Error 2
vim +/old_time32_t +44 arch/powerpc/include/asm/compat.h
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 32
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 33 struct compat_stat {
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 34 compat_dev_t st_dev;
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 35 compat_ino_t st_ino;
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 36 compat_mode_t st_mode;
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 37 compat_nlink_t st_nlink;
202e5979af4d91 include/asm-ppc64/compat.h Stephen Rothwell 2005-09-06 38 __compat_uid32_t st_uid;
202e5979af4d91 include/asm-ppc64/compat.h Stephen Rothwell 2005-09-06 39 __compat_gid32_t st_gid;
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 40 compat_dev_t st_rdev;
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 41 compat_off_t st_size;
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 42 compat_off_t st_blksize;
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 43 compat_off_t st_blocks;
9afc5eee65ca7d arch/powerpc/include/asm/compat.h Arnd Bergmann 2018-07-13 @44 old_time32_t st_atime;
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 45 u32 st_atime_nsec;
9afc5eee65ca7d arch/powerpc/include/asm/compat.h Arnd Bergmann 2018-07-13 46 old_time32_t st_mtime;
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 47 u32 st_mtime_nsec;
9afc5eee65ca7d arch/powerpc/include/asm/compat.h Arnd Bergmann 2018-07-13 48 old_time32_t st_ctime;
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 49 u32 st_ctime_nsec;
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 50 u32 __unused4[2];
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 51 };
^1da177e4c3f41 include/asm-ppc64/compat.h Linus Torvalds 2005-04-16 52
:::::: The code at line 44 was first introduced by commit
:::::: 9afc5eee65ca7d717a99d6fe8f4adfe32a40940a y2038: globally rename compat_time to old_time32
:::::: TO: Arnd Bergmann <arnd@arndb.de>
:::::: CC: Arnd Bergmann <arnd@arndb.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 6471 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-05 9:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-05 9:43 [arnd-playground:randconfig-20200504 201/355] arch/powerpc/include/asm/compat.h:44:2: error: unknown type name 'old_time32_t' kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.