Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jun 2023 13:31:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271903] amd64-gcc12 build failure
Message-ID:  <bug-271903-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271903

            Bug ID: 271903
           Summary: amd64-gcc12 build failure
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: emaste@freebsd.org
                CC: bapt@FreeBSD.org

In Cirrus-CI (e.g.
https://cirrus-ci.com/task/5521951851020288?logs=3Dmain#L11717)

--- cam_xpt.o ---
/usr/local/bin/x86_64-unknown-freebsd13.1-gcc12
--sysroot=3D/usr/obj/tmp/cirrus-ci-build/amd64.amd64/tmp
-B/usr/local/x86_64-unknown-freebsd13.1/bin/ -c -O2 -pipe -frename-registers
-fno-strict-aliasing  -g -nostdinc  -I. -I/tmp/cirrus-ci-build/sys
-I/tmp/cirrus-ci-build/sys/contrib/ck/include
-I/tmp/cirrus-ci-build/sys/contrib/libfdt -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common=20=20=20
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD  -MF.depend.cam_xp=
t.o
-MTcam_xpt.o
-fdebug-prefix-map=3D./machine=3D/tmp/cirrus-ci-build/sys/amd64/include
-fdebug-prefix-map=3D./x86=3D/tmp/cirrus-ci-build/sys/x86/include
-fdebug-prefix-map=3D./i386=3D/tmp/cirrus-ci-build/sys/i386/include -mcmode=
l=3Dkernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tabl=
es
-ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Daddress
-Wno-error=3Daggressive-loop-optimizations -Wno-error=3Darray-bounds
-Wno-error=3Dattributes -Wno-error=3Dcast-qual -Wno-error=3Denum-compare
-Wno-error=3Dmaybe-uninitialized -Wno-error=3Dmisleading-indentation
-Wno-error=3Dnonnull-compare -Wno-error=3Doverflow -Wno-error=3Dsequence-po=
int
-Wno-error=3Dshift-overflow -Wno-error=3Dtautological-compare
-Wno-error=3Dunused-function -Wno-error=3Dstringop-overflow
-Wno-error=3Dmemset-elt-size -Wno-error=3Dpacked-not-aligned
-Wno-address-of-packed-member -Wno-error=3Dalloca-larger-than=3D -Wno-error=
=3Dnonnull
-Wno-dangling-pointer -Wno-zero-length-bounds -Wno-return-type
-Wno-format-zero-length   -fms-extensions -finline-limit=3D8000 --param
inline-unit-growth=3D100 --param large-function-growth=3D1000 -fms-extensio=
ns=20
-std=3Diso9899:1999 -Werror /tmp/cirrus-ci-build/sys/cam/cam_xpt.c
--- cam_queue.o ---
In file included from /tmp/cirrus-ci-build/sys/sys/bus.h:170,
                 from /tmp/cirrus-ci-build/sys/dev/mmc/bridge.h:59,
                 from /tmp/cirrus-ci-build/sys/cam/mmc/mmc_bus.h:5,
                 from /tmp/cirrus-ci-build/sys/cam/cam_ccb.h:1055,
                 from /tmp/cirrus-ci-build/sys/cam/cam_queue.c:41:
/tmp/cirrus-ci-build/sys/sys/devctl.h:16:20: error: 'devctl_systems' defined
but not used [-Werror=3Dunused-variable]
   16 | static const char *devctl_systems[] =3D {
      |                    ^~~~~~~~~~~~~~
--- cam_sim.o ---
In file included from /tmp/cirrus-ci-build/sys/sys/bus.h:170,
                 from /tmp/cirrus-ci-build/sys/cam/cam_sim.c:35:
/tmp/cirrus-ci-build/sys/sys/devctl.h:16:20: error: 'devctl_systems' defined
but not used [-Werror=3Dunused-variable]
   16 | static const char *devctl_systems[] =3D {
      |                    ^~~~~~~~~~~~~~
--- cam.o ---
In file included from /tmp/cirrus-ci-build/sys/sys/bus.h:170,
                 from /tmp/cirrus-ci-build/sys/dev/mmc/bridge.h:59,
                 from /tmp/cirrus-ci-build/sys/cam/mmc/mmc_bus.h:5,
                 from /tmp/cirrus-ci-build/sys/cam/cam_ccb.h:1055,
                 from /tmp/cirrus-ci-build/sys/cam/cam.c:47:
/tmp/cirrus-ci-build/sys/sys/devctl.h:16:20: error: 'devctl_systems' defined
but not used [-Werror=3Dunused-variable]
   16 | static const char *devctl_systems[] =3D {
      |                    ^~~~~~~~~~~~~~
--- cam_compat.o ---
In file included from /tmp/cirrus-ci-build/sys/sys/bus.h:170,
                 from /tmp/cirrus-ci-build/sys/dev/mmc/bridge.h:59,
                 from /tmp/cirrus-ci-build/sys/cam/mmc/mmc_bus.h:5,
                 from /tmp/cirrus-ci-build/sys/cam/cam_ccb.h:1055,
                 from /tmp/cirrus-ci-build/sys/cam/cam_compat.c:48:
/tmp/cirrus-ci-build/sys/sys/devctl.h:16:20: error: 'devctl_systems' defined
but not used [-Werror=3Dunused-variable]
   16 | static const char *devctl_systems[] =3D {
      |                    ^~~~~~~~~~~~~~
--- cam_iosched.o ---
In file included from /tmp/cirrus-ci-build/sys/sys/bus.h:170,
                 from /tmp/cirrus-ci-build/sys/dev/mmc/bridge.h:59,
                 from /tmp/cirrus-ci-build/sys/cam/mmc/mmc_bus.h:5,
                 from /tmp/cirrus-ci-build/sys/cam/cam_ccb.h:1055,
                 from /tmp/cirrus-ci-build/sys/cam/cam_iosched.c:50:
/tmp/cirrus-ci-build/sys/sys/devctl.h:16:20: error: 'devctl_systems' defined
but not used [-Werror=3Dunused-variable]
   16 | static const char *devctl_systems[] =3D {
      |                    ^~~~~~~~~~~~~~
--- modules-all ---
--- all_subdir_aac ---
=3D=3D=3D> aac (all)
[Creating objdir
/usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC/modules/tmp/cirrus-ci-=
build/sys/modules/aac...]
--- 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
--- cam_periph.o ---
In file included from /tmp/cirrus-ci-build/sys/cam/cam_periph.c:42:
/tmp/cirrus-ci-build/sys/sys/devctl.h:16:20: error: 'devctl_systems' defined
but not used [-Werror=3Dunused-variable]
   16 | static const char *devctl_systems[] =3D {
      |                    ^~~~~~~~~~~~~~
--- cam_sim.o ---
cc1: all warnings being treated as errors
--- modules-all ---
--- opt_scsi.h ---
ln -sf /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC/opt_scsi.h
opt_scsi.h
--- cam_sim.o ---
*** [cam_sim.o] Error code 1
make[2]: stopped in /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC
--- modules-all ---
*** [modules-all] Error code 6
make[2]: stopped in /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC
--- cam_iosched.o ---
cc1: all warnings being treated as errors
*** [cam_iosched.o] Error code 1
make[2]: stopped in /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC
--- cam_xpt.o ---
In file included from /tmp/cirrus-ci-build/sys/sys/bus.h:170,
                 from /tmp/cirrus-ci-build/sys/cam/cam_xpt.c:39:
/tmp/cirrus-ci-build/sys/sys/devctl.h:16:20: error: 'devctl_systems' defined
but not used [-Werror=3Dunused-variable]
   16 | static const char *devctl_systems[] =3D {
      |                    ^~~~~~~~~~~~~~
--- cam_queue.o ---
cc1: all warnings being treated as errors
*** [cam_queue.o] Error code 1
make[2]: stopped in /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC
--- cam.o ---
cc1: all warnings being treated as errors
*** [cam.o] Error code 1
make[2]: stopped in /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC
--- cam_compat.o ---
cc1: all warnings being treated as errors
*** [cam_compat.o] Error code 1
make[2]: stopped in /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC
--- cam_xpt.o ---
In function 'xpt_action',
    inlined from 'xpt_getattr' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:1275:2:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2608:33: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_dev_advinfo[1]'
[-Warray-bounds]
 2608 |         start_ccb->ccb_h.status =3D CAM_REQ_INPROG;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_getattr':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:1246:32: note: object 'cdai' of size=
 232
 1246 |         struct ccb_dev_advinfo cdai;
      |                                ^~~~
In function 'xpt_action',
    inlined from 'xpt_getattr' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:1275:2:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2609:28: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_dev_advinfo[1]'
[-Warray-bounds]
 2609 |         (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_c=
cb);
      |            ~~~~~~~~~~~~~~~~^~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_getattr':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:1246:32: note: object 'cdai' of size=
 232
 1246 |         struct ccb_dev_advinfo cdai;
      |                                ^~~~
--- cam_periph.o ---
cc1: all warnings being treated as errors
*** [cam_periph.o] Error code 1
make[2]: stopped in /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC
--- cam_xpt.o ---
In function 'xpt_action',
    inlined from 'xpt_start_tags' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5053:2,
    inlined from 'xpt_done_process' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5438:5,
    inlined from 'camisr_runqueue' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5533:4,
    inlined from 'xpt_sim_poll' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:3176:2,
    inlined from 'xpt_poll_setup' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:3204:3:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2608:33: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]'
[-Warray-bounds]
 2608 |         start_ccb->ccb_h.status =3D CAM_REQ_INPROG;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_poll_setup':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size =
216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_start_tags' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5053:2,
    inlined from 'xpt_done_process' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5438:5,
    inlined from 'camisr_runqueue' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5533:4,
    inlined from 'xpt_sim_poll' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:3176:2,
    inlined from 'xpt_poll_setup' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:3204:3:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2609:28: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]'
[-Warray-bounds]
 2609 |         (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_c=
cb);
      |            ~~~~~~~~~~~~~~~~^~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_poll_setup':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size =
216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_start_tags' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5053:2,
    inlined from 'xpt_done_process' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5438:5,
    inlined from 'camisr_runqueue' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5533:4,
    inlined from 'xpt_sim_poll' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:3176:2,
    inlined from 'xpt_pollwait' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:3220:3:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2608:33: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]'
[-Warray-bounds]
 2608 |         start_ccb->ccb_h.status =3D CAM_REQ_INPROG;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_pollwait':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size =
216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_start_tags' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5053:2,
    inlined from 'xpt_done_process' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5438:5,
    inlined from 'camisr_runqueue' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5533:4,
    inlined from 'xpt_sim_poll' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:3176:2,
    inlined from 'xpt_pollwait' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:3220:3:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2609:28: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]'
[-Warray-bounds]
 2609 |         (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_c=
cb);
      |            ~~~~~~~~~~~~~~~~^~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_pollwait':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size =
216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_start_tags' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5053:2,
    inlined from 'xpt_done_process' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5438:5,
    inlined from 'xpt_async_td' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5482:4:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2608:33: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]'
[-Warray-bounds]
 2608 |         start_ccb->ccb_h.status =3D CAM_REQ_INPROG;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_async_td':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size =
216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_start_tags' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5053:2,
    inlined from 'xpt_done_process' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5438:5,
    inlined from 'xpt_async_td' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5482:4:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2609:28: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]'
[-Warray-bounds]
 2609 |         (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_c=
cb);
      |            ~~~~~~~~~~~~~~~~^~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_async_td':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size =
216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_start_tags' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5053:2,
    inlined from 'xpt_done_process' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5438:5,
    inlined from 'camisr_runqueue' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5533:4,
    inlined from 'xpt_sim_poll' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:3176:2:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2608:33: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]'
[-Warray-bounds]
 2608 |         start_ccb->ccb_h.status =3D CAM_REQ_INPROG;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_sim_poll':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size =
216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_start_tags' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5053:2,
    inlined from 'xpt_done_process' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5438:5,
    inlined from 'camisr_runqueue' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5533:4,
    inlined from 'xpt_sim_poll' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:3176:2:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2609:28: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]'
