From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 00/15] Build fixes for musl libc Date: Sun, 31 Mar 2019 00:57:10 +0100 Message-ID: <18966392.1bK43UoomU@xps> References: <20190313170657.16688-1-ncopa@alpinelinux.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Natanael Copa Return-path: Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by dpdk.org (Postfix) with ESMTP id CF15D11A4 for ; Sun, 31 Mar 2019 00:57:16 +0100 (CET) In-Reply-To: <20190313170657.16688-1-ncopa@alpinelinux.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 13/03/2019 18:06, Natanael Copa: > 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. > > 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: simplify debug message in sigbus_handler Thanks for the cleanup. Some patches may deserve more reviews. If you send a new version, please use --to-cmd devtools/get-maintainer.sh so the maintainers will be Cc'ed. All these patches are fixes and may be interesting to backport them in the latest LTS or other stable releases. In order to help with backporting, please fill "Fixes:" tag and add Cc: stable when relevant. The exact recommendation is described in this doc chapter: http://doc.dpdk.org/guides/contributing/patches.html#commit-messages-body In order to help, I already fixed 7 commit messages and merged them. The remaining patches, requiring a v4, are: 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/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