DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 851] gcc12 build error, net/qede/base
@ 2021-10-28 12:14 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2021-10-28 12:14 UTC (permalink / raw)
  To: dev

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

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

In file included from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.h:43,
                 from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.h:32,
                 from ../lib/eal/x86/include/rte_vect.h:31,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../drivers/net/qede/base/bcm_osal.h:17,
                 from ../drivers/net/qede/base/ecore_vf.c:7:
In function ‘_mm256_storeu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:320:2,
    inlined from ‘rte_mov128’ at ../lib/eal/x86/include/rte_memcpy.h:343:2,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:438:4,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘ecore_vf_read_bulletin’ at
../drivers/net/qede/base/ecore_vf.c:1764:2:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:935:8:
warning: array subscript ‘__m256i_u[2]’ is partly outside array bounds of
‘struct ecore_bulletin_content[1]’ [-Warray-bounds]
  935 |   *__P = __A;
      |   ~~~~~^~~~~
../drivers/net/qede/base/ecore_vf.c: In function ‘ecore_vf_read_bulletin’:
../drivers/net/qede/base/ecore_vf.c:1757:39: note: at offset 64 into object
‘shadow’ of size 80
 1757 |         struct ecore_bulletin_content shadow;
      |                                       ^~~~~~
In file included from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.h:43,
                 from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.h:32,
                 from ../lib/eal/x86/include/rte_vect.h:31,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../drivers/net/qede/base/bcm_osal.h:17,
                 from ../drivers/net/qede/base/ecore_vf.c:7:
In function ‘_mm256_storeu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:320:2,
    inlined from ‘rte_mov128’ at ../lib/eal/x86/include/rte_memcpy.h:344:2,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:438:4,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘ecore_vf_read_bulletin’ at
../drivers/net/qede/base/ecore_vf.c:1764:2:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:935:8:
warning: array subscript 3 is outside array bounds of ‘struct
ecore_bulletin_content[1]’ [-Warray-bounds]
  935 |   *__P = __A;
      |   ~~~~~^~~~~
../drivers/net/qede/base/ecore_vf.c: In function ‘ecore_vf_read_bulletin’:
../drivers/net/qede/base/ecore_vf.c:1757:39: note: at offset 96 into object
‘shadow’ of size 80
 1757 |         struct ecore_bulletin_content shadow;
      |                                       ^~~~~~
In file included from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.h:43,
                 from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.h:32,
                 from ../lib/eal/x86/include/rte_vect.h:31,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../drivers/net/qede/base/bcm_osal.h:17,
                 from ../drivers/net/qede/base/ecore_vf.c:7:
In function ‘_mm256_storeu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:320:2,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:450:4,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘ecore_vf_read_bulletin’ at
../drivers/net/qede/base/ecore_vf.c:1764:2:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:935:8:
warning: array subscript ‘__m256i_u[2]’ is partly outside array bounds of
‘void[80]’ [-Warray-bounds]
  935 |   *__P = __A;
      |   ~~~~~^~~~~
In function ‘_mm256_storeu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:320:2,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:451:4,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘ecore_vf_read_bulletin’ at
../drivers/net/qede/base/ecore_vf.c:1764:2:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:935:8:
warning: array subscript ‘__m256i_u[2]’ is partly outside array bounds of
‘void[80]’ [-Warray-bounds]
  935 |   *__P = __A;
      |   ~~~~~^~~~~
In function ‘_mm256_loadu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:319:9,
    inlined from ‘rte_mov128’ at ../lib/eal/x86/include/rte_memcpy.h:343:2,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:438:4,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘ecore_vf_read_bulletin’ at
../drivers/net/qede/base/ecore_vf.c:1777:2:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:929:10:
warning: array subscript ‘__m256i_u[2]’ is partly outside array bounds of
‘struct ecore_bulletin_content[1]’ [-Warray-bounds]
  929 |   return *__P;
      |          ^~~~
