[dpdk-dev] Build fixes for musl libc
    Natanael Copa 
    ncopa at alpinelinux.org
       
    Thu Nov  5 22:17:08 CET 2020
    
    
  
A set of patches to fix build with musl libc. I also did a few cleanups wrt
macros and fixed a few scary compiler warnings while at it.
Please note that those are only compile tested on x86_64 with musl libc.
v2 has some code style fixes reported by checkpatch
v3 is a full reroll of the entire patch set to enable automatted tests
   and logic for patchwork patchset.
v4 rebase against main and deal with renames/moves.
   fix commit messages to make check-git-log.sh happy.
   improve error(3) -> warn(3) patch and clarify commit message.
   update __WORDSIZE patch to use RTE_ARCH_64
   add "Fixes:" tags
   add a couple of patches fro eal
Sorry that it took so long time to follow up.
Natanael Copa (8):
  app/testpmd: fix uint build error with musl libc
  net/cxgbe: fix uint build error with musl libc
  bus/pci: add fallback for out* for non GNU libc
  bus/dpaa: use warn instead of error to improve portability
  bus/dpaa: fix detection of 64 bit arch
  common/dpaax: build fix for musl libc
  common/dpaax: simplify pr debug/err/warn macros
  eal: add missing include to fix build with musl libc
 app/test-pmd/config.c                     |  2 +-
 app/test-pmd/testpmd.h                    |  2 +-
 drivers/bus/dpaa/base/fman/netcfg_layer.c |  4 +-
 drivers/bus/dpaa/base/qbman/bman_driver.c | 12 ++-
 drivers/bus/dpaa/base/qbman/qman_driver.c | 15 ++--
 drivers/bus/dpaa/include/fsl_qman.h       |  2 +-
 drivers/bus/pci/linux/pci_uio.c           | 95 +++++++++++++++--------
 drivers/common/dpaax/caamflib/compat.h    | 36 ++++-----
 drivers/net/cxgbe/base/common.h           | 18 ++---
 lib/librte_eal/unix/eal_file.c            |  1 +
 10 files changed, 113 insertions(+), 74 deletions(-)
--
2.29.2
    
    
More information about the dev
mailing list