All of lore.kernel.org
 help / color / mirror / Atom feed
* [next] mm/gup.c:96:10: error: implicit declaration of function 'is_zero_pfn' [-Werror,-Wimplicit-function-declaration]
@ 2021-02-02 14:31 ` Naresh Kamboju
  0 siblings, 0 replies; 5+ messages in thread
From: Naresh Kamboju @ 2021-02-02 14:31 UTC (permalink / raw)
  To: Linux-Next Mailing List, linux-mm, open list, lkft-triage
  Cc: pasha.tatashin, Andrew Morton, Vlastimil Babka, Michal Hocko,
	david, osalvador, Dan Williams, Sasha Levin, Mike Kravetz,
	Steven Rostedt, Ingo Molnar, Jason Gunthorpe, Peter Zijlstra,
	Mel Gorman, Matthew Wilcox, David Rientjes, John Hubbard,
	Ira Weiny, James Morris, Geert Uytterhoeven

Linux next tag 20210202 arm, riscv and sh builds with allnoconfig and
tinyconfig failed due to build errors.


make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- 'HOSTCC=sccache clang' 'CC=sccache
clang' zImage
 mm/gup.c:96:10: error: implicit declaration of function 'is_zero_pfn'
[-Werror,-Wimplicit-function-declaration]
                             !is_pinnable_page(page)))
                              ^
 include/linux/mm.h:1133:3: note: expanded from macro 'is_pinnable_page'
                is_zero_pfn(page_to_pfn(page)))
                ^
 mm/gup.c:96:10: note: did you mean 'is_zero_ino'?
 include/linux/mm.h:1133:3: note: expanded from macro 'is_pinnable_page'
                is_zero_pfn(page_to_pfn(page)))
                ^
 include/linux/fs.h:3045:20: note: 'is_zero_ino' declared here
static inline bool is_zero_ino(ino_t ino)
                   ^
1 error generated.

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>

steps to reproduce:
--------------------------
# TuxMake is a command line tool and Python library that provides
# portable and repeatable Linux kernel builds across a variety of
# architectures, toolchains, kernel configurations, and make targets.
#
# TuxMake supports the concept of runtimes.
# See https://docs.tuxmake.org/runtimes/, for that to work it requires
# that you install podman or docker on your system.
#
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.

tuxmake --runtime podman --target-arch arm --toolchain clang-11
--kconfig allnoconfig

build details:
https://builds.tuxbuild.com/1nv9wkY1T8wug0sEw2kwuFKLxhK/

Regressions found on sh:

   - build/gcc-10-allnoconfig
   - build/gcc-9-tinyconfig
   - build/gcc-8-allnoconfig
   - build/gcc-10-tinyconfig
   - build/gcc-9-allnoconfig
   - build/gcc-8-tinyconfig

Regressions found on riscv:

   - build/gcc-10-allnoconfig
   - build/clang-11-tinyconfig
   - build/clang-10-allnoconfig
   - build/clang-11-allnoconfig
   - build/gcc-9-tinyconfig
   - build/gcc-8-allnoconfig
   - build/gcc-10-tinyconfig
   - build/clang-10-tinyconfig
   - build/gcc-9-allnoconfig
   - build/gcc-8-tinyconfig

Regressions found on arm:

   - build/gcc-10-allnoconfig
   - build/clang-11-tinyconfig
   - build/clang-10-allnoconfig
   - build/clang-11-allnoconfig
   - build/gcc-9-tinyconfig
   - build/gcc-8-allnoconfig
   - build/gcc-10-tinyconfig
   - build/clang-10-tinyconfig
   - build/gcc-9-allnoconfig
   - build/gcc-8-tinyconfig


- Naresh

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [next] mm/gup.c:96:10: error: implicit declaration of function 'is_zero_pfn' [-Werror,-Wimplicit-function-declaration]
@ 2021-02-02 14:31 ` Naresh Kamboju
  0 siblings, 0 replies; 5+ messages in thread
From: Naresh Kamboju @ 2021-02-02 14:31 UTC (permalink / raw)
  To: Linux-Next Mailing List, linux-mm, open list, lkft-triage
  Cc: pasha.tatashin, Andrew Morton, Vlastimil Babka, Michal Hocko,
	david, osalvador, Dan Williams, Sasha Levin, Mike Kravetz,
	Steven Rostedt, Ingo Molnar, Jason Gunthorpe, Peter Zijlstra,
	Mel Gorman, Matthew Wilcox, David Rientjes, John Hubbard,
	Ira Weiny, James Morris, Geert Uytterhoeven

