From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4C5BCA034F; Thu, 25 Feb 2021 19:23:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 039F1406B4; Thu, 25 Feb 2021 19:23:13 +0100 (CET) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id A279F40692 for ; Thu, 25 Feb 2021 19:23:11 +0100 (CET) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B7FB95C00AE; Thu, 25 Feb 2021 13:23:10 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 25 Feb 2021 13:23:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=fm3; bh= 0d6jyyNujsHCtguZLv0hI3BU4DtBwL5JgVYKA4ImDl4=; b=lClZy1zKVpAwsjBq 51OIqa29D8Cq2Wgp6a1IVN4KiQISCYXU4wFJsgSDkm90Y5IxUru9SkDENigqhSFu pXwd1P+oML5IY0cEt3sXFpmvVYNygvu3TPiu6qX6T1qwN/fORU0VH2TLMqXropyW f2y6z7sKSRCoU+QTleJ4BNCzUrmBm0t1k7xy7HUhSMpedGTf3yM1aYVvCKIa9IF2 OmE2hqLKsOccb7DhGNMbFHzCQmxJdHjYbxI/4UlViZrLi1uvhFRh2C8X8/0lnsmw JUvXfgIkLxlnTPBbukD5hPoCHiwW7YwWb85PD9Jq2aVOcOBfxr66BdePVaffCXpE Y7voIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=0d6jyyNujsHCtguZLv0hI3BU4DtBwL5JgVYKA4ImD l4=; b=qlmzkF/FnSX4Kfz8rmVgpflIoIZDiI+/oDdf/g1rEzhsEUTBhCP9GSFPM tAZz2f6SWqQ1RH6k6k/C7sTU0hncviMTngZr8o4MGz1prvlFKv/wQIzzWQx/BUbM W77roesE8r+0RVkPjDVSFcw5WIjgXlL0UndSvmqjxti+PHvzWcX/hUHEgTf4RYFT EnTA80bmzZVtd84ZzKxxxNLhfOMEqBm4CqG2ivMtLhPmyk8IHJ4yxQ2VNw6V2X5r OlElPRruljMRV68UZiQ7jRCXGQw/JC93HGvxHt8bEW+zO8yJXRNP8hTN1hduIZC4 zrpFZhqcKMPrbfQcbPg1ySUF14m1Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrkeelgdduudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhggtgfgsehtke ertdertdejnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghs sehmohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepveejhefghfekhefhge etvddvfeejveffleejhedutdefveevleetveehfefhtdefnecuffhomhgrihhnpehgihht hhhusgdrtghomhdpughpughkrdhorhhgnecukfhppeejjedrudefgedrvddtfedrudekge enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id D1A5624005D; Thu, 25 Feb 2021 13:23:09 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: ncopa@alpinelinux.org Date: Thu, 25 Feb 2021 19:22:33 +0100 Message-Id: <20210225182250.1149592-1-thomas@monjalon.net> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20190313170657.16688-1-ncopa@alpinelinux.org> References: <20190313170657.16688-1-ncopa@alpinelinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v5 00/17] Alpine/musl build support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" These patches fix some build errors/warning for Alpine Linux, using musl and busybox. Few improvements are added on the way. The goal is to run a container with the following Dockerfile: 8< ------------ FROM alpine # DPDK prerequisites RUN apk --no-cache add \ gcc libc-dev bsd-compat-headers linux-headers \ python3 py3-elftools meson ninja \ libexecinfo-dev numactl-dev zlib-dev libpcap-dev libbpf-dev openssl-dev # mlx prerequisites RUN apk --no-cache add \ git cmake libnl3-dev RUN git clone https://github.com/linux-rdma/rdma-core.git WORKDIR /rdma-core/build RUN cmake -DNO_MAN_PAGES=1 -DNO_PYVERBS=1 -GNinja .. RUN ninja install WORKDIR / # download ARG version RUN if [ "$version" = git ] ; then \ git clone http://dpdk.org/git/dpdk dpdk-$version ;\ else \ wget http://fast.dpdk.org/rel/dpdk-$version.tar.xz && \ tar xf dpdk-$version.tar.xz ;\ fi # build WORKDIR dpdk-$version/build RUN meson .. RUN ninja install 8< ------------ Natanael Copa (7): bus/pci: support I/O port operations with musl bus/dpaa: fix 64-bit arch detection bus/dpaa: fix build with musl common/dpaax/caamflib: fix build with musl common/dpaax/caamflib: simplify log macros net/cxgbe: remove use of uint type app/testpmd: fix build with musl Thomas Monjalon (10): eal: fix comment of OS-specific header files buildtools: fix build with busybox build: detect execinfo library on Linux build: define _GNU_SOURCE globally eal/linux: fix build with musl drivers: fix header includes for musl drivers: replace page size definitions with function net/igc: remove use of uint type vdpa/mlx5: replace pthread functions unavailable in musl examples/bbdev: fix header include for musl app/meson.build | 4 - app/test-pmd/bpf_cmd.c | 2 +- app/test-pmd/config.c | 2 +- app/test-pmd/testpmd.h | 2 +- app/test/meson.build | 3 - buildtools/binutils-avx512-check.sh | 2 +- buildtools/check-symbols.sh | 2 +- buildtools/map-list-symbol.sh | 2 +- buildtools/pkg-config/meson.build | 1 + config/meson.build | 9 +- drivers/bus/dpaa/base/fman/netcfg_layer.c | 4 +- drivers/bus/dpaa/base/qbman/bman_driver.c | 13 ++- drivers/bus/dpaa/base/qbman/qman_driver.c | 17 +++- drivers/bus/dpaa/include/fsl_qman.h | 2 +- drivers/bus/dpaa/include/netcfg.h | 1 - drivers/bus/fslmc/qbman/include/compat.h | 3 - drivers/bus/pci/linux/pci_uio.c | 91 +++++++++++++------ drivers/bus/pci/linux/pci_vfio.c | 9 +- drivers/bus/vmbus/linux/vmbus_uio.c | 4 +- drivers/bus/vmbus/private.h | 5 +- drivers/bus/vmbus/rte_vmbus_reg.h | 2 +- drivers/bus/vmbus/vmbus_common_uio.c | 4 +- drivers/common/dpaax/caamflib/compat.h | 40 ++++---- drivers/common/dpaax/compat.h | 5 - drivers/common/dpaax/meson.build | 1 - drivers/crypto/virtio/virtio_pci.h | 3 +- drivers/event/dlb/dlb.c | 9 +- drivers/event/dlb/dlb_priv.h | 2 - drivers/event/dlb/pf/base/dlb_osdep.h | 2 +- drivers/event/dlb/pf/dlb_main.h | 5 +- drivers/event/dlb/pf/dlb_pf.c | 13 ++- drivers/event/dlb2/dlb2.c | 2 +- drivers/event/dlb2/dlb2_priv.h | 2 - drivers/event/dlb2/pf/base/dlb2_osdep.h | 2 +- drivers/event/dlb2/pf/dlb2_main.h | 5 +- drivers/event/dlb2/pf/dlb2_pf.c | 11 ++- drivers/net/bnx2x/ecore_fw_defs.h | 18 ++-- drivers/net/cxgbe/base/common.h | 18 ++-- drivers/net/igc/igc_flow.c | 2 +- drivers/net/ionic/ionic_lif.c | 25 ++--- drivers/net/ionic/ionic_main.c | 3 +- drivers/net/ionic/ionic_osdep.h | 2 +- drivers/net/memif/rte_eth_memif.h | 4 - drivers/net/mlx5/linux/mlx5_socket.c | 4 - drivers/net/netvsc/hn_rndis.c | 12 +-- drivers/net/netvsc/hn_rxtx.c | 10 +- drivers/net/netvsc/hn_var.h | 9 +- drivers/net/virtio/virtio.h | 2 +- drivers/net/virtio/virtio_ethdev.c | 6 +- drivers/net/virtio/virtio_ethdev.h | 4 - drivers/vdpa/ifc/ifcvf_vdpa.c | 17 ++-- drivers/vdpa/mlx5/mlx5_vdpa_event.c | 25 ++--- examples/bbdev_app/main.c | 2 +- examples/ip_pipeline/Makefile | 2 +- examples/meson.build | 4 +- .../performance-thread/l3fwd-thread/main.c | 4 - .../performance-thread/pthread_shim/Makefile | 1 - examples/pipeline/Makefile | 2 +- examples/vhost_blk/vhost_blk.c | 4 - lib/librte_eal/freebsd/include/rte_os.h | 5 +- lib/librte_eal/linux/include/rte_os.h | 7 +- lib/librte_eal/unix/eal_file.c | 1 + lib/librte_eal/windows/include/rte_os.h | 5 +- 63 files changed, 242 insertions(+), 242 deletions(-) -- 2.30.1