Skip to contentSkip to conversation

net/ice build failure with gcc 4.8.5

dpdk-dev [email protected] 1 participant 1 message Sep 30, 2021

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]
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)

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