[-Warray-bounds]
 2609 |         (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_c=
cb);
      |            ~~~~~~~~~~~~~~~~^~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_sim_poll':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size =
216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_start_tags' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5053:2,
    inlined from 'xpt_done_process' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5438:5,
    inlined from 'xpt_done_td' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5511:4:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2608:33: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]'
[-Warray-bounds]
 2608 |         start_ccb->ccb_h.status =3D CAM_REQ_INPROG;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_done_td':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size =
216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_start_tags' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5053:2,
    inlined from 'xpt_done_process' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5438:5,
    inlined from 'xpt_done_td' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5511:4:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2609:28: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]'
[-Warray-bounds]
 2609 |         (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_c=
cb);
      |            ~~~~~~~~~~~~~~~~^~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_done_td':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size =
216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_path_inq' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.h:162:2,
    inlined from 'xptsetasyncbusfunc' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2590:2:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2608:33: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_pathinq[1]'
[-Warray-bounds]
 2608 |         start_ccb->ccb_h.status =3D CAM_REQ_INPROG;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xptsetasyncbusfunc':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2582:28: note: object 'cpi' of size =
464
 2582 |         struct ccb_pathinq cpi;
      |                            ^~~
In function 'xpt_action',
    inlined from 'xpt_path_inq' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.h:162:2,
    inlined from 'xptsetasyncbusfunc' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2590:2:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2609:28: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_pathinq[1]'