../drivers/net/qede/base/ecore_vf.c: In function ‘ecore_vf_read_bulletin’:
../drivers/net/qede/base/ecore_vf.c:1757:39: note: at offset 64 into object
‘shadow’ of size 80
 1757 |         struct ecore_bulletin_content shadow;
      |                                       ^~~~~~
In file included from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.h:43,
                 from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.h:32,
                 from ../lib/eal/x86/include/rte_vect.h:31,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../drivers/net/qede/base/bcm_osal.h:17,
                 from ../drivers/net/qede/base/ecore_vf.c:7:
In function ‘_mm256_loadu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:319:9,
    inlined from ‘rte_mov128’ at ../lib/eal/x86/include/rte_memcpy.h:344:2,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:438:4,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘ecore_vf_read_bulletin’ at
../drivers/net/qede/base/ecore_vf.c:1777:2:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:929:10:
warning: array subscript 3 is outside array bounds of ‘struct
ecore_bulletin_content[1]’ [-Warray-bounds]
  929 |   return *__P;
      |          ^~~~
../drivers/net/qede/base/ecore_vf.c: In function ‘ecore_vf_read_bulletin’:
../drivers/net/qede/base/ecore_vf.c:1757:39: note: at offset 96 into object
‘shadow’ of size 80
 1757 |         struct ecore_bulletin_content shadow;
      |                                       ^~~~~~
In file included from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.h:43,
                 from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.h:32,
                 from ../lib/eal/x86/include/rte_vect.h:31,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../drivers/net/qede/base/bcm_osal.h:17,
                 from ../drivers/net/qede/base/ecore_vf.c:7:
In function ‘_mm256_loadu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:319:9,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:450:4,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘ecore_vf_read_bulletin’ at
../drivers/net/qede/base/ecore_vf.c:1777:2:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:929:10:
warning: array subscript ‘__m256i_u[2]’ is partly outside array bounds of
‘const void[80]’ [-Warray-bounds]
  929 |   return *__P;
      |          ^~~~
In function ‘_mm256_loadu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:319:9,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:451:4,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘ecore_vf_read_bulletin’ at
../drivers/net/qede/base/ecore_vf.c:1777:2:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:929:10:
warning: array subscript ‘__m256i_u[2]’ is partly outside array bounds of
‘const void[80]’ [-Warray-bounds]
  929 |   return *__P;
      |          ^~~~
[28/68] Compiling C object drivers/net/qede/base/libqede_base.a.p/ecore_mcp.c.o
In file included from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.h:43,
                 from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.h:32,
                 from ../lib/eal/x86/include/rte_vect.h:31,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../drivers/net/qede/base/bcm_osal.h:17,
                 from ../drivers/net/qede/base/ecore_mcp.c:7:
In function ‘_mm256_storeu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:320:2,
    inlined from ‘rte_mov128’ at ../lib/eal/x86/include/rte_memcpy.h:342:2,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:438:4,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘__ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:541:3,
    inlined from ‘_ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:638:2,
    inlined from ‘ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:742:9:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:935:8:
warning: array subscript 1 is outside array bounds of ‘union drv_union_data[1]’
[-Warray-bounds]
  935 |   *__P = __A;
      |   ~~~~~^~~~~
../drivers/net/qede/base/ecore_mcp.c: In function ‘ecore_mcp_cmd_and_union’:
../drivers/net/qede/base/ecore_mcp.c:533:30: note: at offset 32 into object
‘union_data’ of size 32
  533 |         union drv_union_data union_data;
      |                              ^~~~~~~~~~
In file included from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.h:43,
                 from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.h:32,
                 from ../lib/eal/x86/include/rte_vect.h:31,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../drivers/net/qede/base/bcm_osal.h:17,
                 from ../drivers/net/qede/base/ecore_mcp.c:7:
In function ‘_mm256_storeu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:320:2,
    inlined from ‘rte_mov128’ at ../lib/eal/x86/include/rte_memcpy.h:343:2,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:438:4,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘__ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:541:3,
    inlined from ‘_ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:638:2,
    inlined from ‘ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:742:9:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:935:8:
warning: array subscript 2 is outside array bounds of ‘union drv_union_data[1]’
[-Warray-bounds]
  935 |   *__P = __A;
      |   ~~~~~^~~~~
../drivers/net/qede/base/ecore_mcp.c: In function ‘ecore_mcp_cmd_and_union’:
../drivers/net/qede/base/ecore_mcp.c:533:30: note: at offset 64 into object
‘union_data’ of size 32
  533 |         union drv_union_data union_data;
      |                              ^~~~~~~~~~
In file included from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.h:43,
                 from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.h:32,
                 from ../lib/eal/x86/include/rte_vect.h:31,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../drivers/net/qede/base/bcm_osal.h:17,
                 from ../drivers/net/qede/base/ecore_mcp.c:7:
In function ‘_mm256_storeu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:320:2,
    inlined from ‘rte_mov128’ at ../lib/eal/x86/include/rte_memcpy.h:344:2,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:438:4,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘__ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:541:3,
    inlined from ‘_ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:638:2,
    inlined from ‘ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:742:9:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:935:8:
warning: array subscript 3 is outside array bounds of ‘union drv_union_data[1]’
[-Warray-bounds]
  935 |   *__P = __A;
      |   ~~~~~^~~~~
../drivers/net/qede/base/ecore_mcp.c: In function ‘ecore_mcp_cmd_and_union’:
../drivers/net/qede/base/ecore_mcp.c:533:30: note: at offset 96 into object
‘union_data’ of size 32
  533 |         union drv_union_data union_data;
      |                              ^~~~~~~~~~
In file included from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.h:43,
                 from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.h:32,
                 from ../lib/eal/x86/include/rte_vect.h:31,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../drivers/net/qede/base/bcm_osal.h:17,
                 from ../drivers/net/qede/base/ecore_mcp.c:7:
In function ‘_mm256_storeu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:320:2,
    inlined from ‘rte_mov64’ at ../lib/eal/x86/include/rte_memcpy.h:331:2,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:445:4,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘__ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:541:3,
    inlined from ‘_ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:638:2,
    inlined from ‘ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:742:9:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:935:8:
warning: array subscript 1 is outside array bounds of ‘void[32]’
[-Warray-bounds]
  935 |   *__P = __A;
      |   ~~~~~^~~~~
../drivers/net/qede/base/ecore_mcp.c: In function ‘ecore_mcp_cmd_and_union’:
../drivers/net/qede/base/ecore_mcp.c:533:30: note: at offset 160 into object
‘union_data’ of size 32
  533 |         union drv_union_data union_data;
      |                              ^~~~~~~~~~
../drivers/net/qede/base/ecore_mcp.c:533:30: note: at offset 32 into object
‘union_data’ of size 32
In file included from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.h:43,
                 from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.h:32,
                 from ../lib/eal/x86/include/rte_vect.h:31,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../drivers/net/qede/base/bcm_osal.h:17,
                 from ../drivers/net/qede/base/ecore_mcp.c:7:
In function ‘_mm256_storeu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:320:2,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:450:4,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘__ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:541:3,
    inlined from ‘_ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:638:2,
    inlined from ‘ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:742:9:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:935:8:
warning: array subscript 4 is outside array bounds of ‘void[32]’
[-Warray-bounds]
  935 |   *__P = __A;
      |   ~~~~~^~~~~
../drivers/net/qede/base/ecore_mcp.c: In function ‘ecore_mcp_cmd_and_union’:
../drivers/net/qede/base/ecore_mcp.c:533:30: note: at offset [128, 256] into
object ‘union_data’ of size 32
  533 |         union drv_union_data union_data;
      |                              ^~~~~~~~~~
In file included from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.h:43,
                 from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.h:32,
                 from ../lib/eal/x86/include/rte_vect.h:31,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../drivers/net/qede/base/bcm_osal.h:17,
                 from ../drivers/net/qede/base/ecore_mcp.c:7:
In function ‘_mm256_storeu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:320:2,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:451:4,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘__ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:541:3,
    inlined from ‘_ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:638:2,
    inlined from ‘ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:742:9:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:935:8:
warning: array subscript 4 is outside array bounds of ‘void[32]’
[-Warray-bounds]
  935 |   *__P = __A;
      |   ~~~~~^~~~~
../drivers/net/qede/base/ecore_mcp.c: In function ‘ecore_mcp_cmd_and_union’:
../drivers/net/qede/base/ecore_mcp.c:533:30: note: at offset [129, 257] into
object ‘union_data’ of size 32
  533 |         union drv_union_data union_data;
      |                              ^~~~~~~~~~
In file included from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.h:43,
                 from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.h:32,
                 from ../lib/eal/x86/include/rte_vect.h:31,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../drivers/net/qede/base/bcm_osal.h:17,
                 from ../drivers/net/qede/base/ecore_mcp.c:7:
In function ‘_mm256_storeu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:320:2,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:431:3,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘__ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:541:3,
    inlined from ‘_ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:638:2,
    inlined from ‘ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:742:9:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:935:8:
warning: array subscript ‘__m256i_u[0]’ is partly outside array bounds of
‘union drv_union_data[1]’ [-Warray-bounds]
  935 |   *__P = __A;
      |   ~~~~~^~~~~
../drivers/net/qede/base/ecore_mcp.c: In function ‘ecore_mcp_cmd_and_union’:
../drivers/net/qede/base/ecore_mcp.c:533:30: note: at offset [17, 32] into
object ‘union_data’ of size 32
  533 |         union drv_union_data union_data;
      |                              ^~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_atomic.h:15,
                 from ../lib/eal/include/generic/rte_pause.h:19,
                 from ../lib/eal/x86/include/rte_pause.h:12,
                 from ../lib/eal/include/generic/rte_spinlock.h:25,
                 from ../lib/eal/x86/include/rte_spinlock.h:12,
                 from ../drivers/net/qede/base/bcm_osal.h:14,
                 from ../drivers/net/qede/base/ecore_mcp.c:7:
In function ‘_mm_storeu_si128’,
    inlined from ‘rte_mov16’ at ../lib/eal/x86/include/rte_memcpy.h:307:2,
    inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:425:3,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:882:10,
    inlined from ‘__ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:541:3,
    inlined from ‘_ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:638:2,
    inlined from ‘ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:742:9:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/emmintrin.h:740:8:
warning: array subscript ‘__m128i_u[1]’ is partly outside array bounds of
‘union drv_union_data[1]’ [-Warray-bounds]
  740 |   *__P = __B;
      |   ~~~~~^~~~~
../drivers/net/qede/base/ecore_mcp.c: In function ‘ecore_mcp_cmd_and_union’:
../drivers/net/qede/base/ecore_mcp.c:533:30: note: at offset [17, 32] into
object ‘union_data’ of size 32
  533 |         union drv_union_data union_data;
      |                              ^~~~~~~~~~
In file included from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.h:43,
                 from
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.h:32,
                 from ../lib/eal/x86/include/rte_vect.h:31,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../drivers/net/qede/base/bcm_osal.h:17,
                 from ../drivers/net/qede/base/ecore_mcp.c:7:
In function ‘_mm256_storeu_si256’,
    inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:320:2,
    inlined from ‘rte_memcpy_aligned’ at
../lib/eal/x86/include/rte_memcpy.h:856:3,
    inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:880:10,
    inlined from ‘__ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:541:3,
    inlined from ‘_ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:638:2,
    inlined from ‘ecore_mcp_cmd_and_union’ at
../drivers/net/qede/base/ecore_mcp.c:742:9:
/usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.h:935:8:
warning: array subscript ‘__m256i_u[0]’ is partly outside array bounds of
‘union drv_union_data[1]’ [-Warray-bounds]
  935 |   *__P = __A;
      |   ~~~~~^~~~~
../drivers/net/qede/base/ecore_mcp.c: In function ‘ecore_mcp_cmd_and_union’:
../drivers/net/qede/base/ecore_mcp.c:533:30: note: at offset [1, 32] into
object ‘union_data’ of size 32
  533 |         union drv_union_data union_data;
      |                              ^~~~~~~~~~

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-28 12:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28 12:14 [dpdk-dev] [Bug 851] gcc12 build error, net/qede/base bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).