Backport the security patch of CVE-2024-39894 #1401
Cirrus CI / amd64-gcc12 World and kernel build and boot smoke test (FreeBSD repo)
failed
Sep 2, 2024 in 34m 17s
Task Summary
Instruction build_kernel failed in 00:58
Details
✅ 12:38 clone
✅ 00:08 install
✅ 00:01 setup
✅ 20:28 build_world
❌ 00:58 build_kernel
ctfconvert -L VERSION -g ext2_inode_cnv.o
ERROR: ctfconvert: rc = 1 Unsupported version [_dwarf_info_load(229)]
--- all_subdir_firewire ---
--- all_subdir_firewire/fwe ---
===> firewire/fwe (all)
[Creating objdir /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC/modules/tmp/cirrus-ci-build/sys/modules/firewire/fwe...]
--- all_subdir_firewire/firewire ---
--- fwohci.o ---
/usr/local/bin/x86_64-unknown-freebsd13.3-gcc12 --sysroot=/usr/obj/tmp/cirrus-ci-build/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.3/bin/ -O2 -pipe -fno-common -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/tmp/cirrus-ci-build/sys -I/tmp/cirrus-ci-build/sys/contrib/ck/include -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/tmp/cirrus-ci-build/sys/amd64/include -fdebug-prefix-map=./x86=/tmp/cirrus-ci-build/sys/x86/include -fdebug-prefix-map=./i386=/tmp/cirrus-ci-build/sys/i386/include -I/usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC -MD -MF.depend.fwohci.o -MTfwohci.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=address -Wno-error=aggressive-loop-optimizations -Wno-error=array-bounds -Wno-error=attributes -Wno-error=cast-qual -Wno-error=enum-compare -Wno-error=maybe-uninitialized -Wno-error=misleading-indentation -Wno-error=nonnull-compare -Wno-error=overflow -Wno-error=sequence-point -Wno-error=shift-overflow -Wno-error=tautological-compare -Wno-error=unused-function -Wno-error=stringop-overflow -Wno-error=memset-elt-size -Wno-error=packed-not-aligned -Wno-address-of-packed-member -Wno-error=alloca-larger-than= -Wno-error=nonnull -Wno-dangling-pointer -Wno-zero-length-bounds -Wno-return-type -Wno-format-zero-length -finline-limit=8000 -fms-extensions --param inline-unit-growth=100 --param large-function-growth=1000 -std=gnu99 -c /tmp/cirrus-ci-build/sys/dev/firewire/fwohci.c -o fwohci.o
--- all_subdir_firewire/fwe ---
--- machine ---
machine -> /tmp/cirrus-ci-build/sys/amd64/include
--- x86 ---
x86 -> /tmp/cirrus-ci-build/sys/x86/include
--- i386 ---
i386 -> /tmp/cirrus-ci-build/sys/i386/include
--- opt_inet.h ---
ln -sf /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC/opt_inet.h opt_inet.h
--- bus_if.h ---
awk -f /tmp/cirrus-ci-build/sys/tools/makeobjops.awk /tmp/cirrus-ci-build/sys/kern/bus_if.m -h
--- device_if.h ---
awk -f /tmp/cirrus-ci-build/sys/tools/makeobjops.awk /tmp/cirrus-ci-build/sys/kern/device_if.m -h
--- genoffset.o ---
/usr/local/bin/x86_64-unknown-freebsd13.3-gcc12 --sysroot=/usr/obj/tmp/cirrus-ci-build/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.3/bin/ -c -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/tmp/cirrus-ci-build/sys -I/tmp/cirrus-ci-build/sys/contrib/ck/include -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/tmp/cirrus-ci-build/sys/amd64/include -fdebug-prefix-map=./x86=/tmp/cirrus-ci-build/sys/x86/include -fdebug-prefix-map=./i386=/tmp/cirrus-ci-build/sys/i386/include -I/usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC -MD -MF.depend.genoffset.o -MTgenoffset.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=address -Wno-error=aggressive-loop-optimizations -Wno-error=array-bounds -Wno-error=attributes -Wno-error=cast-qual -Wno-error=enum-compare -Wno-error=maybe-uninitialized -Wno-error=misleading-indentation -Wno-error=nonnull-compare -Wno-error=overflow -Wno-error=sequence-point -Wno-error=shift-overflow -Wno-error=tautological-compare -Wno-error=unused-function -Wno-error=stringop-overflow -Wno-error=memset-elt-size -Wno-error=packed-not-aligned -Wno-address-of-packed-member -Wno-error=alloca-larger-than= -Wno-error=nonnull -Wno-dangling-pointer -Wno-zero-length-bounds -Wno-return-type -Wno-format-zero-length -finline-limit=8000 -fms-extensions --param inline-unit-growth=100 --param large-function-growth=1000 -std=gnu99 -fcommon /tmp/cirrus-ci-build/sys/kern/genoffset.c
--- offset.inc ---
sh /tmp/cirrus-ci-build/sys/kern/genoffset.sh genoffset.o > offset.inc
--- if_fwe.o ---
/usr/local/bin/x86_64-unknown-freebsd13.3-gcc12 --sysroot=/usr/obj/tmp/cirrus-ci-build/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.3/bin/ -O2 -pipe -fno-common -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/tmp/cirrus-ci-build/sys -I/tmp/cirrus-ci-build/sys/contrib/ck/include -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/tmp/cirrus-ci-build/sys/amd64/include -fdebug-prefix-map=./x86=/tmp/cirrus-ci-build/sys/x86/include -fdebug-prefix-map=./i386=/tmp/cirrus-ci-build/sys/i386/include -I/usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC -MD -MF.depend.if_fwe.o -MTif_fwe.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=address -Wno-error=aggressive-loop-optimizations -Wno-error=array-bounds -Wno-error=attributes -Wno-error=cast-qual -Wno-error=enum-compare -Wno-error=maybe-uninitialized -Wno-error=misleading-indentation -Wno-error=nonnull-compare -Wno-error=overflow -Wno-error=sequence-point -Wno-error=shift-overflow -Wno-error=tautological-compare -Wno-error=unused-function -Wno-error=stringop-overflow -Wno-error=memset-elt-size -Wno-error=packed-not-aligned -Wno-address-of-packed-member -Wno-error=alloca-larger-than= -Wno-error=nonnull -Wno-dangling-pointer -Wno-zero-length-bounds -Wno-return-type -Wno-format-zero-length -finline-limit=8000 -fms-extensions --param inline-unit-growth=100 --param large-function-growth=1000 -std=gnu99 -c /tmp/cirrus-ci-build/sys/dev/firewire/if_fwe.c -o if_fwe.o
--- all_subdir_fib_dxr ---
ctfconvert -L VERSION -g in_fib_dxr.o
ERROR: ctfconvert: rc = 1 Unsupported version [_dwarf_info_load(229)]
--- fib_dxr.ko.full ---
/usr/local/x86_64-unknown-freebsd13.3/bin/ld -m elf_x86_64_fbsd -d -warn-common --build-id=sha1 -T /tmp/cirrus-ci-build/sys/conf/ldscript.kmod.amd64 -r -o fib_dxr.ko.full in_fib_dxr.o
ctfmerge -L VERSION -g -o fib_dxr.ko.full in_fib_dxr.o
ERROR: ctfmerge: No ctf sections found to merge
:> export_syms
awk -f /tmp/cirrus-ci-build/sys/conf/kmod_syms.awk fib_dxr.ko.full export_syms | xargs -J% /usr/local/x86_64-unknown-freebsd13.3/bin/objcopy % fib_dxr.ko.full
--- fib_dxr.ko.debug ---
/usr/local/x86_64-unknown-freebsd13.3/bin/objcopy --only-keep-debug fib_dxr.ko.full fib_dxr.ko.debug
--- fib_dxr.ko ---
/usr/local/x86_64-unknown-freebsd13.3/bin/objcopy --strip-debug --add-gnu-debuglink=fib_dxr.ko.debug fib_dxr.ko.full fib_dxr.ko
--- all_subdir_ext2fs ---
--- ext2_lookup.o ---
/usr/local/bin/x86_64-unknown-freebsd13.3-gcc12 --sysroot=/usr/obj/tmp/cirrus-ci-build/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.3/bin/ -O2 -pipe -fno-common -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/tmp/cirrus-ci-build/sys -I/tmp/cirrus-ci-build/sys/contrib/ck/include -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/tmp/cirrus-ci-build/sys/amd64/include -fdebug-prefix-map=./x86=/tmp/cirrus-ci-build/sys/x86/include -fdebug-prefix-map=./i386=/tmp/cirrus-ci-build/sys/i386/include -I/usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC -MD -MF.depend.ext2_lookup.o -MText2_lookup.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=address -Wno-error=aggressive-loop-optimizations -Wno-error=array-bounds -Wno-error=attributes -Wno-error=cast-qual -Wno-error=enum-compare -Wno-error=maybe-uninitialized -Wno-error=misleading-indentation -Wno-error=nonnull-compare -Wno-error=overflow -Wno-error=sequence-point -Wno-error=shift-overflow -Wno-error=tautological-compare -Wno-error=unused-function -Wno-error=stringop-overflow -Wno-error=memset-elt-size -Wno-error=packed-not-aligned -Wno-address-of-packed-member -Wno-error=alloca-larger-than= -Wno-error=nonnull -Wno-dangling-pointer -Wno-zero-length-bounds -Wno-return-type -Wno-format-zero-length -finline-limit=8000 -fms-extensions --param inline-unit-growth=100 --param large-function-growth=1000 -std=gnu99 -c /tmp/cirrus-ci-build/sys/fs/ext2fs/ext2_lookup.c -o ext2_lookup.o
--- ext2_inode.o ---
cc1: all warnings being treated as errors
*** [ext2_inode.o] Error code 1
make[4]: stopped in /tmp/cirrus-ci-build/sys/modules/ext2fs
55.41 real 25.64 user 1.50 sys
make[1]: stopped in /tmp/cirrus-ci-build
make: stopped in /tmp/cirrus-ci-build
Exit status: 2
Loading