[dpdk-dev] [Bug 855] gcc12 build error, vdpa/ifc

bugzilla at dpdk.org bugzilla at dpdk.org
Thu Oct 28 14:28:46 CEST 2021


https://bugs.dpdk.org/show_bug.cgi?id=855

            Bug ID: 855
           Summary: gcc12 build error, vdpa/ifc
           Product: DPDK
           Version: 20.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: other
          Assignee: dev at dpdk.org
          Reporter: ferruh.yigit at intel.com
  Target Milestone: ---

With gcc 12.0.0 "gcc (GCC) 12.0.0 20211024 (experimental)"

../drivers/vdpa/ifc/ifcvf_vdpa.c: In function ‘vdpa_enable_vfio_intr’:
../drivers/vdpa/ifc/ifcvf_vdpa.c:385:62: warning: writing 4 bytes into a region
of size 0 [-Wstringop-overflow=]
  385 |                         fd_ptr[RTE_INTR_VEC_RXTX_OFFSET + i] = fd;
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
../drivers/vdpa/ifc/ifcvf_vdpa.c:350:14: note: at offset 32 into destination
object ‘irq_set_buf’ of size 32
  350 |         char irq_set_buf[MSIX_IRQ_SET_BUF_LEN];
      |              ^~~~~~~~~~~

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


More information about the dev mailing list