FreeBSD-main-amd64-gcc12_build - Build #633 - Still Failing
Date: Sat, 18 Mar 2023 11:51:18 UTC
FreeBSD-main-amd64-gcc12_build - Build #633 (8ea7fa16d9fe5acb7d42a223efbfa23627aa5e0c) - Still Failing
Build information: https://ci.FreeBSD.org/job/FreeBSD-main-amd64-gcc12_build/633/
Full change log: https://ci.FreeBSD.org/job/FreeBSD-main-amd64-gcc12_build/633/changes
Full build log: https://ci.FreeBSD.org/job/FreeBSD-main-amd64-gcc12_build/633/console
Status explanation:
"Failure" - the build is suspected being broken by the following changes
"Still Failing" - the build has not been fixed by the following changes and
this is a notification to note that these changes have
not been fully tested by the CI system
Change summaries:
(Those commits are likely but not certainly responsible)
927358dd98cb902160093e0dc0bac002d6b43858 by whu:
amd64 loader: Use efiserialio for Hyper-V booted systems
8ea7fa16d9fe5acb7d42a223efbfa23627aa5e0c by whu:
uart: Don't change settings or throttle putc for Hyper-V
The end of the build log:
[...truncated 82.77 MB...]
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/new:254:6: warning: 'always_inline' function might not be inlinable [-Wattributes]
254 | void __libcpp_operator_delete(_Args ...__args) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/new:277:6: warning: 'always_inline' function might not be inlinable [-Wattributes]
277 | void __do_deallocate_handle_size(void *__ptr, size_t __size, _Args ...__args) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/new:244:7: warning: 'always_inline' function might not be inlinable [-Wattributes]
244 | void* __libcpp_operator_new(_Args ...__args) {
| ^~~~~~~~~~~~~~~~~~~~~
--- all_subdir_usr.sbin ---
--- all_subdir_usr.sbin/acpi ---
--- exmutex.o ---
/usr/local/bin/x86_64-unknown-freebsd13.1-gcc12 --sysroot=/tmp/obj/workspace/src/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.1/bin/ -O2 -pipe -fno-common -DACPI_DB_APP -DACPI_EXEC_APP -fno-strict-aliasing -I/workspace/src/sys -fPIE -g -MD -MF.depend.exmutex.o -MTexmutex.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wdate-time -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered -Wno-error=deprecated-declarations -Wno-error=enum-compare -Wno-error=extra -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-value -Wno-error=empty-body -Wno-error=maybe-uninitialized -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=tautological-compare -Wno-error=unused-const-variable -Wno-error=bool-operation -Wno-error=deprecated -Wno-error=expansion-to-defined -Wno-error=format-overflow -Wno-error=format-truncation -Wno-error=implicit-fallthrough -Wno-error=int-in-bool-context -Wno-error=memset-elt-size -Wno-error=noexcept-type -Wno-error=nonnull -Wno-error=pointer-compare -Wno-error=stringop-overflow -Wno-error=aggressive-loop-optimizations -Wno-error=cast-function-type -Wno-error=catch-value -Wno-error=multistatement-macros -Wno-error=restrict -Wno-error=sizeof-pointer-memaccess -Wno-error=stringop-truncation -Wno-return-type -Wno-address-of-packed-member -c /workspace/src/sys/contrib/dev/acpica/components/executer/exmutex.c -o exmutex.o
--- all_subdir_usr.sbin/bhyve ---
--- bhyvegc.o ---
/usr/local/bin/x86_64-unknown-freebsd13.1-gcc12 --sysroot=/tmp/obj/workspace/src/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.1/bin/ -O2 -pipe -fno-common -I/workspace/src/usr.sbin/bhyve/../../contrib/lib9p -I/workspace/src/sys -DINET -DINET6 -DNETGRAPH -I/workspace/src/sys/dev/e1000 -I/workspace/src/sys/dev/mii -I/workspace/src/sys/dev/usb/controller -fPIE -g -MD -MF.depend.bhyvegc.o -MTbhyvegc.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered -Wno-error=deprecated-declarations -Wno-error=enum-compare -Wno-error=extra -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-value -Wno-error=empty-body -Wno-error=maybe-uninitialized -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=tautological-compare -Wno-error=unused-const-variable -Wno-error=bool-operation -Wno-error=deprecated -Wno-error=expansion-to-defined -Wno-error=format-overflow -Wno-error=format-truncation -Wno-error=implicit-fallthrough -Wno-error=int-in-bool-context -Wno-error=memset-elt-size -Wno-error=noexcept-type -Wno-error=nonnull -Wno-error=pointer-compare -Wno-error=stringop-overflow -Wno-error=aggressive-loop-optimizations -Wno-error=cast-function-type -Wno-error=catch-value -Wno-error=multistatement-macros -Wno-error=restrict -Wno-error=sizeof-pointer-memaccess -Wno-error=stringop-truncation -Wno-return-type -c /workspace/src/usr.sbin/bhyve/bhyvegc.c -o bhyvegc.o
--- bhyverun.o ---
/usr/local/bin/x86_64-unknown-freebsd13.1-gcc12 --sysroot=/tmp/obj/workspace/src/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.1/bin/ -O2 -pipe -fno-common -I/workspace/src/usr.sbin/bhyve/../../contrib/lib9p -I/workspace/src/sys -DINET -DINET6 -DNETGRAPH -I/workspace/src/sys/dev/e1000 -I/workspace/src/sys/dev/mii -I/workspace/src/sys/dev/usb/controller -fPIE -g -MD -MF.depend.bhyverun.o -MTbhyverun.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered -Wno-error=deprecated-declarations -Wno-error=enum-compare -Wno-error=extra -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-value -Wno-error=empty-body -Wno-error=maybe-uninitialized -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=tautological-compare -Wno-error=unused-const-variable -Wno-error=bool-operation -Wno-error=deprecated -Wno-error=expansion-to-defined -Wno-error=format-overflow -Wno-error=format-truncation -Wno-error=implicit-fallthrough -Wno-error=int-in-bool-context -Wno-error=memset-elt-size -Wno-error=noexcept-type -Wno-error=nonnull -Wno-error=pointer-compare -Wno-error=stringop-overflow -Wno-error=aggressive-loop-optimizations -Wno-error=cast-function-type -Wno-error=catch-value -Wno-error=multistatement-macros -Wno-error=restrict -Wno-error=sizeof-pointer-memaccess -Wno-error=stringop-truncation -Wno-return-type -c /workspace/src/usr.sbin/bhyve/bhyverun.c -o bhyverun.o
--- all_subdir_usr.sbin/acpi ---
--- exnames.o ---
/usr/local/bin/x86_64-unknown-freebsd13.1-gcc12 --sysroot=/tmp/obj/workspace/src/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.1/bin/ -O2 -pipe -fno-common -DACPI_DB_APP -DACPI_EXEC_APP -fno-strict-aliasing -I/workspace/src/sys -fPIE -g -MD -MF.depend.exnames.o -MTexnames.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wdate-time -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered -Wno-error=deprecated-declarations -Wno-error=enum-compare -Wno-error=extra -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-value -Wno-error=empty-body -Wno-error=maybe-uninitialized -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=tautological-compare -Wno-error=unused-const-variable -Wno-error=bool-operation -Wno-error=deprecated -Wno-error=expansion-to-defined -Wno-error=format-overflow -Wno-error=format-truncation -Wno-error=implicit-fallthrough -Wno-error=int-in-bool-context -Wno-error=memset-elt-size -Wno-error=noexcept-type -Wno-error=nonnull -Wno-error=pointer-compare -Wno-error=stringop-overflow -Wno-error=aggressive-loop-optimizations -Wno-error=cast-function-type -Wno-error=catch-value -Wno-error=multistatement-macros -Wno-error=restrict -Wno-error=sizeof-pointer-memaccess -Wno-error=stringop-truncation -Wno-return-type -Wno-address-of-packed-member -c /workspace/src/sys/contrib/dev/acpica/components/executer/exnames.c -o exnames.o
--- all_subdir_lib ---
--- all_subdir_lib/googletest/tests/gtest_main ---
--- gtest_prod_test ---
(cd /workspace/src/lib/googletest/tests/gtest_main && DEPENDFILE=.depend.gtest_prod_test NO_SUBDIR=1 make -f /workspace/src/lib/googletest/tests/gtest_main/Makefile _RECURSING_PROGS=t PROG=gtest_prod_test PROG_CXX=gtest_prod_test)
--- .depend.gtest_prod_test ---
echo gtest_prod_test: /tmp/obj/workspace/src/amd64.amd64/tmp/usr/lib/libc.a /tmp/obj/workspace/src/amd64.amd64/tmp/usr/lib/libprivategtest.a /tmp/obj/workspace/src/amd64.amd64/tmp/usr/lib/libprivategtest_main.a /tmp/obj/workspace/src/amd64.amd64/tmp/usr/lib/libprivategtest.a >> .depend.gtest_prod_test
echo gtest_prod_test: /tmp/obj/workspace/src/amd64.amd64/tmp/usr/lib/libc++.a >> .depend.gtest_prod_test
--- gtest_prod_test.o ---
/usr/local/bin/x86_64-unknown-freebsd13.1-g++12 --sysroot=/tmp/obj/workspace/src/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.1/bin/ -O2 -pipe -fno-common -fPIE -MD -MF.depend.gtest_prod_test.gtest_prod_test.o -MTgtest_prod_test.o -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wdate-time -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered -Wno-error=deprecated-declarations -Wno-error=enum-compare -Wno-error=extra -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-value -Wno-error=empty-body -Wno-error=maybe-uninitialized -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=tautological-compare -Wno-error=unused-const-variable -Wno-error=bool-operation -Wno-error=deprecated -Wno-error=expansion-to-defined -Wno-error=format-overflow -Wno-error=format-truncation -Wno-error=implicit-fallthrough -Wno-error=int-in-bool-context -Wno-error=memset-elt-size -Wno-error=noexcept-type -Wno-error=nonnull -Wno-error=pointer-compare -Wno-error=stringop-overflow -Wno-error=aggressive-loop-optimizations -Wno-error=cast-function-type -Wno-error=catch-value -Wno-error=multistatement-macros -Wno-error=restrict -Wno-error=sizeof-pointer-memaccess -Wno-error=stringop-truncation -Wno-return-type -I/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/private -I/workspace/src/contrib/googletest/googletest/include -I/workspace/src/contrib/googletest/googletest -I/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/private -DGTEST_HAS_POSIX_RE=1 -DGTEST_HAS_PTHREAD=1 -DGTEST_HAS_STREAM_REDIRECTION=1 -frtti -DGTEST_HAS_POSIX_RE=1 -DGTEST_HAS_PTHREAD=1 -DGTEST_HAS_STREAM_REDIRECTION=1 -frtti -fPIE -std=c++11 -Wno-deprecated-copy -Wno-literal-suffix -Wno-error=unknown-pragmas -c /workspace/src/contrib/googletest/googletest/test/gtest_prod_test.cc -o gtest_prod_test.o
--- all_subdir_usr.sbin ---
--- all_subdir_usr.sbin/bhyve ---
In file included from /workspace/src/usr.sbin/bhyve/bhyverun.c:31:
/workspace/src/usr.sbin/bhyve/bhyverun.c: In function 'main':
/workspace/src/sys/sys/cdefs.h:327:53: warning: left-hand operand of comma expression has no effect [-Wunused-value]
327 | __builtin_types_compatible_p(__typeof((0, (expr))), t), yes, no)
| ^
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/libgen.h:61:25: note: in expansion of macro '__generic'
61 | #define basename(x) __generic(x, const char *, __old_basename, basename)(x)
| ^~~~~~~~~
/workspace/src/usr.sbin/bhyve/bhyverun.c:1470:13: error: 'qemu_fwcfg_add_file' reading 56 bytes from a region of size 18 [-Werror=stringop-overread]
1470 | if (qemu_fwcfg_add_file("opt/bhyve/hw.ncpu", sizeof(guest_ncpus),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1471 | &guest_ncpus) != 0) {
| ~~~~~~~~~~~~~
/workspace/src/usr.sbin/bhyve/bhyverun.c:1470:13: note: referencing argument 1 of type 'const uint8_t[56]' {aka 'const unsigned char[56]'}
In file included from /workspace/src/usr.sbin/bhyve/bhyverun.c:104:
/workspace/src/usr.sbin/bhyve/qemu_fwcfg.h:21:5: note: in a call to function 'qemu_fwcfg_add_file'
21 | int qemu_fwcfg_add_file(const uint8_t name[QEMU_FWCFG_MAX_NAME],
| ^~~~~~~~~~~~~~~~~~~
--- all_subdir_usr.sbin/acpi ---
--- exoparg1.o ---
/usr/local/bin/x86_64-unknown-freebsd13.1-gcc12 --sysroot=/tmp/obj/workspace/src/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.1/bin/ -O2 -pipe -fno-common -DACPI_DB_APP -DACPI_EXEC_APP -fno-strict-aliasing -I/workspace/src/sys -fPIE -g -MD -MF.depend.exoparg1.o -MTexoparg1.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wdate-time -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered -Wno-error=deprecated-declarations -Wno-error=enum-compare -Wno-error=extra -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-value -Wno-error=empty-body -Wno-error=maybe-uninitialized -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=tautological-compare -Wno-error=unused-const-variable -Wno-error=bool-operation -Wno-error=deprecated -Wno-error=expansion-to-defined -Wno-error=format-overflow -Wno-error=format-truncation -Wno-error=implicit-fallthrough -Wno-error=int-in-bool-context -Wno-error=memset-elt-size -Wno-error=noexcept-type -Wno-error=nonnull -Wno-error=pointer-compare -Wno-error=stringop-overflow -Wno-error=aggressive-loop-optimizations -Wno-error=cast-function-type -Wno-error=catch-value -Wno-error=multistatement-macros -Wno-error=restrict -Wno-error=sizeof-pointer-memaccess -Wno-error=stringop-truncation -Wno-return-type -Wno-address-of-packed-member -c /workspace/src/sys/contrib/dev/acpica/components/executer/exoparg1.c -o exoparg1.o
--- all_subdir_usr.bin ---
--- file.o ---
/usr/local/bin/x86_64-unknown-freebsd13.1-gcc12 --sysroot=/tmp/obj/workspace/src/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.1/bin/ -O2 -pipe -fno-common -fPIE -g -MD -MF.depend.file.o -MTfile.o -std=c11 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered -Wno-error=deprecated-declarations -Wno-error=enum-compare -Wno-error=extra -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-value -Wno-error=empty-body -Wno-error=maybe-uninitialized -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=tautological-compare -Wno-error=unused-const-variable -Wno-error=bool-operation -Wno-error=deprecated -Wno-error=expansion-to-defined -Wno-error=format-overflow -Wno-error=format-truncation -Wno-error=implicit-fallthrough -Wno-error=int-in-bool-context -Wno-error=memset-elt-size -Wno-error=noexcept-type -Wno-error=nonnull -Wno-error=pointer-compare -Wno-error=stringop-overflow -Wno-error=aggressive-loop-optimizations -Wno-error=cast-function-type -Wno-error=catch-value -Wno-error=multistatement-macros -Wno-error=restrict -Wno-error=sizeof-pointer-memaccess -Wno-error=stringop-truncation -Wno-return-type -c /workspace/src/usr.bin/sort/file.c -o file.o
--- all_subdir_usr.sbin ---
--- all_subdir_usr.sbin/bhyve ---
/workspace/src/usr.sbin/bhyve/bhyverun.c:1470:13: error: 'qemu_fwcfg_add_file' reading 56 bytes from a region of size 18 [-Werror=stringop-overread]
1470 | if (qemu_fwcfg_add_file("opt/bhyve/hw.ncpu", sizeof(guest_ncpus),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1471 | &guest_ncpus) != 0) {
| ~~~~~~~~~~~~~
/workspace/src/usr.sbin/bhyve/bhyverun.c:1470:13: note: referencing argument 1 of type 'const uint8_t[56]' {aka 'const unsigned char[56]'}
/workspace/src/usr.sbin/bhyve/qemu_fwcfg.h:21:5: note: in a call to function 'qemu_fwcfg_add_file'
21 | int qemu_fwcfg_add_file(const uint8_t name[QEMU_FWCFG_MAX_NAME],
| ^~~~~~~~~~~~~~~~~~~
/workspace/src/usr.sbin/bhyve/bhyverun.c:476:52: warning: '.cpuset' directive output may be truncated writing 7 bytes into a region of size between 1 and 10 [-Wformat-truncation=]
476 | snprintf(key, sizeof(key), "vcpu.%d.cpuset", vcpu);
| ^~~~~~~
In function 'build_vcpumaps',
inlined from 'main' at /workspace/src/usr.sbin/bhyve/bhyverun.c:1405:2:
/workspace/src/usr.sbin/bhyve/bhyverun.c:476:17: note: 'snprintf' output between 14 and 23 bytes into a destination of size 16
476 | snprintf(key, sizeof(key), "vcpu.%d.cpuset", vcpu);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workspace/src/usr.sbin/bhyve/bhyverun.c: In function 'main':
/workspace/src/usr.sbin/bhyve/bhyverun.c:407:44: warning: '.cpuset' directive output may be truncated writing 7 bytes into a region of size between 1 and 10 [-Wformat-truncation=]
407 | snprintf(key, sizeof(key), "vcpu.%d.cpuset", vcpu);
| ^~~~~~~
In function 'pincpu_parse',
inlined from 'main' at /workspace/src/usr.sbin/bhyve/bhyverun.c:1275:29:
/workspace/src/usr.sbin/bhyve/bhyverun.c:407:9: note: 'snprintf' output between 14 and 23 bytes into a destination of size 16
407 | snprintf(key, sizeof(key), "vcpu.%d.cpuset", vcpu);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workspace/src/usr.sbin/bhyve/bhyverun.c: In function 'main':
/workspace/src/usr.sbin/bhyve/bhyverun.c:1470:13: error: 'qemu_fwcfg_add_file' reading 56 bytes from a region of size 18 [-Werror=stringop-overread]
1470 | if (qemu_fwcfg_add_file("opt/bhyve/hw.ncpu", sizeof(guest_ncpus),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1471 | &guest_ncpus) != 0) {
| ~~~~~~~~~~~~~
/workspace/src/usr.sbin/bhyve/bhyverun.c:1470:13: note: referencing argument 1 of type 'const uint8_t[56]' {aka 'const unsigned char[56]'}
/workspace/src/usr.sbin/bhyve/qemu_fwcfg.h:21:5: note: in a call to function 'qemu_fwcfg_add_file'
21 | int qemu_fwcfg_add_file(const uint8_t name[QEMU_FWCFG_MAX_NAME],
| ^~~~~~~~~~~~~~~~~~~
--- all_subdir_lib ---
In file included from /tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__functional/hash.h:13,
from /tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/bitset:119,
from /tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/ostream:168,
from /tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/private/gtest/gtest.h:56,
from /workspace/src/contrib/googletest/googletest/test/gtest_prod_test.cc:34:
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__functional/unary_function.h:42:26: warning: 'template<class _Arg, class _Result> struct std::__1::unary_function' is deprecated [-Wdeprecated-declarations]
42 | using __unary_function = unary_function<_Arg, _Result>;
| ^~~~~~~~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__functional/unary_function.h:23:57: note: declared here
23 | struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
| ^~~~~~~~~~~~~~
In file included from /tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/memory:852,
from /tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/string:549,
from /tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/bitset:128:
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:39:60: warning: 'template<class _Tp> class std::__1::auto_ptr' is deprecated [-Wdeprecated-declarations]
39 | template<class _Up> _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr<_Up>& __p) _NOEXCEPT
| ^~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:30:56: note: declared here
30 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr
| ^~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:43:71: warning: 'template<class _Tp> class std::__1::auto_ptr' is deprecated [-Wdeprecated-declarations]
43 | template<class _Up> _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr<_Up>& __p) _NOEXCEPT
| ^~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:30:56: note: declared here
30 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr
| ^~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:45:51: warning: 'template<class _Tp> struct std::__1::auto_ptr_ref' is deprecated [-Wdeprecated-declarations]
45 | _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr_ref<_Tp> __p) _NOEXCEPT
| ^~~~~~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:24:36: note: declared here
24 | struct _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr_ref
| ^~~~~~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:66:40: warning: 'template<class _Tp> struct std::__1::auto_ptr_ref' is deprecated [-Wdeprecated-declarations]
66 | _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr_ref<_Tp> __p) _NOEXCEPT : __ptr_(__p.__ptr_) {}
| ^~~~~~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:24:36: note: declared here
24 | struct _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr_ref
| ^~~~~~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:67:60: warning: 'template<class _Tp> struct std::__1::auto_ptr_ref' is deprecated [-Wdeprecated-declarations]
67 | template<class _Up> _LIBCPP_INLINE_VISIBILITY operator auto_ptr_ref<_Up>() _NOEXCEPT
| ^~~~~~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:24:36: note: declared here
24 | struct _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr_ref
| ^~~~~~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:69:60: warning: 'template<class _Tp> class std::__1::auto_ptr' is deprecated [-Wdeprecated-declarations]
69 | template<class _Up> _LIBCPP_INLINE_VISIBILITY operator auto_ptr<_Up>() _NOEXCEPT
| ^~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:30:56: note: declared here
30 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr
| ^~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h: In member function 'std::__1::auto_ptr<_Tp>::operator std::__1::auto_ptr_ref<_Up>()':
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:68:10: warning: 'template<class _Tp> struct std::__1::auto_ptr_ref' is deprecated [-Wdeprecated-declarations]
68 | {auto_ptr_ref<_Up> __t; __t.__ptr_ = release(); return __t;}
| ^~~~~~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:24:36: note: declared here
24 | struct _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr_ref
| ^~~~~~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h: In member function 'std::__1::auto_ptr<_Tp>::operator std::__1::auto_ptr<_Up>()':
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:70:17: warning: 'template<class _Tp> class std::__1::auto_ptr' is deprecated [-Wdeprecated-declarations]
70 | {return auto_ptr<_Up>(release());}
| ^~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:30:56: note: declared here
30 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr
| ^~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h: At global scope:
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:74:56: warning: 'template<class _Tp> class std::__1::auto_ptr' is deprecated [-Wdeprecated-declarations]
74 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr<void>
| ^~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:30:56: note: declared here
30 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr
| ^~~~~~~~
--- all_subdir_usr.sbin ---
--- all_subdir_usr.sbin/acpi ---
--- exoparg2.o ---
/usr/local/bin/x86_64-unknown-freebsd13.1-gcc12 --sysroot=/tmp/obj/workspace/src/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.1/bin/ -O2 -pipe -fno-common -DACPI_DB_APP -DACPI_EXEC_APP -fno-strict-aliasing -I/workspace/src/sys -fPIE -g -MD -MF.depend.exoparg2.o -MTexoparg2.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wdate-time -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered -Wno-error=deprecated-declarations -Wno-error=enum-compare -Wno-error=extra -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-value -Wno-error=empty-body -Wno-error=maybe-uninitialized -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=tautological-compare -Wno-error=unused-const-variable -Wno-error=bool-operation -Wno-error=deprecated -Wno-error=expansion-to-defined -Wno-error=format-overflow -Wno-error=format-truncation -Wno-error=implicit-fallthrough -Wno-error=int-in-bool-context -Wno-error=memset-elt-size -Wno-error=noexcept-type -Wno-error=nonnull -Wno-error=pointer-compare -Wno-error=stringop-overflow -Wno-error=aggressive-loop-optimizations -Wno-error=cast-function-type -Wno-error=catch-value -Wno-error=multistatement-macros -Wno-error=restrict -Wno-error=sizeof-pointer-memaccess -Wno-error=stringop-truncation -Wno-return-type -Wno-address-of-packed-member -c /workspace/src/sys/contrib/dev/acpica/components/executer/exoparg2.c -o exoparg2.o
--- all_subdir_lib ---
In file included from /tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/shared_ptr.h:15,
from /tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/memory:860:
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__functional/binary_function.h:45:27: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::__1::binary_function' is deprecated [-Wdeprecated-declarations]
45 | using __binary_function = binary_function<_Arg1, _Arg2, _Result>;
| ^~~~~~~~~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__functional/binary_function.h:24:57: note: declared here
24 | struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function
| ^~~~~~~~~~~~~~~
In file included from /tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/shared_ptr.h:28:
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/unique_ptr.h:216:14: warning: 'template<class _Tp> class std::__1::auto_ptr' is deprecated [-Wdeprecated-declarations]
216 | unique_ptr(auto_ptr<_Up>&& __p,
| ^~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:30:56: note: declared here
30 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr
| ^~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/unique_ptr.h:247:17: warning: 'template<class _Tp> class std::__1::auto_ptr' is deprecated [-Wdeprecated-declarations]
247 | operator=(auto_ptr<_Up> __p) {
| ^~~~~~~~
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/auto_ptr.h:30:56: note: declared here
30 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr
| ^~~~~~~~
--- all_subdir_usr.sbin ---
--- all_subdir_usr.sbin/bhyve ---
cc1: all warnings being treated as errors
--- all_subdir_lib ---
/tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/unique_ptr.h:732:50: warning: type attributes ignored after type is already defined [-Wattributes]
732 | template <class _Tp> struct _LIBCPP_TEMPLATE_VIS hash;
| ^~~~
--- all_subdir_usr.sbin ---
*** [bhyverun.o] Error code 1
make[4]: stopped in /workspace/src/usr.sbin/bhyve
1 error
make[4]: stopped in /workspace/src/usr.sbin/bhyve
make[3]: stopped in /workspace/src/usr.sbin
--- all_subdir_lib ---
make[2]: stopped in /workspace/src
--- all_subdir_usr.bin ---
make[2]: stopped in /workspace/src
--- all_subdir_tests ---
make[5]: stopped in /workspace/src/tests/sys/fs
--- all_subdir_usr.sbin ---
--- all_subdir_usr.sbin/acpi ---
make[4]: stopped in /workspace/src/usr.sbin/acpi
make[3]: stopped in /workspace/src/usr.sbin
make[2]: stopped in /workspace/src
--- all_subdir_tests ---
make[4]: stopped in /workspace/src/tests/sys
make[3]: stopped in /workspace/src/tests
make[2]: stopped in /workspace/src
161.29 real 1553.31 user 164.78 sys
make[1]: stopped in /workspace/src
make: stopped in /workspace/src
Build step 'Execute shell' marked build as failure
[WARNINGS]Skipping publisher since build result is FAILURE
[PostBuildScript] - [INFO] Executing post build scripts.
[FreeBSD-main-amd64-gcc12_build] $ /bin/sh -xe /tmp/jenkins6082657409709783605.sh
+ sh freebsd-ci/scripts/jail/clean.sh
clean jail FreeBSD-main-amd64-gcc12_build
Checking for post-build
Performing post-build step
Checking if email needs to be generated
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Sending mail from default account using System Admin e-mail address