[-Warray-bounds]
 2609 |         (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_c=
cb);
      |            ~~~~~~~~~~~~~~~~^~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xptsetasyncbusfunc':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2582:28: note: object 'cpi' of size =
464
 2582 |         struct ccb_pathinq cpi;
      |                            ^~~
In function 'xpt_action',
    inlined from 'xpt_path_inq' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.h:162:2,
    inlined from 'xpt_bus_register' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:4019:2:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2608:33: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_pathinq[1]'
[-Warray-bounds]
 2608 |         start_ccb->ccb_h.status =3D CAM_REQ_INPROG;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_bus_register':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:3969:28: note: object 'cpi' of size =
464
 3969 |         struct ccb_pathinq cpi;
      |                            ^~~
In function 'xpt_action',
    inlined from 'xpt_path_inq' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.h:162:2,
    inlined from 'xpt_bus_register' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:4019:2:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2609:28: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_pathinq[1]'
[-Warray-bounds]
 2609 |         (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_c=
cb);
      |            ~~~~~~~~~~~~~~~~^~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_bus_register':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:3969:28: note: object 'cpi' of size =
464
 3969 |         struct ccb_pathinq cpi;
      |                            ^~~
In file included from /tmp/cirrus-ci-build/sys/cam/cam_xpt.c:58:
In function 'cam_ccb_status',
    inlined from 'cam_ccb_success' at