Linux next tag 20210202 arm, riscv and sh builds with allnoconfig and
tinyconfig failed due to build errors.


make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- 'HOSTCC=sccache clang' 'CC=sccache
clang' zImage
 mm/gup.c:96:10: error: implicit declaration of function 'is_zero_pfn'
[-Werror,-Wimplicit-function-declaration]
                             !is_pinnable_page(page)))
                              ^
 include/linux/mm.h:1133:3: note: expanded from macro 'is_pinnable_page'
                is_zero_pfn(page_to_pfn(page)))
                ^
 mm/gup.c:96:10: note: did you mean 'is_zero_ino'?
 include/linux/mm.h:1133:3: note: expanded from macro 'is_pinnable_page'
                is_zero_pfn(page_to_pfn(page)))
                ^
 include/linux/fs.h:3045:20: note: 'is_zero_ino' declared here
static inline bool is_zero_ino(ino_t ino)
                   ^
1 error generated.

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>

steps to reproduce:
--------------------------
# TuxMake is a command line tool and Python library that provides
# portable and repeatable Linux kernel builds across a variety of
# architectures, toolchains, kernel configurations, and make targets.
#
# TuxMake supports the concept of runtimes.
# See https://docs.tuxmake.org/runtimes/, for that to work it requires
# that you install podman or docker on your system.
#
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.

tuxmake --runtime podman --target-arch arm --toolchain clang-11
--kconfig allnoconfig

build details:
https://builds.tuxbuild.com/1nv9wkY1T8wug0sEw2kwuFKLxhK/

Regressions found on sh:

   - build/gcc-10-allnoconfig
   - build/gcc-9-tinyconfig
   - build/gcc-8-allnoconfig
   - build/gcc-10-tinyconfig
   - build/gcc-9-allnoconfig
   - build/gcc-8-tinyconfig

Regressions found on riscv:

   - build/gcc-10-allnoconfig
   - build/clang-11-tinyconfig
   - build/clang-10-allnoconfig
   - build/clang-11-allnoconfig
   - build/gcc-9-tinyconfig
   - build/gcc-8-allnoconfig
   - build/gcc-10-tinyconfig
   - build/clang-10-tinyconfig
   - build/gcc-9-allnoconfig
   - build/gcc-8-tinyconfig

Regressions found on arm:

   - build/gcc-10-allnoconfig
   - build/clang-11-tinyconfig
   - build/clang-10-allnoconfig
   - build/clang-11-allnoconfig
   - build/gcc-9-tinyconfig
   - build/gcc-8-allnoconfig
   - build/gcc-10-tinyconfig
   - build/clang-10-tinyconfig
   - build/gcc-9-allnoconfig
   - build/gcc-8-tinyconfig


- Naresh


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [next] mm/gup.c:96:10: error: implicit declaration of function 'is_zero_pfn' [-Werror,-Wimplicit-function-declaration]
  2021-02-02 14:31 ` Naresh Kamboju
@ 2021-02-02 15:03   ` Pavel Tatashin
  -1 siblings, 0 replies; 5+ messages in thread
From: Pavel Tatashin @ 2021-02-02 15:03 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Linux-Next Mailing List, linux-mm, open list, lkft-triage,
	Andrew Morton, Vlastimil Babka, Michal Hocko, David Hildenbrand,
	Oscar Salvador, Dan Williams, Sasha Levin, Mike Kravetz,
	Steven Rostedt, Ingo Molnar, Jason Gunthorpe, Peter Zijlstra,
	Mel Gorman, Matthew Wilcox, David Rientjes, John Hubbard,
	Ira Weiny, James Morris, Geert Uytterhoeven

The same problem as fixed here:
https://lore.kernel.org/linux-mm/CA+CK2bBjC8=cRsL5VhWkcevPsqSXWhsANVjsFNMERLT8vWtiQw@mail.gmail.com/

Thank you,
Pasha

On Tue, Feb 2, 2021 at 9:32 AM Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
>
> Linux next tag 20210202 arm, riscv and sh builds with allnoconfig and
> tinyconfig failed due to build errors.
>
>
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=arm
> CROSS_COMPILE=arm-linux-gnueabihf- 'HOSTCC=sccache clang' 'CC=sccache
> clang' zImage
>  mm/gup.c:96:10: error: implicit declaration of function 'is_zero_pfn'
> [-Werror,-Wimplicit-function-declaration]
>                              !is_pinnable_page(page)))
>                               ^
>  include/linux/mm.h:1133:3: note: expanded from macro 'is_pinnable_page'
>                 is_zero_pfn(page_to_pfn(page)))
>                 ^
>  mm/gup.c:96:10: note: did you mean 'is_zero_ino'?
>  include/linux/mm.h:1133:3: note: expanded from macro 'is_pinnable_page'
>                 is_zero_pfn(page_to_pfn(page)))
>                 ^
>  include/linux/fs.h:3045:20: note: 'is_zero_ino' declared here
> static inline bool is_zero_ino(ino_t ino)
>                    ^
> 1 error generated.
>
> Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
>
> steps to reproduce:
> --------------------------
> # TuxMake is a command line tool and Python library that provides
> # portable and repeatable Linux kernel builds across a variety of
> # architectures, toolchains, kernel configurations, and make targets.
> #
> # TuxMake supports the concept of runtimes.
> # See https://docs.tuxmake.org/runtimes/, for that to work it requires
> # that you install podman or docker on your system.
> #
> # To install tuxmake on your system globally:
> # sudo pip3 install -U tuxmake
> #
> # See https://docs.tuxmake.org/ for complete documentation.
>
> tuxmake --runtime podman --target-arch arm --toolchain clang-11
> --kconfig allnoconfig
>
> build details:
> https://builds.tuxbuild.com/1nv9wkY1T8wug0sEw2kwuFKLxhK/
>
> Regressions found on sh:
>
>    - build/gcc-10-allnoconfig
>    - build/gcc-9-tinyconfig
>    - build/gcc-8-allnoconfig
>    - build/gcc-10-tinyconfig
>    - build/gcc-9-allnoconfig
>    - build/gcc-8-tinyconfig
>
> Regressions found on riscv:
>
>    - build/gcc-10-allnoconfig
>    - build/clang-11-tinyconfig
>    - build/clang-10-allnoconfig
>    - build/clang-11-allnoconfig
>    - build/gcc-9-tinyconfig
>    - build/gcc-8-allnoconfig
>    - build/gcc-10-tinyconfig
>    - build/clang-10-tinyconfig
>    - build/gcc-9-allnoconfig
>    - build/gcc-8-tinyconfig
>
> Regressions found on arm:
>
>    - build/gcc-10-allnoconfig
>    - build/clang-11-tinyconfig
>    - build/clang-10-allnoconfig
>    - build/clang-11-allnoconfig
>    - build/gcc-9-tinyconfig
>    - build/gcc-8-allnoconfig
>    - build/gcc-10-tinyconfig
>    - build/clang-10-tinyconfig
>    - build/gcc-9-allnoconfig
>    - build/gcc-8-tinyconfig
>
>
> - Naresh

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [next] mm/gup.c:96:10: error: implicit declaration of function 'is_zero_pfn' [-Werror,-Wimplicit-function-declaration]
@ 2021-02-02 15:03   ` Pavel Tatashin
  0 siblings, 0 replies; 5+ messages in thread
From: Pavel Tatashin @ 2021-02-02 15:03 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Linux-Next Mailing List, linux-mm, open list, lkft-triage,
	Andrew Morton, Vlastimil Babka, Michal Hocko, David Hildenbrand,
	Oscar Salvador, Dan Williams, Sasha Levin, Mike Kravetz,
	Steven Rostedt, Ingo Molnar, Jason Gunthorpe, Peter Zijlstra,
	Mel Gorman, Matthew Wilcox, David Rientjes, John Hubbard,
	Ira Weiny, James Morris, Geert Uytterhoeven

The same problem as fixed here:
https://lore.kernel.org/linux-mm/CA+CK2bBjC8=cRsL5VhWkcevPsqSXWhsANVjsFNMERLT8vWtiQw@mail.gmail.com/

Thank you,
Pasha

On Tue, Feb 2, 2021 at 9:32 AM Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
>
> Linux next tag 20210202 arm, riscv and sh builds with allnoconfig and
> tinyconfig failed due to build errors.
>
>
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=arm
> CROSS_COMPILE=arm-linux-gnueabihf- 'HOSTCC=sccache clang' 'CC=sccache
> clang' zImage
>  mm/gup.c:96:10: error: implicit declaration of function 'is_zero_pfn'
> [-Werror,-Wimplicit-function-declaration]
>                              !is_pinnable_page(page)))
>                               ^
>  include/linux/mm.h:1133:3: note: expanded from macro 'is_pinnable_page'
>                 is_zero_pfn(page_to_pfn(page)))
>                 ^
>  mm/gup.c:96:10: note: did you mean 'is_zero_ino'?
>  include/linux/mm.h:1133:3: note: expanded from macro 'is_pinnable_page'
>                 is_zero_pfn(page_to_pfn(page)))
>                 ^
>  include/linux/fs.h:3045:20: note: 'is_zero_ino' declared here
> static inline bool is_zero_ino(ino_t ino)
>                    ^
> 1 error generated.
>
> Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
>
> steps to reproduce:
> --------------------------
> # TuxMake is a command line tool and Python library that provides
> # portable and repeatable Linux kernel builds across a variety of
> # architectures, toolchains, kernel configurations, and make targets.
> #
> # TuxMake supports the concept of runtimes.
> # See https://docs.tuxmake.org/runtimes/, for that to work it requires
> # that you install podman or docker on your system.
> #
> # To install tuxmake on your system globally:
> # sudo pip3 install -U tuxmake
> #
> # See https://docs.tuxmake.org/ for complete documentation.
>
> tuxmake --runtime podman --target-arch arm --toolchain clang-11
> --kconfig allnoconfig
>
> build details:
> https://builds.tuxbuild.com/1nv9wkY1T8wug0sEw2kwuFKLxhK/
>
> Regressions found on sh:
>
>    - build/gcc-10-allnoconfig
>    - build/gcc-9-tinyconfig
>    - build/gcc-8-allnoconfig
>    - build/gcc-10-tinyconfig
>    - build/gcc-9-allnoconfig
>    - build/gcc-8-tinyconfig
>
> Regressions found on riscv:
>
>    - build/gcc-10-allnoconfig
>    - build/clang-11-tinyconfig
>    - build/clang-10-allnoconfig
>    - build/clang-11-allnoconfig
>    - build/gcc-9-tinyconfig
>    - build/gcc-8-allnoconfig
>    - build/gcc-10-tinyconfig
>    - build/clang-10-tinyconfig
>    - build/gcc-9-allnoconfig
>    - build/gcc-8-tinyconfig
>
> Regressions found on arm:
>
>    - build/gcc-10-allnoconfig
>    - build/clang-11-tinyconfig
>    - build/clang-10-allnoconfig
>    - build/clang-11-allnoconfig
>    - build/gcc-9-tinyconfig
>    - build/gcc-8-allnoconfig
>    - build/gcc-10-tinyconfig
>    - build/clang-10-tinyconfig
>    - build/gcc-9-allnoconfig
>    - build/gcc-8-tinyconfig
>
>
> - Naresh


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [next] mm/gup.c:96:10: error: implicit declaration of function 'is_zero_pfn' [-Werror,-Wimplicit-function-declaration]
  2021-02-02 15:03   ` Pavel Tatashin
  (?)
