From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AEA46A0521; Thu, 5 Nov 2020 22:17:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7073A100C; Thu, 5 Nov 2020 22:17:36 +0100 (CET) Received: from mx1.tetrasec.net (mx1.tetrasec.net [66.245.176.36]) by dpdk.org (Postfix) with ESMTP id 993B023D for ; Thu, 5 Nov 2020 22:17:33 +0100 (CET) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id C436313C5DF; Thu, 5 Nov 2020 21:17:31 +0000 (UTC) Received: from ncopa-desktop.lan (67.63.200.37.customer.cdi.no [37.200.63.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: n@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id F2F0D13C5DE; Thu, 5 Nov 2020 21:17:30 +0000 (UTC) From: Natanael Copa To: dev@dpdk.org Cc: Natanael Copa Date: Thu, 5 Nov 2020 22:17:08 +0100 Message-Id: <20201105211716.25181-1-ncopa@alpinelinux.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <18966392.1bK43UoomU@xps> References: <18966392.1bK43UoomU@xps> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] Build fixes for musl libc X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" A set of patches to fix build with musl libc. I also did a few cleanups w= rt 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