arm, sh and riscv architecture build failed on today's Linux next tag 20210128.
FYI,
# CONFIG_MMU is not set on these failed configs.
config file attached to this email.
make --silent --keep-going --jobs=8 O=/home/tux -
build/.cache/tuxmake/builds/1/tmp ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
mm/nommu.c:1671:6: error: conflicting types for 'filemap_map_pages'
1671 | void filemap_map_pages(struct vm_fault *vmf,
| ^~~~~~~~~~~~~~~~~
In file included from mm/nommu.c:20:
include/linux/mm.h:2578:19: note: previous declaration of
'filemap_map_pages' was here
2578 | extern vm_fault_t filemap_map_pages(struct vm_fault *vmf,
| ^~~~~~~~~~~~~~~~~
Reported-by: Naresh Kamboju <[email protected]>
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 gcc-10
--kconfig tinyconfig
Following builds failed on Linux next 20210128 tag.
Regressions found on sh:
- build/gcc-9-tinyconfig
- build/gcc-8-allnoconfig
- build/gcc-9-allnoconfig
- build/gcc-8-tinyconfig
- build/gcc-10-tinyconfig
- build/gcc-10-allnoconfig
Regressions found on riscv:
- build/gcc-9-tinyconfig
- build/gcc-8-allnoconfig
- build/clang-11-tinyconfig
- build/gcc-9-allnoconfig
- build/gcc-8-tinyconfig
- build/clang-11-allnoconfig
- build/gcc-10-tinyconfig
- build/clang-10-allnoconfig
- build/gcc-10-allnoconfig
- build/clang-10-tinyconfig
Regressions found on arm:
- build/gcc-9-tinyconfig
- build/gcc-8-allnoconfig
- build/clang-11-tinyconfig
- build/gcc-9-allnoconfig
- build/gcc-8-tinyconfig
- build/clang-11-allnoconfig
- build/gcc-10-tinyconfig
- build/clang-10-allnoconfig
- build/gcc-10-allnoconfig
- build/clang-10-tinyconfig
--
Linaro LKFT
https://lkft.linaro.org
Hi Naresh,
On Thu, Jan 28, 2021 at 3:25 PM Naresh Kamboju
<[email protected]> wrote:
> arm, sh and riscv architecture build failed on today's Linux next tag 20210128.
>
> FYI,
> # CONFIG_MMU is not set on these failed configs.
> config file attached to this email.
>
> make --silent --keep-going --jobs=8 O=/home/tux -
> build/.cache/tuxmake/builds/1/tmp ARCH=arm
> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
> mm/nommu.c:1671:6: error: conflicting types for 'filemap_map_pages'
> 1671 | void filemap_map_pages(struct vm_fault *vmf,
> | ^~~~~~~~~~~~~~~~~
> In file included from mm/nommu.c:20:
> include/linux/mm.h:2578:19: note: previous declaration of
> 'filemap_map_pages' was here
> 2578 | extern vm_fault_t filemap_map_pages(struct vm_fault *vmf,
> | ^~~~~~~~~~~~~~~~~
Care to give "[PATCH -next] mm/nommu: Fix return type of
filemap_map_pages()" a try?
https://lore.kernel.org/lkml/[email protected]/
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Hi Geert,
On Thu, 28 Jan 2021 at 20:56, Geert Uytterhoeven <[email protected]> wrote:
>
> Hi Naresh,
>
> On Thu, Jan 28, 2021 at 3:25 PM Naresh Kamboju
> <[email protected]> wrote:
> > arm, sh and riscv architecture build failed on today's Linux next tag 20210128.
> >
> > FYI,
> > # CONFIG_MMU is not set on these failed configs.
> > config file attached to this email.
> >
> > make --silent --keep-going --jobs=8 O=/home/tux -
> > build/.cache/tuxmake/builds/1/tmp ARCH=arm
> > CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> > arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
> > mm/nommu.c:1671:6: error: conflicting types for 'filemap_map_pages'
> > 1671 | void filemap_map_pages(struct vm_fault *vmf,
> > | ^~~~~~~~~~~~~~~~~
> > In file included from mm/nommu.c:20:
> > include/linux/mm.h:2578:19: note: previous declaration of
> > 'filemap_map_pages' was here
> > 2578 | extern vm_fault_t filemap_map_pages(struct vm_fault *vmf,
> > | ^~~~~~~~~~~~~~~~~
>
> Care to give "[PATCH -next] mm/nommu: Fix return type of
> filemap_map_pages()" a try?
> https://lore.kernel.org/lkml/[email protected]/
>
Thanks for your patch.
The reported build issues got fixed now.
- Naresh
On Thu, Jan 28, 2021 at 04:26:09PM +0100, Geert Uytterhoeven wrote:
> Hi Naresh,
>
> On Thu, Jan 28, 2021 at 3:25 PM Naresh Kamboju
> <[email protected]> wrote:
> > arm, sh and riscv architecture build failed on today's Linux next tag 20210128.
> >
> > FYI,
> > # CONFIG_MMU is not set on these failed configs.
> > config file attached to this email.
> >
> > make --silent --keep-going --jobs=8 O=/home/tux -
> > build/.cache/tuxmake/builds/1/tmp ARCH=arm
> > CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> > arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
> > mm/nommu.c:1671:6: error: conflicting types for 'filemap_map_pages'
> > 1671 | void filemap_map_pages(struct vm_fault *vmf,
> > | ^~~~~~~~~~~~~~~~~
> > In file included from mm/nommu.c:20:
> > include/linux/mm.h:2578:19: note: previous declaration of
> > 'filemap_map_pages' was here
> > 2578 | extern vm_fault_t filemap_map_pages(struct vm_fault *vmf,
> > | ^~~~~~~~~~~~~~~~~
>
> Care to give "[PATCH -next] mm/nommu: Fix return type of
> filemap_map_pages()" a try?
> https://lore.kernel.org/lkml/[email protected]/
I'll go queue that now, cheers,
Will