@ 2021-02-04  0:56   ` Andrew Morton
  -1 siblings, 0 replies; 5+ messages in thread
From: Andrew Morton @ 2021-02-04  0:56 UTC (permalink / raw)
  To: Pavel Tatashin
  Cc: Naresh Kamboju, Linux-Next Mailing List, linux-mm, open list,
	lkft-triage, Vlastimil Babka, Michal Hocko, David Hildenbrand,
	Oscar Salvador, Dan Williams, Sasha Levin, Mike Kravetz,
	Steven Rostedt, Ingo Molnar, Jason Gunthorpe, Peter Zijlstra,
	Mel Gorman, Matthew Wilcox, David Rientjes, John Hubbard,
	Ira Weiny, James Morris, Geert Uytterhoeven

On Tue, 2 Feb 2021 10:03:47 -0500 Pavel Tatashin <pasha.tatashin@soleen.com> wrote:

> The same problem as fixed here:
> https://lore.kernel.org/linux-mm/CA+CK2bBjC8=cRsL5VhWkcevPsqSXWhsANVjsFNMERLT8vWtiQw@mail.gmail.com/
> 

We're seeing a number of build errors from this series, all of them
confusing.

I'll drop this version.  Please ensure that the various build errors
(including
https://lkml.kernel.org/r/8bf42bd2-1175-f26b-20b2-99b8c4a56aef@infradead.org)
are resolved after applying each patch, so we don't create bisection
holes.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-04  0:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 14:31 [next] mm/gup.c:96:10: error: implicit declaration of function 'is_zero_pfn' [-Werror,-Wimplicit-function-declaration] Naresh Kamboju
2021-02-02 14:31 ` Naresh Kamboju
2021-02-02 15:03 ` Pavel Tatashin
2021-02-02 15:03   ` Pavel Tatashin
2021-02-04  0:56   ` Andrew Morton

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.