• Error building kernel 5.3-rc5: ./include/asm-generic/5level-fixup.h

    From John David Anglin@21:1/5 to Christoph Biedl on Sat Aug 24 17:40:02 2019
    -----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-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christoph Biedl@21:1/5 to All on Mon Aug 26 08:00:02 2019
    John David Anglin wrote...

    On 2019-08-24 11:16 a.m., Christoph Biedl wrote:

    Before I start debugging, is this already on radar?

    Yes, see: https://patchwork.kernel.org/patch/11096459/

    Oy, I didn't expect such an issue would slip into an -rc if there's
    already a fix around. As you'd expect however, -rc6 builds fine.

    Will check that other mailing list in the future as well, and sorry for
    the noise.

    Christoph

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEWXMI+726A12MfJXdxCxY61kUkv0FAl1jdTcACgkQxCxY61kU kv1cEw/+MyQJZ1Mfqhq1DZh5uIqxHhdRe3ItqEnxEEcxMl68zBjoNlCf2lPWR7ut 2Lo6brYQ5Og7P4dLn5+iJ6/HDSWLOmfMINI3LZSkEh8Y97mYmWSw+yHoOiNlbzzU Mc2xBzjb8C6XzAc94lUH/yJbx2FEdCKpR9Qz9SbUwxk5tHCX3RwaViDyuiZWbUHC M+NBJI3NbBArne6g+etwRcpGDlYZnR0HJp79nUIF091mS+tlDgih9zStKqh3N5KT Nk7raNGKRdowiAIcNcmgSWfB+YpZXKIcG1Xh4y6G+9eTW0AXbkyRKBUWLs1X0xOi sJzienLu9YSlB/fziEC7LWd5MwxORxECJOy1wv58gwPQOqImnJ/MyURuv6sQIRYD hT4HJYyUu+lVvjw1Qe+HnTzOeqOgSwHdXqVObxgJ9RMIWx/ygg++0Z5Gs6kn/4W3 VWugJP7QSavcTWS2OJezJ4hYyjXfJAFqPbn9Hc8Sbm4PaHoMctLTd4lVjuWO7AXK OoUNGK3k34j4lOIrtX3fsZcit0uz7HtXXwpV8JrD5HM8y1eLwWpTRtUEBQ36HXgo nQXqQOTWKVXt4ycQZ9yHlDhtYBIP40xnZv/y8p53b+UXgGoYflZdwHT3Q2oaO69X TBFJm8VhUzI0lcJFqDvB0+pT9yA6gNEr0OXvJuimOJs+UlxjU7A=
    =prbm
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)