Skip to contentSkip to conversation

Build of octeontx2 with GCC 10.0.1 fails on armv7

dpdk-dev [email protected] 1 participant 2 messages Feb 11, 2020 – May 19, 2020

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 396
           Summary: Build of octeontx2 with GCC 10.0.1 fails on armv7
           Product: DPDK
           Version: 20.02
          Hardware: ARM
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: other
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

https://build.opensuse.org/build/home:bluca:dpdk/Fedora_Rawhide/armv7l/dpdk/_log

[ 738s] In file included from /home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/drivers/net/octeontx2/otx2_ethdev.h:24,
[ 738s] from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/drivers/net/octeontx2/otx2_rx.c:7:
[ 738s] /home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/drivers/net/octeontx2/otx2_rx.c:
In function 'otx2_nix_recv_pkts_no_offload':
[ 738s] /home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/drivers/net/octeontx2/otx2_rx.h:310:2:
error: array subscript 0 is outside the bounds of an interior zero-length array 'RTE_MARKER64' {aka 'long long unsigned int[0]'} [-Werror=zero-length-bounds]

[  738s]   310 |  *(uint64_t *)(&mbuf->rearm_data) = val;
[  738s]       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

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

Thomas Monjalon ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #5 from Thomas Monjalon ([email protected]) --- Resolved in http://git.dpdk.org/dpdk/commit/?id=cfacbcb5a2

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.