Re: stable rc 4.9- v4.9.232-51-g1f47445197d2 - build breaks on arm64, arm, x86_64 and i386.
From: Greg Kroah-Hartman
Date: Thu Aug 06 2020 - 13:33:54 EST
On Wed, Aug 05, 2020 at 10:34:44PM +0530, Naresh Kamboju wrote:
> stable rc 4.9 build breaks on arm64, arm, x86_64 and i386.
>
> Here are the build log failures on arm64.
>
> git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
> target_arch: arm64
> toolchain: gcc-9
> git_short_log: 1f47445197d2 (\Linux 4.9.233-rc1\)
> git_sha: 1f47445197d2c8eecafa2b996f635aa89851c123
> git_describe: v4.9.232-51-g1f47445197d2
> kernel_version: 4.9.233-rc1
>
> make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm64
> CROSS_COMPILE=aarch64-linux-gnu- HOSTCC=gcc CC="sccache
> aarch64-linux-gnu-gcc" O=build Image
> #
> ../arch/arm64/kernel/hw_breakpoint.c: In function ‘arch_bp_generic_fields’:
> ../arch/arm64/kernel/hw_breakpoint.c:352:5: note: parameter passing
> for argument of type ‘struct arch_hw_breakpoint_ctrl’ changed in GCC
> 9.1
> 352 | int arch_bp_generic_fields(struct arch_hw_breakpoint_ctrl ctrl,
> | ^~~~~~~~~~~~~~~~~~~~~~
Is this warning new?
> ../fs/ext4/inode.c: In function ‘ext4_direct_IO’:
> ../fs/ext4/inode.c:3610:9: error: redefinition of ‘offset’
> 3610 | loff_t offset = iocb->ki_pos;
> | ^~~~~~
> ../fs/ext4/inode.c:3608:9: note: previous definition of ‘offset’ was here
> 3608 | loff_t offset = iocb->ki_pos;
> | ^~~~~~
Sorry I missed these, now dropped the offending patch from 4.4 and 4.9
queues.
greg k-h