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'?

Christoph Biedl <[email protected]>
Newsgroups gmane.linux.debian.ports.hppa
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEWXMI+726A12MfJXdxCxY61kUkv0FAl1hVLoACgkQxCxY61kU
kv2lYw/8COKzstSsedqHoA1FlGxvW7hW+s7tOAmp484TbonxpbLNjXij+yNGy12g
4Sew9kp3GdnD1pf4JIkqGW815Yo4WYsNJ/n58oN1qUTRQG3ZX/CW6hiRCJ129APe
P9QuvFbLYrR9idE7fSQWepgeRyYIJdyO7AkezEqxbW0TupOMWgEb8w6r9+FVu+5i
CcrHajtA2xux1xL6lmdjwRQIDfl2kRhQjSOwe1givdrFiNu8Z3xmwbk4rTbFYSzV
pazhf8usEI1DRcKbWhzn85Aa4ZL8TVWwwg1M/GULqoqRvy9NYtHg9IeVmv3EYp1R
RJGR8FI7qipWJX4+phTN5Y3uehByphxq5O74IRe3Zx7x6USggdFIgjXHeKGfULYv
wL2unKX8ncrBLHlL33AIq2/vT7gNRU8IllV4a/zuUrdq3PVQti1pDa7hpPM8zESZ
KQsPLoS66c5rNS/gPz/mBhILRg4TF3JeacCtlNl2eNme5zUZ9VYfj+HQHcsz7t5M
IQQGIt25CffTj+y4ZjYqhZI0HjDW+sqdKZnrK5yHKnUZysp1POeZtbc/avgIMfWd
Y5l8t4cViNeTMwyew908aybBcHPS7hCM1PzD/rc4MNg0uacZLoEoyOhnhT6Mkfpi
kU2zIuYzSZEtt/UCri/pk+SaNzrPowFOvSLgGfsperoZT0AKg0U=
=KJml
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.