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

Bug#1041338: linux autopkg test blocks gcc-12 migration



Hi Matthias,

On Mon, Jul 17, 2023 at 06:07:59PM +0200, Matthias Klose wrote:
> Package: src:linux
> Version: 6.3.7-1
> Severity: serious
> Tags: sid trixie
> 
> seen on amd64, the issue doesn't look related to gcc-12.
> 
> see
> https://ci.debian.net/data/autopkgtest/testing/amd64/l/linux/35917919/log.gz
> 
> [...]
> 56s    gcc-12 -Wp,-MMD,/tmp/autopkgtest-lxc.f52ni744/downtmp/autopkgtest_tmp/foo/.foo.mod.o.d
> -nostdinc -I/usr/src/linux-headers-6.3.0-1-common/arch/x86/include
> -I./arch/x86/include/generated
> -I/usr/src/linux-headers-6.3.0-1-common/include -I./include
> -I/usr/src/linux-headers-6.3.0-1-common/arch/x86/include/uapi
> -I./arch/x86/include/generated/uapi
> -I/usr/src/linux-headers-6.3.0-1-common/include/uapi
> -I./include/generated/uapi -include
> /usr/src/linux-headers-6.3.0-1-common/include/linux/compiler-version.h
> -include /usr/src/linux-headers-6.3.0-1-common/include/linux/kconfig.h
> -include
> /usr/src/linux-headers-6.3.0-1-common/include/linux/compiler_types.h
> -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-6.3.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
> -funsigned-char -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx
> -fcf-protection=branch -fno-jump-tables -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
> -fpatchable-function-entry=16,16 -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 -Wno-main
> -Wno-unused-but-set-variable -Wno-unused-const-variable
> -Wno-dangling-pointer -ftrivial-auto-var-init=zero
> -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY
> -falign-functions=16 -Wdeclaration-after-statement -Wvla -Wno-pointer-sign
> -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow
> -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds
> -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -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.f52ni744/downtmp/autopkgtest_tmp/foo/foo.mod.o
> /tmp/autopkgtest-lxc.f52ni744/downtmp/autopkgtest_tmp/foo/foo.mod.c
>  57s
> /tmp/autopkgtest-lxc.f52ni744/downtmp/autopkgtest_tmp/foo/foo.mod.c:10:10:
> fatal error: asm/orc_header.h: No such file or directory
>  57s    10 | #include <asm/orc_header.h>
>  57s       |          ^~~~~~~~~~~~~~~~~~
>  57s compilation terminated.
>  57s make[1]: ***
> [/usr/src/linux-headers-6.3.0-1-common/scripts/Makefile.modfinal:29:
> /tmp/autopkgtest-lxc.f52ni744/downtmp/autopkgtest_tmp/foo/foo.mod.o] Error 1
>  57s make: Leaving directory '/usr/src/linux-headers-6.3.0-1-cloud-amd64'
>  57s make: *** [/usr/src/linux-headers-6.3.0-1-common/Makefile:1967:
> modules] Error 2
>  57s I: Clean
>  57s E: Unexpected warning/error messages
>  57s make: Entering directory '/usr/src/linux-headers-6.3.0-1-cloud-amd64'
>  57s make -f /usr/src/linux-headers-6.3.0-1-common/scripts/Makefile.clean
> obj=/tmp/autopkgtest-lxc.f52ni744/downtmp/autopkgtest_tmp/foo
>  57s # CLEAN
> /tmp/autopkgtest-lxc.f52ni744/downtmp/autopkgtest_tmp/foo/Module.symvers
>  57s   rm -rf
> /tmp/autopkgtest-lxc.f52ni744/downtmp/autopkgtest_tmp/foo/Module.symvers
> /tmp/autopkgtest-lxc.f52ni744/downtmp/autopkgtest_tmp/foo/modules.nsdeps /tmp/autopkgtest-lxc.f52ni744/downtmp/autopkgtest_tmp/foo/compile_commands.json
> /tmp/autopkgtest-lxc.f52ni744/downtmp/autopkgtest_tmp/foo/.thinlto-cache
>  57s make: Leaving directory '/usr/src/linux-headers-6.3.0-1-cloud-amd64'
>  57s autopkgtest [03:20:42]: test kbuild: -----------------------]
>  57s autopkgtest [03:20:42]: test kbuild:  - - - - - - - - - - results - - -
> - - - - - - -
>  57s kbuild               FAIL stderr: E: Unexpected warning/error messages

That should be the same root cause as #1040178. Merging both.

The upload 6.4.4-1 to unstable should address this now.

Regards,
Salvatore


Reply to: