DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 817] net/ice build failure with gcc 4.8.5
@ 2021-09-30  6:32 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2021-09-30  6:32 UTC (permalink / raw)
  To: dev

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

            Bug ID: 817
           Summary: net/ice build failure with gcc 4.8.5
           Product: DPDK
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: alialnu@nvidia.com
  Target Milestone: ---

"""
$ meson --werror --buildtype=release -Dexamples=all build && ninja-build -C
build
[..]
../../root/dpdk/drivers/net/ice/base/ice_parser_rt.c: In function
'_hv_bit_sel':
../../root/dpdk/drivers/net/ice/base/ice_parser_rt.c:201:2: error:
dereferencing type-punned pointer will break strict-aliasing rules
[-Werror=strict-aliasing]
  d64 = *(u64 *)&b[0];
  ^
../../root/dpdk/drivers/net/ice/base/ice_parser_rt.c: In function
'_reg_bit_sel':
../../root/dpdk/drivers/net/ice/base/ice_parser_rt.c:458:2: error:
dereferencing type-punned pointer will break strict-aliasing rules
[-Werror=strict-aliasing]
  d32 = *(u32 *)&v[0];
  ^
cc1: all warnings being treated as errors
"""

Reproduces on main (84b3e45).

OS: CentOS Linux 7
GCC: 4.8.5 20150623 (Red Hat 4.8.5-44)

-- 
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-09-30  6:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-30  6:32 [dpdk-dev] [Bug 817] net/ice build failure with gcc 4.8.5 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).