Following build regression noticed on i386, mips and s390.
mm/khugepaged.c: In function 'retract_page_tables':
mm/khugepaged.c:1702:30: error: implicit declaration of function
'vma_try_start_write'; did you mean 'vma_start_write'?
[-Werror=implicit-function-declaration]
1702 | if (!vma_try_start_write(vma))
| ^~~~~~~~~~~~~~~~~~~
| vma_start_write
cc1: all warnings being treated as errors
build details:
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230306/testrun/15286608/suite/build/test/gcc-11-lkftconfig-rcutorture/details/
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230306/testrun/15286608/suite/build/test/gcc-11-lkftconfig-rcutorture/log
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
tuxmake --runtime podman \
--target-arch i386 \
--toolchain gcc-12 \
--kconfig
https://storage.tuxsuite.com/public/linaro/lkft/builds/2McWOXP1OH5MiYficVNv8hJCR4F/config
Similar issues have been reported and discussed on the mailing list.
- https://lore.kernel.org/all/[email protected]/
--
Linaro LKFT
https://lkft.linaro.org
On Mon, Mar 6, 2023 at 3:13 AM Naresh Kamboju <[email protected]> wrote:
>
> Following build regression noticed on i386, mips and s390.
>
> mm/khugepaged.c: In function 'retract_page_tables':
> mm/khugepaged.c:1702:30: error: implicit declaration of function
> 'vma_try_start_write'; did you mean 'vma_start_write'?
> [-Werror=implicit-function-declaration]
> 1702 | if (!vma_try_start_write(vma))
> | ^~~~~~~~~~~~~~~~~~~
> | vma_start_write
> cc1: all warnings being treated as errors
Thanks for reporting. I posted a fix over the weekend:
https://lore.kernel.org/all/[email protected]/
which should be merged soon.
>
> build details:
> - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230306/testrun/15286608/suite/build/test/gcc-11-lkftconfig-rcutorture/details/
> - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230306/testrun/15286608/suite/build/test/gcc-11-lkftconfig-rcutorture/log
>
> # To install tuxmake on your system globally:
> # sudo pip3 install -U tuxmake
> #
>
> tuxmake --runtime podman \
> --target-arch i386 \
> --toolchain gcc-12 \
> --kconfig
> https://storage.tuxsuite.com/public/linaro/lkft/builds/2McWOXP1OH5MiYficVNv8hJCR4F/config
>
> Similar issues have been reported and discussed on the mailing list.
> - https://lore.kernel.org/all/[email protected]/
>
> --
> Linaro LKFT
> https://lkft.linaro.org