From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 0/7] Improve core EAL musl compatibility Date: Thu, 04 Oct 2018 00:56:35 +0200 Message-ID: <4554492.8HEKYBzYmn@xps> References: <20180928152542.GA13528@bricha3-MOBL.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Bruce Richardson , dpdk@stormmq.com 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 3CAB91B437 for ; Thu, 4 Oct 2018 00:56:38 +0200 (CEST) In-Reply-To: <20180928152542.GA13528@bricha3-MOBL.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 28/09/2018 17:25, Bruce Richardson: > On Wed, Aug 29, 2018 at 12:56:14PM +0100, Anatoly Burakov wrote: > > 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. > > > > Disabling the kernel drivers, I get a build of EAL and the other libraries > to compile as static libraries. However, shared library builds - and > therefore meson builds fail due to missing backtrace function when linking. > There is still work to do here, but this does fix a number of build errors > on alpine. > > Acked-by: Bruce Richardson I see this error with meson GCC-8.2 static: examples/ip_pipeline/conn.c:11: error: "__USE_GNU" redefined