FreeBSD-stable-13-amd64-gcc14_build - Build #73 - Failure

From: <jenkins-admin_at_FreeBSD.org>
Date: Wed, 23 Apr 2025 23:41:52 UTC
FreeBSD-stable-13-amd64-gcc14_build - Build #73 (5195ff613fca40653d263bbada8a335ad864612e) - Failure

Build information: https://ci.FreeBSD.org/job/FreeBSD-stable-13-amd64-gcc14_build/73/
Full change log: https://ci.FreeBSD.org/job/FreeBSD-stable-13-amd64-gcc14_build/73/changes
Full build log: https://ci.FreeBSD.org/job/FreeBSD-stable-13-amd64-gcc14_build/73/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)

5195ff613fca40653d263bbada8a335ad864612e by dim:
Fix build with WITH_CLANG_BOOTSTRAP and WITHOUT_CLANG



The end of the build log:

[...truncated 143.09 MiB...]
/workspace/src/sys/sys/pcpu.h:114:33: note: in definition of macro '_DPCPU_PTR'
  114 |     (__typeof(DPCPU_NAME(n))*)((b) + (uintptr_t)&DPCPU_NAME(n))
      |                                 ^
./machine/pcpu.h:240:33: note: in expansion of macro '__PCPU_GET'
  240 | #define PCPU_GET(member)        __PCPU_GET(pc_ ## member)
      |                                 ^~~~~~~~~~
/workspace/src/sys/sys/pcpu.h:121:44: note: in expansion of macro 'PCPU_GET'
  121 | #define DPCPU_PTR(n)            _DPCPU_PTR(PCPU_GET(dynamic), n)
      |                                            ^~~~~~~~
