[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1020441: linux: autopkgtest needs update for new version of gcc-11



Source: linux
Version: 5.19.6-1
Severity: serious
X-Debbugs-CC: gcc-11@packages.debian.org
Tags: sid bookworm
User: debian-ci@lists.debian.org
Usertags: needs-update
Control: affects -1 src:gcc-11

Dear maintainer(s),

With a recent upload of gcc-11 the autopkgtest of linux fails in testing when that autopkgtest is run with the binary packages of gcc-11 from unstable. It passes when run with only packages from testing (it also fails in testing). In tabular form:

                       pass            fail
gcc-11                 from testing    11.3.0-6
linux                  from testing    5.19.6-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of gcc-11 to testing [1]. Of course, gcc-11 shouldn't just break your autopkgtest (or even worse, your package), but it seems to me that the test "only" fails on "Unexpected warning" and your package needs to update to the new situation.

If this is a real problem in your package (and not only in your autopkgtest), the right binary package(s) from gcc-11 should really add a versioned Breaks on the unfixed version of (one of your) package(s). Note: the Breaks is nice even if the issue is only in the autopkgtest as it helps the migration software to figure out the right versions to combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=gcc-11

https://ci.debian.net/data/autopkgtest/testing/amd64/l/linux/26272813/log.gz

I: Found quick flavour cloud-amd64
I: Build for 5.19.0-1-cloud-amd64
make: Entering directory '/usr/src/linux-headers-5.19.0-1-cloud-amd64'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
echo >&2;							\
echo >&2 "  ERROR: Kernel configuration is invalid.";		\
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ;							\
/bin/false)
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc-11 (Debian 11.3.0-5) 11.3.0
  You are using:           gcc-11 (Debian 11.3.0-6) 11.3.0
make -f /usr/src/linux-headers-5.19.0-1-common/scripts/Makefile.build obj=/tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo \
single-build= \
need-builtin=1 need-modorder=1
gcc-11 -Wp,-MMD,/tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/.foo.o.d -nostdinc -I/usr/src/linux-headers-5.19.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.19.0-1-common/include -I./include -I/usr/src/linux-headers-5.19.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.19.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.19.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.19.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.19.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.19.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -DMODULE -DKBUILD_BASENAME='"foo"' -DKBUILD_MODNAME='"foo"' -D__KBUILD_MODNAME=kmod_foo -c -o /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.o /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --orc --retpoline --rethunk --sls --static-call --uaccess --module /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.o /usr/src/linux-headers-5.19.0-1-common/scripts/check-local-export /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.o { echo ; echo '/tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.o: $(wildcard ./tools/objtool/objtool)' ; } >> /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/.foo.o.cmd if nm /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.o 2>/dev/null | grep -q __ksymtab; then gcc-11 -E -D__GENKSYMS__ -Wp,-MMD,/tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/.foo.o.d -nostdinc -I/usr/src/linux-headers-5.19.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.19.0-1-common/include -I./include -I/usr/src/linux-headers-5.19.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.19.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.19.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.19.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.19.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.19.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -DMODULE -DKBUILD_BASENAME='"foo"' -DKBUILD_MODNAME='"foo"' -D__KBUILD_MODNAME=kmod_foo /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.c | scripts/genksyms/genksyms -r /dev/null >> /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/.foo.o.cmd; fi
  printf '%s
' foo.o | awk '!x[$0]++ { print("/tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/"$0) }' > /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.mod { echo /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.ko; :; } | awk '!x[$0]++' - > /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/modules.order sh /usr/src/linux-headers-5.19.0-1-common/scripts/modules-check.sh /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/modules.order
make -f /usr/src/linux-headers-5.19.0-1-common/scripts/Makefile.modpost
sed 's/ko$/o/' /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/modules.order | scripts/mod/modpost -m -o /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/Module.symvers -e -i Module.symvers -T -
make -f /usr/src/linux-headers-5.19.0-1-common/scripts/Makefile.modfinal
gcc-11 -Wp,-MMD,/tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/.foo.mod.o.d -nostdinc -I/usr/src/linux-headers-5.19.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.19.0-1-common/include -I./include -I/usr/src/linux-headers-5.19.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.19.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.19.0-1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-5.19.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.19.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.19.0-1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -DMODULE -DKBUILD_BASENAME='"foo.mod"' -DKBUILD_MODNAME='"foo"' -D__KBUILD_MODNAME=kmod_foo -c -o /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.mod.o /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.mod.c ld -r -m elf_x86_64 -z noexecstack --no-warn-rwx-segments --build-id=sha1 -T arch/x86/module.lds -o /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.ko /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.o /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.mod.o; true if [ -f vmlinux ]; then LLVM_OBJCOPY="objcopy" pahole -J --btf_base vmlinux /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.ko; ./tools/bpf/resolve_btfids/resolve_btfids -b vmlinux /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.ko; else printf "Skipping BTF generation for %s due to unavailability of vmlinux
" /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.ko 1>&2; fi;
Skipping BTF generation for /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/foo.ko due to unavailability of vmlinux
make: Leaving directory '/usr/src/linux-headers-5.19.0-1-cloud-amd64'
E: Unexpected warning/error messages
I: Clean
make: Entering directory '/usr/src/linux-headers-5.19.0-1-cloud-amd64'
make -f /usr/src/linux-headers-5.19.0-1-common/scripts/Makefile.clean obj=/tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo rm -rf /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/Module.symvers /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/modules.nsdeps /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/compile_commands.json /tmp/autopkgtest-lxc.8_h2xh0q/downtmp/autopkgtest_tmp/foo/.thinlto-cache
make: Leaving directory '/usr/src/linux-headers-5.19.0-1-cloud-amd64'
autopkgtest [21:13:57]: test kbuild

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: