From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 0/7] Improve core EAL musl compatibility Date: Mon, 22 Oct 2018 11:33:38 +0200 Message-ID: <2217631.WZYK2fGq3V@xps> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, dpdk@stormmq.com, bruce.richardson@intel.com, stephen@networkplumber.org To: Anatoly Burakov Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 99EBB4CA7 for ; Mon, 22 Oct 2018 11:33:38 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 04/10/2018 12:20, Anatoly Burakov: > This patchset fixes numerous issues with musl compatibility > in the core EAL libraries. It does not fix anything beyond > core EAL (so, PCI driver is still broken, so are a few other > drivers), but it's a good start. > > Tested on container with Alpine Linux. Alpine dependencies: > > build-base bsd-compat-headers libexecinfo-dev linux-headers numactl-dev > > For numactl-dev, testing repository needs to be enabled: > > echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories > > If successful (using a very broad definition of "success"), > the build should fail somewhere in PCI bus driver in UIO. > > v3 -> v2: > - Made _GNU_SOURCE unconditional for all DPDK targets > - Fixed usage of __USE_GNU and _GNU_SOURCE accross DPDK > > v2 -> v1: > - Fixed patch 2 to use existing define if available > - Fixed patch 7 to use proper format specifier and > cast pthread ID to unsigned pointer type > > Anatoly Burakov (7): > mk: build with _GNU_SOURCE defined by default > pci/vfio: improve musl compatibility > fbarray: improve musl compatibility > eal/hugepage_info: improve musl compatibility > mem: improve musl compatibility > string_fns: improve musl compatibility > eal: improve musl compatibility Applied, thanks Hope the _GNU_SOURCE source won't bring too much compilation surprises.