2020-08-05 17:12:05

by Naresh Kamboju

[permalink] [raw]
Subject: stable rc 4.9- v4.9.232-51-g1f47445197d2 - build breaks on arm64, arm, x86_64 and i386.

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,
| ^~~~~~~~~~~~~~~~~~~~~~
../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;
| ^~~~~~
make[3]: *** [../scripts/Makefile.build:304: fs/ext4/inode.o] Error 1
make[3]: Target '__build' not remade because of errors.
make[2]: *** [../scripts/Makefile.build:555: fs/ext4] Error 2
../lib/vsprintf.c: In function ‘number’:
../lib/vsprintf.c:399:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
399 | char *number(char *buf, char *end, unsigned long long num,
| ^~~~~~
../lib/vsprintf.c: In function ‘widen_string’:
../lib/vsprintf.c:562:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
562 | char *widen_string(char *buf, int n, char *end, struct printf_spec spec)
| ^~~~~~~~~~~~
../lib/vsprintf.c: In function ‘string’:
../lib/vsprintf.c:583:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
583 | char *string(char *buf, char *end, const char *s, struct
printf_spec spec)
| ^~~~~~
../lib/vsprintf.c: In function ‘hex_string’:
../lib/vsprintf.c:803:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
803 | char *hex_string(char *buf, char *end, u8 *addr, struct
printf_spec spec,
| ^~~~~~~~~~
../lib/vsprintf.c: In function ‘mac_address_string’:
../lib/vsprintf.c:936:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
936 | char *mac_address_string(char *buf, char *end, u8 *addr,
| ^~~~~~~~~~~~~~~~~~
../lib/vsprintf.c: In function ‘ip4_addr_string’:
../lib/vsprintf.c:1137:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
1137 | char *ip4_addr_string(char *buf, char *end, const u8 *addr,
| ^~~~~~~~~~~~~~~
../lib/vsprintf.c: In function ‘uuid_string’:
../lib/vsprintf.c:1305:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
1305 | char *uuid_string(char *buf, char *end, const u8 *addr,
| ^~~~~~~~~~~
../lib/vsprintf.c: In function ‘symbol_string’:
../lib/vsprintf.c:668:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
668 | char *symbol_string(char *buf, char *end, void *ptr,
| ^~~~~~~~~~~~~
../lib/vsprintf.c: In function ‘resource_string’:
../lib/vsprintf.c:695:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
695 | char *resource_string(char *buf, char *end, struct resource *res,
| ^~~~~~~~~~~~~~~
../lib/vsprintf.c: In function ‘ip6_addr_string’:
../lib/vsprintf.c:1123:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
1123 | char *ip6_addr_string(char *buf, char *end, const u8 *addr,
| ^~~~~~~~~~~~~~~
../lib/vsprintf.c: In function ‘ip4_addr_string_sa’:
../lib/vsprintf.c:1210:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
1210 | char *ip4_addr_string_sa(char *buf, char *end, const struct
sockaddr_in *sa,
| ^~~~~~~~~~~~~~~~~~
../lib/vsprintf.c: In function ‘ip6_addr_string_sa’:
../lib/vsprintf.c:1148:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
1148 | char *ip6_addr_string_sa(char *buf, char *end, const struct
sockaddr_in6 *sa,
| ^~~~~~~~~~~~~~~~~~
../lib/vsprintf.c: In function ‘escaped_string’:
../lib/vsprintf.c:1245:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
1245 | char *escaped_string(char *buf, char *end, u8 *addr, struct
printf_spec spec,
| ^~~~~~~~~~~~~~
../lib/vsprintf.c: In function ‘dentry_name’:
../lib/vsprintf.c:604:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
604 | char *dentry_name(char *buf, char *end, const struct dentry
*d, struct printf_spec spec,
| ^~~~~~~~~~~
../lib/vsprintf.c: In function ‘clock.isra.0’:
../lib/vsprintf.c:1387:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
1387 | char *clock(char *buf, char *end, struct clk *clk, struct
printf_spec spec,
| ^~~~~
../lib/vsprintf.c: In function ‘bitmap_list_string.isra.0’:
../lib/vsprintf.c:896:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
896 | char *bitmap_list_string(char *buf, char *end, unsigned long *bitmap,
| ^~~~~~~~~~~~~~~~~~
../lib/vsprintf.c: In function ‘bitmap_string.isra.0’:
../lib/vsprintf.c:855:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
855 | char *bitmap_string(char *buf, char *end, unsigned long *bitmap,
| ^~~~~~~~~~~~~
../lib/vsprintf.c: In function ‘bdev_name.isra.0’:
../lib/vsprintf.c:649:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
649 | char *bdev_name(char *buf, char *end, struct block_device *bdev,
| ^~~~~~~~~
../lib/vsprintf.c: In function ‘pointer’:
../lib/vsprintf.c:1571:7: note: parameter passing for argument of type
‘struct printf_spec’ changed in GCC 9.1
1571 | char *pointer(const char *fmt, char *buf, char *end, void *ptr,
| ^~~~~~~
make[2]: Target '__build' not remade because of errors.
make[1]: *** [/linux/Makefile:1036: fs] Error 2
make[1]: Target 'Image' not remade because of errors.
make: *** [Makefile:152: sub-make] Error 2
make: Target 'Image' not remade because of errors.


--
Linaro LKFT
https://lkft.linaro.org


2020-08-06 17:36:20

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: stable rc 4.9- v4.9.232-51-g1f47445197d2 - build breaks on arm64, arm, x86_64 and i386.

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