/tmp/cirrus-ci-build/sys/cam/cam_ccb.h:1522:10,
    inlined from 'xpt_bus_register' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:4021:6:
/tmp/cirrus-ci-build/sys/cam/cam_ccb.h:1516:40: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_pathinq[1]'
[-Warray-bounds]
 1516 |         return ((cam_status)(ccb->ccb_h.status & CAM_STATUS_MASK));
      |                              ~~~~~~~~~~^~~~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_bus_register':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:3969:28: note: object 'cpi' of size =
464
 3969 |         struct ccb_pathinq cpi;
      |                            ^~~
In function 'xpt_action',
    inlined from 'xpt_start_tags' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5053:2:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2608:33: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]'
[-Warray-bounds]
 2608 |         start_ccb->ccb_h.status =3D CAM_REQ_INPROG;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_start_tags':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size =
216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_start_tags' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5053:2:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2609:28: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]'
[-Warray-bounds]
 2609 |         (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_c=
cb);
      |            ~~~~~~~~~~~~~~~~^~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_start_tags':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size =
216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_stop_tags' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5079:2:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2608:33: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]'
[-Warray-bounds]
 2608 |         start_ccb->ccb_h.status =3D CAM_REQ_INPROG;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_stop_tags':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5059:27: note: object 'crs' of size =
216
 5059 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_stop_tags' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5079:2:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2609:28: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]'
[-Warray-bounds]
 2609 |         (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_c=
cb);
      |            ~~~~~~~~~~~~~~~~^~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_stop_tags':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5059:27: note: object 'crs' of size =
216
 5059 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_register_async' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5235:2:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2608:33: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_setasync[1]'
[-Warray-bounds]
 2608 |         start_ccb->ccb_h.status =3D CAM_REQ_INPROG;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_register_async':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5216:29: note: object 'csa' of size =
224
 5216 |         struct ccb_setasync csa;
      |                             ^~~
In function 'xpt_action',
    inlined from 'xpt_register_async' at
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5235:2:
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:2609:28: warning: array subscript 'u=
nion
ccb[0]' is partly outside array bounds of 'struct ccb_setasync[1]'
[-Warray-bounds]
 2609 |         (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_c=
cb);
      |            ~~~~~~~~~~~~~~~~^~~~~
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c: In function 'xpt_register_async':
/tmp/cirrus-ci-build/sys/cam/cam_xpt.c:5216:29: note: object 'csa' of size =
224
 5216 |         struct ccb_setasync csa;
      |                             ^~~
cc1: all warnings being treated as errors
*** [cam_xpt.o] Error code 1
make[2]: stopped in /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC
8 errors
make[2]: stopped in /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/GENERIC
        3.00 real         4.73 user         0.61 sys
make[1]: stopped in /tmp/cirrus-ci-build
make: stopped in /tmp/cirrus-ci-build
Exit status: 2

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271903-227>