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. Natanael Copa (15): app/testpmd: replace uint with unsigned int net/cxgbe: replace uint with unsigned int bus/pci: add fallback for out[lwb]_p for non GNU libc bus/pci: factor out various ifdefs in pci_uio_ioport_{read,write} bus/fslmc: fix compile error with musl libc bus/fslmc: remove unused include of error.h net/nfp: build fix for musl libc app/test: include fcntl.h due to use of O_RDONLY app/test: fix setting of -D_GNU_SOURCE with meson bus/dpaa: use warn(3) instead of error(3) to improve portability bus/dpaa: fix warning: "__WORDSIZE" is not defined, evaluates to 0 crypto/dpaa2_sec: build fix for musl libc crypto/dpaa2_sec: simplify pr_{debug,err,warn} macros net/netvsc: fix compile warning for fcntl.h include eal/linux: use gettid(2) for debug message in sigbus_handler app/test-pmd/testpmd.h | 2 +- app/test/meson.build | 2 +- app/test/test_eal_flags.c | 1 + drivers/bus/dpaa/base/fman/netcfg_layer.c | 4 +- drivers/bus/dpaa/base/qbman/bman_driver.c | 6 +- drivers/bus/dpaa/base/qbman/qman_driver.c | 12 ++-- drivers/bus/dpaa/include/compat.h | 2 +- drivers/bus/dpaa/include/fsl_qman.h | 3 +- drivers/bus/fslmc/qbman/include/compat.h | 2 +- drivers/bus/pci/linux/pci_uio.c | 82 ++++++++++++++-------- drivers/crypto/dpaa2_sec/hw/compat.h | 36 +++++----- drivers/net/cxgbe/base/common.h | 18 ++--- drivers/net/netvsc/hn_vf.c | 2 +- drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c | 2 + lib/librte_eal/linuxapp/eal/eal_dev.c | 8 ++- 15 files changed, 104 insertions(+), 78 deletions(-) -- 2.21.0