From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 39E432256A; Mon, 22 Oct 2018 05:33:38 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 22 Oct 2018 05:33:38 -0400 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-transfer-encoding:content-type; s=mesmtp; bh=3lc0gvRRfFn3FQETCpSz5FKtGOZPRZL+Y7NfweaDwhQ=; b=nO3uZIxPZJfi rrbmivaxsfs6Fj8ggAB+mFw3BFFBuuL3IP9G1c/wGFupzng2Pt+IatczfwHzjf8Q 4MrpSFz6ayX5E9qoSCbTiFdO2KlAd+Ux9wyyROPOB2ZgC3ZkE7BNhf9pft5TfTB5 is5eDnf2qAo48Xpssn1S2h4DUbHxlkY= 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=fm1; bh=3lc0gvRRfFn3FQETCpSz5FKtGOZPRZL+Y7NfweaDw hQ=; b=FPASMx0Etz5S6JmOV5vP91ojhQkFHkkum54LEgdk2SNaG8da4UxrDQ3Tc ZV/7LPfsoINhMFsFTypUfGIaWobyYAavIw1kETwKhO/sVCPKg7gjQp4lILuOppg3 j6aARG8WaDVDt9NVfyfd4DZarWznnk6pNROMrwGrWccty9ihg2n4//7N5d9l+NN1 CE6apLOCPC51d/ECIuFNRKqVh8gs5CKUvHkRltOhBLBQGKEKuWKKrcbpwlgaFio+ bktpBpq/2AeNYAEnOUhnImKiae9hSR5VhyxK0vlChU0QH72xiQCZpqulgHgD60Yt wjHm/9euW904CrMpNvEuA5b3NOHwA== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 88E64102F0; Mon, 22 Oct 2018 05:33:36 -0400 (EDT) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, dpdk@stormmq.com, bruce.richardson@intel.com, stephen@networkplumber.org Date: Mon, 22 Oct 2018 11:33:38 +0200 Message-ID: <2217631.WZYK2fGq3V@xps> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 0/7] Improve core EAL musl compatibility 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: , X-List-Received-Date: Mon, 22 Oct 2018 09:33:39 -0000 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.