Hi kernel folks, It seems a new gcc patch uncovered a potential problem in btrfs code, see the warning/error below.
Does this look like a legit kernel problem? -- Maxim Kuvyrkov https://www.linaro.org > On Dec 22, 2023, at 06:54, ci_not...@linaro.org wrote: > > Dear contributor, our automatic CI has detected problems related to your > patch(es). Please find some details below. If you have any questions, > please follow up on linaro-toolchain@lists.linaro.org mailing list, Libera's > #linaro-tcwg channel, or ping your favourite Linaro toolchain developer on > the usual project channel. > > We appreciate that it might be difficult to find the necessary logs or > reproduce the issue locally. If you can't get what you need from our CI > within minutes, let us know and we will be happy to help. > > We track this report status in https://linaro.atlassian.net/browse/GNU-1087 , > please let us know if you are looking at the problem and/or when you have a > fix. > > In CI config tcwg_kernel/gnu-master-arm-stable-allmodconfig after: > > | commit gcc-14-6741-ge7dd72aefed > | Author: Jakub Jelinek <ja...@redhat.com> > | Date: Wed Dec 20 11:31:18 2023 +0100 > | > | c: Split -Wcalloc-transposed-args warning from -Walloc-size, > -Walloc-size fixes > | > | The following patch changes -Walloc-size warning to no longer warn > | about int *p = calloc (1, sizeof (int));, because as discussed earlier, > | the size is IMNSHO sufficient in that case, for alloc_size with 2 > | arguments warns if the product of the 2 arguments is insufficiently > small. > | > | ... 37 lines of the commit log omitted. > > Results changed to > # reset_artifacts: > -10 > # build_abe binutils: > -9 > # build_abe stage1: > -5 > # build_abe qemu: > -2 > # linux_n_obj: > 23978 > # First few build errors in logs: > > # 00:33:29 fs/btrfs/send.c:8208:44: error: ‘kvcalloc’ sizes specified with > ‘sizeof’ in the earlier argument and not in the later argument > [-Werror=calloc-transposed-args] > # 00:33:44 make[4]: *** [scripts/Makefile.build:243: fs/btrfs/send.o] Error 1 > # 00:35:42 make[3]: *** [scripts/Makefile.build:480: fs/btrfs] Error 2 > # 00:37:40 make[2]: *** [scripts/Makefile.build:480: fs] Error 2 > # 00:47:05 make[1]: *** > [/home/tcwg-buildslave/workspace/tcwg_kernel_1/linux/Makefile:1913: .] Error 2 > # 00:47:05 make: *** [Makefile:234: __sub-make] Error 2 > > From > # reset_artifacts: > -10 > # build_abe binutils: > -9 > # build_abe stage1: > -5 > # build_abe qemu: > -2 > # linux_n_obj: > 33156 > # linux build successful: > all > # linux boot successful: > boot > > The configuration of this build is: > CI config tcwg_kernel/gnu-master-arm-stable-allmodconfig > > -----------------8<--------------------------8<--------------------------8<-------------------------- > The information below can be used to reproduce a debug environment: > > Current build : > https://ci.linaro.org/job/tcwg_kernel--gnu-master-arm-stable-allmodconfig-build/83/artifact/artifacts > Reference build : > https://ci.linaro.org/job/tcwg_kernel--gnu-master-arm-stable-allmodconfig-build/82/artifact/artifacts > > Reproduce last good and first bad builds: > https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gcc/sha1/e7dd72aefed851d11655aa301d6e394ec9805e0d/tcwg_kernel/gnu-master-arm-stable-allmodconfig/reproduction_instructions.txt > > Full commit : > https://github.com/gcc-mirror/gcc/commit/e7dd72aefed851d11655aa301d6e394ec9805e0d > > List of configurations that regressed due to this commit : > * tcwg_kernel > ** gnu-master-arm-stable-allmodconfig > *** Failure > *** > https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gcc/sha1/e7dd72aefed851d11655aa301d6e394ec9805e0d/tcwg_kernel/gnu-master-arm-stable-allmodconfig/details.txt > *** > https://ci.linaro.org/job/tcwg_kernel--gnu-master-arm-stable-allmodconfig-build/83/artifact/artifacts _______________________________________________ linaro-toolchain mailing list -- linaro-toolchain@lists.linaro.org To unsubscribe send an email to linaro-toolchain-le...@lists.linaro.org