[dpdk-dev] [PATCH v6 0/8] Fixes for GCC8 against lagopus

Andy Green andy at warmcat.com
Mon May 21 04:00:53 CEST 2018


The following series fixes build problems in dpdk master
headers, found when using it as the dpdk subproject in
lagopus.  These errors are coming when you try to use
the dpdk headers, not when you build dpdk itself.

These are the remaining 5 patches not yet applied,
with one split into three for clarity.  There is no
new patch content.

Extra explanation is added (along with Fixes: already).

I confirmed with master plus these patches, the only
remaing compile errors in lagopus are from lagopus
itself.

---

Andy Green (8):
      lib/librte_eal: explicit tmp cast
      rte_rwlock.h: gcc8 sign conversion warnings
      rte_ip.h: cast type decided by sizeof to uint32
      rte_mbuf.h: reduce temp to match uint16 types
      rte_mbuf.h: avoid implicit demotion in 64-bit arith
      rte_mbuf.h: choose correct type for temp
      rte_mbuf.h: add and subtract explicitly to avoid promotion
      rte_ethdev.h: align sign and scope of temp var


 .../common/include/arch/x86/rte_memcpy.h           |    8 +++---
 lib/librte_eal/common/include/generic/rte_rwlock.h |    4 ++-
 lib/librte_ethdev/rte_ethdev.h                     |   25 ++++++++++++--------
 lib/librte_mbuf/rte_mbuf.h                         |   14 ++++++-----
 lib/librte_net/rte_ip.h                            |    4 ++-
 5 files changed, 31 insertions(+), 24 deletions(-)

--
Signature


More information about the dev mailing list