/workspace/src/sys/kern/kern_exec.c:1494:45: note: in expansion of macro 'DPCPU_PTR'
 1494 |         if (!atomic_cmpset_ptr((uintptr_t *)DPCPU_PTR(exec_args_kva),
      |                                             ^~~~~~~~~
In function 'sys_fexecve':
cc1: note: source object is likely at address zero
--- kern_fork.o ---
In function 'atomic_fetchadd_int',
    inlined from 'refcount_releasen' at /workspace/src/sys/sys/refcount.h:150:8,
    inlined from 'refcount_release' at /workspace/src/sys/sys/refcount.h:172:10,
    inlined from 'do_fork' at /workspace/src/sys/kern/kern_fork.c:743:3,
    inlined from 'fork1' at /workspace/src/sys/kern/kern_fork.c:1080:2,
    inlined from 'sys_vfork' at /workspace/src/sys/kern/kern_fork.c:154:10:
./machine/atomic.h:225:9: warning: array subscript 0 is outside array bounds of 'volatile u_int[0]' {aka 'volatile unsigned int[]'} [-Warray-bounds=]
  225 |         __asm __volatile(
      |         ^~~~~
In function 'sys_vfork':
cc1: note: source object is likely at address zero
In function 'atomic_fetchadd_int',
    inlined from 'refcount_releasen' at /workspace/src/sys/sys/refcount.h:150:8,
    inlined from 'refcount_release' at /workspace/src/sys/sys/refcount.h:172:10,
    inlined from 'do_fork' at /workspace/src/sys/kern/kern_fork.c:743:3,
    inlined from 'fork1' at /workspace/src/sys/kern/kern_fork.c:1080:2,
    inlined from 'sys_vfork' at /workspace/src/sys/kern/kern_fork.c:154:10:
./machine/atomic.h:225:9: warning: array subscript 0 is outside array bounds of 'volatile u_int[0]' {aka 'volatile unsigned int[]'} [-Warray-bounds=]
In function 'sys_vfork':
cc1: note: source object is likely at address zero
In function '_refcount_update_saturated',
    inlined from 'refcount_releasen' at /workspace/src/sys/sys/refcount.h:152:3,
    inlined from 'refcount_release' at /workspace/src/sys/sys/refcount.h:172:10,
    inlined from 'do_fork' at /workspace/src/sys/kern/kern_fork.c:743:3,
    inlined from 'fork1' at /workspace/src/sys/kern/kern_fork.c:1080:2,
    inlined from 'sys_vfork' at /workspace/src/sys/kern/kern_fork.c:154:10:
/workspace/src/sys/sys/atomic_common.h:57:29: warning: array subscript 0 is outside array bounds of 'volatile u_int[0]' {aka 'volatile unsigned int[]'} [-Warray-bounds=]
   57 |     (*(volatile u_int *)(p) = (u_int)(v))
      |     ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/workspace/src/sys/sys/atomic_common.h:86:17: note: in expansion of macro '__atomic_store_int_relaxed'
   86 |             ut: __atomic_store_ ## n ## _relaxed(p, v))
      |                 ^~~~~~~~~~~~~~~
/workspace/src/sys/sys/atomic_common.h:113:9: note: in expansion of macro '__atomic_store_generic'
  113 |         __atomic_store_generic(p, v, int, u_int, int)
      |         ^~~~~~~~~~~~~~~~~~~~~~
/workspace/src/sys/sys/refcount.h:55:9: note: in expansion of macro 'atomic_store_int'
   55 |         atomic_store_int(count, REFCOUNT_SATURATION_VALUE);
      |         ^~~~~~~~~~~~~~~~
In function 'sys_vfork':
cc1: note: source object is likely at address zero
--- kern_intr.o ---
In function '__storeload_barrier',
    inlined from 'atomic_thread_fence_seq_cst' at ./machine/atomic.h:383:2,
    inlined from 'intr_event_barrier' at /workspace/src/sys/kern/kern_intr.c:747:2,
    inlined from 'intr_event_remove_handler' at /workspace/src/sys/kern/kern_intr.c:858:3,
    inlined from 'swi_remove' at /workspace/src/sys/kern/kern_intr.c:1100:10:
./machine/atomic.h:329:9: warning: array subscript 0 is outside array bounds of 'u_int[0]' {aka 'unsigned int[]'} [-Warray-bounds=]
  329 |         __asm __volatile("lock; addl $0,%%gs:%0"
      |         ^~~~~
In function 'swi_remove':
cc1: note: source object is likely at address zero
In function '__storeload_barrier',
    inlined from 'atomic_thread_fence_seq_cst' at ./machine/atomic.h:383:2,
    inlined from 'intr_event_barrier' at /workspace/src/sys/kern/kern_intr.c:747:2,
    inlined from 'intr_event_remove_handler' at /workspace/src/sys/kern/kern_intr.c:858:3,
    inlined from 'swi_remove' at /workspace/src/sys/kern/kern_intr.c:1100:10:
./machine/atomic.h:329:9: warning: array subscript 0 is outside array bounds of 'u_int[0]' {aka 'unsigned int[]'} [-Warray-bounds=]
In function 'swi_remove':
cc1: note: source object is likely at address zero
In function '__storeload_barrier',
    inlined from 'atomic_thread_fence_seq_cst' at ./machine/atomic.h:383:2,
    inlined from 'intr_event_handle' at /workspace/src/sys/kern/kern_intr.c:1358:2:
./machine/atomic.h:329:9: warning: array subscript 0 is outside array bounds of 'u_int[0]' {aka 'unsigned int[]'} [-Warray-bounds=]
  329 |         __asm __volatile("lock; addl $0,%%gs:%0"
      |         ^~~~~
In function 'intr_event_handle':
cc1: note: source object is likely at address zero
In function '__storeload_barrier',
    inlined from 'atomic_thread_fence_seq_cst' at ./machine/atomic.h:383:2,
    inlined from 'intr_event_handle' at /workspace/src/sys/kern/kern_intr.c:1358:2:
./machine/atomic.h:329:9: warning: array subscript 0 is outside array bounds of 'u_int[0]' {aka 'unsigned int[]'} [-Warray-bounds=]
In function 'intr_event_handle':
cc1: note: source object is likely at address zero
ctfconvert -L VERSION -g kern_intr.o
ERROR: ctfconvert: rc = 1 Unsupported version [_dwarf_info_load(229)]
--- kern_linker.o ---
/usr/local/bin/x86_64-unknown-freebsd13.4-gcc14 --sysroot=/tmp/obj/workspace/src/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.4/bin/ -c -O2 -pipe -frename-registers -fno-strict-aliasing  -g -nostdinc  -I. -I/workspace/src/sys -I/workspace/src/sys/contrib/ck/include -I/workspace/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common    -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD  -MF.depend.kern_linker.o -MTkern_linker.o -fdebug-prefix-map=./machine=/workspace/src/sys/amd64/include -fdebug-prefix-map=./x86=/workspace/src/sys/x86/include -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-unused-but-set-variable -Wno-error=stringop-overflow -Wno-error=memset-elt-size -Wno-error=packed-not-aligned -Wno-address-of-packed-member -Wno-alloc-size-larger-than -Wno-error=alloca-larger-than= -Wno-error=nonnull -Wno-dangling-pointer -Wno-zero-length-bounds -Wno-return-type -Wno-format-zero-length   -fms-extensions -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fms-extensions  -std=iso9899:1999 -Werror  /workspace/src/sys/kern/kern_linker.c
--- kern_kthread.o ---
ctfconvert -L VERSION -g kern_kthread.o
ERROR: ctfconvert: rc = 1 Unsupported version [_dwarf_info_load(229)]
--- kern_lock.o ---
/usr/local/bin/x86_64-unknown-freebsd13.4-gcc14 --sysroot=/tmp/obj/workspace/src/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.4/bin/ -c -O2 -pipe -frename-registers -fno-strict-aliasing  -g -nostdinc  -I. -I/workspace/src/sys -I/workspace/src/sys/contrib/ck/include -I/workspace/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common    -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD  -MF.depend.kern_lock.o -MTkern_lock.o -fdebug-prefix-map=./machine=/workspace/src/sys/amd64/include -fdebug-prefix-map=./x86=/workspace/src/sys/x86/include -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-unused-but-set-variable -Wno-error=stringop-overflow -Wno-error=memset-elt-size -Wno-error=packed-not-aligned -Wno-address-of-packed-member -Wno-alloc-size-larger-than -Wno-error=alloca-larger-than= -Wno-error=nonnull -Wno-dangling-pointer -Wno-zero-length-bounds -Wno-return-type -Wno-format-zero-length   -fms-extensions -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fms-extensions  -std=iso9899:1999 -Werror  /workspace/src/sys/kern/kern_lock.c
--- kern_exec.o ---
In function 'exec_alloc_args_kva',
    inlined from 'exec_alloc_args' at /workspace/src/sys/kern/kern_exec.c:1551:22,
    inlined from 'exec_copyin_args' at /workspace/src/sys/kern/kern_exec.c:1314:10,
    inlined from 'sys___mac_execve' at /workspace/src/sys/kern/kern_exec.c:285:10:
./machine/pcpu.h:151:17: warning: array subscript 0 is outside array bounds of 'struct __s[0]' [-Warray-bounds=]
  151 |                 __asm __volatile("mov %%gs:%1,%0"                       \
      |                 ^~~~~
./machine/atomic.h:509:58: note: in definition of macro 'atomic_readandclear_long'
  509 | #define atomic_readandclear_long(p)     atomic_swap_long(p, 0)
      |                                                          ^
/workspace/src/sys/sys/pcpu.h:121:33: note: in expansion of macro '_DPCPU_PTR'
  121 | #define DPCPU_PTR(n)            _DPCPU_PTR(PCPU_GET(dynamic), n)
      |                                 ^~~~~~~~~~
./machine/pcpu.h:240:33: note: in expansion of macro '__PCPU_GET'
  240 | #define PCPU_GET(member)        __PCPU_GET(pc_ ## member)
      |                                 ^~~~~~~~~~
/workspace/src/sys/sys/pcpu.h:121:44: note: in expansion of macro 'PCPU_GET'
  121 | #define DPCPU_PTR(n)            _DPCPU_PTR(PCPU_GET(dynamic), n)
      |                                            ^~~~~~~~
/workspace/src/sys/kern/kern_exec.c:1466:26: note: in expansion of macro 'DPCPU_PTR'
 1466 |             (uintptr_t *)DPCPU_PTR(exec_args_kva));
      |                          ^~~~~~~~~
In function 'sys___mac_execve':
cc1: note: source object is likely at address zero
In function 'exec_release_args_kva',
    inlined from 'exec_free_args_kva' at /workspace/src/sys/kern/kern_exec.c:1507:2,
    inlined from 'exec_free_args' at /workspace/src/sys/kern/kern_exec.c:1560:3,
    inlined from 'do_execve' at /workspace/src/sys/kern/kern_exec.c:1013:2,
    inlined from 'kern_execve' at /workspace/src/sys/kern/kern_exec.c:363:10,
    inlined from 'sys___mac_execve' at /workspace/src/sys/kern/kern_exec.c:288:11:
./machine/pcpu.h:151:17: warning: array subscript 0 is outside array bounds of 'struct __s[0]' [-Warray-bounds=]
  151 |                 __asm __volatile("mov %%gs:%1,%0"                       \
      |                 ^~~~~
/workspace/src/sys/sys/pcpu.h:114:33: note: in definition of macro '_DPCPU_PTR'
  114 |     (__typeof(DPCPU_NAME(n))*)((b) + (uintptr_t)&DPCPU_NAME(n))
      |                                 ^
./machine/pcpu.h:240:33: note: in expansion of macro '__PCPU_GET'
  240 | #define PCPU_GET(member)        __PCPU_GET(pc_ ## member)
      |                                 ^~~~~~~~~~
/workspace/src/sys/sys/pcpu.h:121:44: note: in expansion of macro 'PCPU_GET'
  121 | #define DPCPU_PTR(n)            _DPCPU_PTR(PCPU_GET(dynamic), n)
      |                                            ^~~~~~~~
/workspace/src/sys/kern/kern_exec.c:1494:45: note: in expansion of macro 'DPCPU_PTR'
 1494 |         if (!atomic_cmpset_ptr((uintptr_t *)DPCPU_PTR(exec_args_kva),
      |                                             ^~~~~~~~~
In function 'sys___mac_execve':
cc1: note: source object is likely at address zero
In function 'exec_release_args_kva',
    inlined from 'exec_free_args_kva' at /workspace/src/sys/kern/kern_exec.c:1507:2,
    inlined from 'exec_free_args' at /workspace/src/sys/kern/kern_exec.c:1560:3,
    inlined from 'kern_execve' at /workspace/src/sys/kern/kern_exec.c:360:3,
    inlined from 'sys___mac_execve' at /workspace/src/sys/kern/kern_exec.c:288:11:
./machine/pcpu.h:151:17: warning: array subscript 0 is outside array bounds of 'struct __s[0]' [-Warray-bounds=]
  151 |                 __asm __volatile("mov %%gs:%1,%0"                       \
      |                 ^~~~~
/workspace/src/sys/sys/pcpu.h:114:33: note: in definition of macro '_DPCPU_PTR'
  114 |     (__typeof(DPCPU_NAME(n))*)((b) + (uintptr_t)&DPCPU_NAME(n))
      |                                 ^
./machine/pcpu.h:240:33: note: in expansion of macro '__PCPU_GET'
  240 | #define PCPU_GET(member)        __PCPU_GET(pc_ ## member)
      |                                 ^~~~~~~~~~
/workspace/src/sys/sys/pcpu.h:121:44: note: in expansion of macro 'PCPU_GET'
  121 | #define DPCPU_PTR(n)            _DPCPU_PTR(PCPU_GET(dynamic), n)
      |                                            ^~~~~~~~
/workspace/src/sys/kern/kern_exec.c:1494:45: note: in expansion of macro 'DPCPU_PTR'
 1494 |         if (!atomic_cmpset_ptr((uintptr_t *)DPCPU_PTR(exec_args_kva),
      |                                             ^~~~~~~~~
In function 'sys___mac_execve':
cc1: note: source object is likely at address zero
In function 'exec_release_args_kva',
    inlined from 'exec_free_args_kva' at /workspace/src/sys/kern/kern_exec.c:1507:2,
    inlined from 'exec_free_args' at /workspace/src/sys/kern/kern_exec.c:1560:3,
    inlined from 'exec_copyin_args' at /workspace/src/sys/kern/kern_exec.c:1364:2,
    inlined from 'sys___mac_execve' at /workspace/src/sys/kern/kern_exec.c:285:10:
./machine/pcpu.h:151:17: warning: array subscript 0 is outside array bounds of 'struct __s[0]' [-Warray-bounds=]
  151 |                 __asm __volatile("mov %%gs:%1,%0"                       \
      |                 ^~~~~
/workspace/src/sys/sys/pcpu.h:114:33: note: in definition of macro '_DPCPU_PTR'
  114 |     (__typeof(DPCPU_NAME(n))*)((b) + (uintptr_t)&DPCPU_NAME(n))
      |                                 ^
./machine/pcpu.h:240:33: note: in expansion of macro '__PCPU_GET'
  240 | #define PCPU_GET(member)        __PCPU_GET(pc_ ## member)
      |                                 ^~~~~~~~~~
/workspace/src/sys/sys/pcpu.h:121:44: note: in expansion of macro 'PCPU_GET'
  121 | #define DPCPU_PTR(n)            _DPCPU_PTR(PCPU_GET(dynamic), n)
      |                                            ^~~~~~~~
/workspace/src/sys/kern/kern_exec.c:1494:45: note: in expansion of macro 'DPCPU_PTR'
 1494 |         if (!atomic_cmpset_ptr((uintptr_t *)DPCPU_PTR(exec_args_kva),
      |                                             ^~~~~~~~~
In function 'sys___mac_execve':
cc1: note: source object is likely at address zero
--- kern_lock.o ---
/workspace/src/sys/kern/kern_lock.c:531:1: warning: 'always_inline' function might not be inlinable unless also declared 'inline' [-Wattributes]
  531 | lockmgr_sunlock_try(struct lock *lk, uintptr_t *xp)
      | ^~~~~~~~~~~~~~~~~~~
/workspace/src/sys/kern/kern_lock.c:511:1: warning: 'always_inline' function might not be inlinable unless also declared 'inline' [-Wattributes]
  511 | lockmgr_slock_try(struct lock *lk, uintptr_t *xp, int flags, bool fp)
      | ^~~~~~~~~~~~~~~~~
/workspace/src/sys/kern/kern_lock.c:113:1: warning: 'always_inline' function might not be inlinable unless also declared 'inline' [-Wattributes]
  113 | LK_CAN_SHARE(uintptr_t x, int flags, bool fp)
      | ^~~~~~~~~~~~
In file included from /workspace/src/sys/sys/pmc.h:39,
                 from /workspace/src/sys/sys/pmckern.h:46,
                 from /workspace/src/sys/kern/kern_lock.c:58:
/workspace/src/sys/kern/kern_lock.c: In function 'lockmgr_xlock_hard':
./machine/pcpu.h:153:28: warning: array subscript 0 is outside array bounds of 'struct __s[0]' [-Warray-bounds=]
  153 |                     : "m" (*(struct __s *)(__pcpu_offset(name))));      \
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./machine/pmc_mdep.h:117:10: note: in definition of macro 'PMC_FAKE_TRAPFRAME'
  117 |         (TF)->tf_cs = 0; (TF)->tf_rflags = 0;                           \
      |          ^~
./machine/pcpu.h:240:33: note: in expansion of macro '__PCPU_GET'
  240 | #define PCPU_GET(member)        __PCPU_GET(pc_ ## member)
      |                                 ^~~~~~~~~~
/workspace/src/sys/sys/pcpu.h:218:25: note: in expansion of macro 'PCPU_GET'
  218 | #define curcpu          PCPU_GET(cpuid)
      |                         ^~~~~~~~
/workspace/src/sys/sys/pmckern.h:127:44: note: in expansion of macro 'curcpu'
  127 |                 PMC_FAKE_TRAPFRAME(&pmc_tf[curcpu]);                            \
      |                                            ^~~~~~
/workspace/src/sys/kern/kern_lock.c:848:17: note: in expansion of macro 'PMC_SOFT_CALL'
  848 |                 PMC_SOFT_CALL( , , lock, failed);
      |                 ^~~~~~~~~~~~~
cc1: note: source object is likely at address zero
./machine/pcpu.h:153:28: warning: array subscript 0 is outside array bounds of 'struct __s[0]' [-Warray-bounds=]
  153 |                     : "m" (*(struct __s *)(__pcpu_offset(name))));      \
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./machine/pmc_mdep.h:117:27: note: in definition of macro 'PMC_FAKE_TRAPFRAME'
  117 |         (TF)->tf_cs = 0; (TF)->tf_rflags = 0;                           \
      |                           ^~
./machine/pcpu.h:240:33: note: in expansion of macro '__PCPU_GET'
  240 | #define PCPU_GET(member)        __PCPU_GET(pc_ ## member)
      |                                 ^~~~~~~~~~
/workspace/src/sys/sys/pcpu.h:218:25: note: in expansion of macro 'PCPU_GET'
  218 | #define curcpu          PCPU_GET(cpuid)
      |                         ^~~~~~~~
/workspace/src/sys/sys/pmckern.h:127:44: note: in expansion of macro 'curcpu'
  127 |                 PMC_FAKE_TRAPFRAME(&pmc_tf[curcpu]);                            \
      |                                            ^~~~~~
/workspace/src/sys/kern/kern_lock.c:848:17: note: in expansion of macro 'PMC_SOFT_CALL'
  848 |                 PMC_SOFT_CALL( , , lock, failed);
      |                 ^~~~~~~~~~~~~
cc1: note: source object is likely at address zero
./machine/pcpu.h:153:28: warning: array subscript 0 is outside array bounds of 'struct __s[0]' [-Warray-bounds=]
  153 |                     : "m" (*(struct __s *)(__pcpu_offset(name))));      \
      |                            ^~~~~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