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

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 
On 2019-08-24 11:16 a.m., Christoph Biedl wrote:
> 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? Yes, see:
https://patchwork.kernel.org/patch/11096459/

Dave
- -- 

John David Anglin  dave.anglin@bell.net
-----BEGIN PGP SIGNATURE-----
 
iQIzBAEBCAAdFiEEnRzl+6e9+DTrEhyEXb/Nrl8ZTfEFAl1hWfQACgkQXb/Nrl8Z
TfHfbQ/+PHYTmyIIDKlMRqHbPK+CUAADrbe9Hsk8cowxIS3MQYsWC6GZQlFO3Qgl
i/Gy82KaCYgJEfELo8ua+LR9KkD7C5rNVawEtOLgJ/8ccEFswoL3sxFdQ/lChiKN
h8aMCbPiFnzprIq/ZKYpQqjwWvuTEKhOThnhGd7DOVC2p23RLARJwwia5IAPOwW/
dWEzTXiBLf09O2HVi5YWebQZ2EEqtMM7xrJNtoDUUWtSgQyF2Al9pN+9WXK+e+Oq
iSb2ZNXj3Nh3EWZqrwGHdbGGYh3/+Bctrl9x2SZF5DZkaUfpz5g7LtAHUqvtalsT
VJjXX8Q3ZLxFX89r+OSJ9OU5yHzZdUG+LFXQBgx569zjO56z0apjXaqOBIFYvO97
NrSSB5f60T6C0fBewMQ+MNWTeDuRibqRJxvpcB9b2bBCpx/o9Zjamq7ICT4Bn9y8
BmyCLv8CwLzfefzNi253wZVU7jBxgwQaCmMYftjL8VwTncFvkyd3bZywQyg8Kr5y
3QM2Qyv7EmoolGEAGjZoUjnCnrhutc/0qCP5RIG8xICDCh3Ka4C6/zsueb/AR3n0
nGNn84XeyjsKTuxtSs/y8RmbpsbeYQtbk9l4wpDDk0wBx0+yGHL7e7m7ObJjwZ7n
FtPiajKV4fSpEXPFtteptxi35HzHXo0l3lX4YPvbPV6GmxNHObE=
=XAEN
-----END PGP SIGNATURE-----


Reply to: