[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Error building kernel 5.3-rc5: ./include/asm-generic/5level-fixup.h:14:18: error: unknown type name 'pgd_t'; did you mean 'pid_t'?



Hello,

test-building the latest rc kernel 5.3-rc5 (-rc4 was fine) resulted in
errors:

==============================================================
  CC      lib/iomap_copy.o
In file included from ./include/asm-generic/4level-fixup.h:38,
                 from ./arch/parisc/include/asm/pgtable.h:5,
                 from ./arch/parisc/include/asm/io.h:6,
                 from ./include/linux/io.h:13,
                 from lib/iomap_copy.c:7:
./include/asm-generic/5level-fixup.h:14:18: error: unknown type name 'pgd_t'; did you mean 'pid_t'?
 #define p4d_t    pgd_t
                  ^~~~~
./include/asm-generic/5level-fixup.h:24:28: note: in expansion of macro 'p4d_t'
 static inline int p4d_none(p4d_t p4d)
                            ^~~~~
./include/asm-generic/5level-fixup.h:14:18: error: unknown type name 'pgd_t'; did you mean 'pid_t'?
 #define p4d_t    pgd_t
                  ^~~~~
./include/asm-generic/5level-fixup.h:29:27: note: in expansion of macro 'p4d_t'
 static inline int p4d_bad(p4d_t p4d)
                           ^~~~~
./include/asm-generic/5level-fixup.h:14:18: error: unknown type name 'pgd_t'; did you mean 'pid_t'?
 #define p4d_t    pgd_t
                  ^~~~~
./include/asm-generic/5level-fixup.h:34:31: note: in expansion of macro 'p4d_t'
 static inline int p4d_present(p4d_t p4d)
                               ^~~~~
In file included from ./arch/parisc/include/asm/pgtable.h:583,
                 from ./arch/parisc/include/asm/io.h:6,
                 from ./include/linux/io.h:13,
                 from lib/iomap_copy.c:7:
./include/asm-generic/pgtable.h: In function 'p4d_none_or_clear_bad':
./include/asm-generic/pgtable.h:578:6: error: implicit declaration of function 'p4d_none'; did you mean 'pgd_none'? [-Werror=implicit-function-declaration]
  if (p4d_none(*p4d))
      ^~~~~~~~
      pgd_none
In file included from ./include/linux/init.h:5,
                 from ./include/linux/io.h:10,
                 from lib/iomap_copy.c:7:
./include/asm-generic/pgtable.h:580:15: error: implicit declaration of function 'p4d_bad'; did you mean 'pgd_bad'? [-Werror=implicit-function-declaration]
  if (unlikely(p4d_bad(*p4d))) {
               ^~~~~~~
./include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
 # define unlikely(x) __builtin_expect(!!(x), 0)
                                          ^
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:281: lib/iomap_copy.o] Error 1
make[4]: *** Waiting for unfinished jobs....
  CC      net/ipv6/udplite.o
make[3]: *** [Makefile:1083: lib] Error 2
(...)
==============================================================

Before I start debugging, is this already on radar?

    Christoph

Attachment: signature.asc
Description: PGP signature


Reply to: