From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stable-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by dpdk.space (Postfix) with ESMTP id AF8BEA0679
	for <public@inbox.dpdk.org>; Thu, 28 Mar 2019 21:29:33 +0100 (CET)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 6DECD11A4;
	Thu, 28 Mar 2019 21:29:33 +0100 (CET)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com
 [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id D366D11A4;
 Thu, 28 Mar 2019 21:29:31 +0100 (CET)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id 78FDE21E44;
 Thu, 28 Mar 2019 16:29:31 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Thu, 28 Mar 2019 16:29:31 -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=f3iVDZEGyn2+wfoUzGwdp3jzb70CSxiIvML1Zh17y64=; b=TLUVvYxwWJEu
 RdaEKqyA9DAhmomM8S2zH7A3zeUjIg+I8s9RVgL0Ekgaw/+Mb7jSplRQBwh8JPfJ
 +1NsMRps4e3tzYR/IMdXRWLMKAtxr3pt58E0hHjowrD5bxCOahwv48h5OSf3X/IR
 xvoBSHGfkWtsb0Dj3mVrwU47tlZPZs4=
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=f3iVDZEGyn2+wfoUzGwdp3jzb70CSxiIvML1Zh17y
 64=; b=M850MuLJe34843HV756CqUS5MLgZSEslkbgHRbNpMtCjlSpD1werMSBip
 jCNiqy3s+D0oJDtK/FssYSELXhRvuMl2jP/N0LxCkoINKGlkM+M2FeDTRPzgzNFe
 DAhFTmQtG+2LtqbvbiZT7iheGIhRJurs+KdBAZry9wvOP+xqMD8UHV18PsRo12kc
 Stcv26SD3CQFMg6rgnI9JgdvmDPjVGdlwq37lPYRj0QMj2wl0p2+ci0iG8ZBYgTG
 7mgjaLHXwtm2le31VoAxFoEGLiJLskP2YYsGr04IpRLPzvfJx+5Y3H9nnJrkLQ5B
 wdb1hAExcRjpXhOEDJ6PJCnScg0uw==
X-ME-Sender: <xms:qi6dXPKucnwOnDac0SLtiGVwlzNSeUAOa4hiWbSBvrfONjg_JkL7rA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkeeggddufeelucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf
 hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh
 ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:qy6dXHbePsq-U5O1OBUGpjs2Vo-YUgixOL1SjWj9R6TmxwC0A0Sa7Q>
 <xmx:qy6dXCupFcPQDNlMexaLJITYfQTQ3k0jzbyQ2KtkCT1Sc8K7zv1-mg>
 <xmx:qy6dXMuy2NKsL8MEwFleGE6kbyAM-mu-yLCZokzhCimbcE5Ec8QE3w>
 <xmx:qy6dXOM3uAgzYhB4Tt9ERO_T9_6L2zrmUzlJHMHuPYiVF-UA5NdGbw>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 56A9AE4383;
 Thu, 28 Mar 2019 16:29:30 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Anatoly Burakov <anatoly.burakov@intel.com>
Cc: stable@dpdk.org, dev@dpdk.org
Date: Thu, 28 Mar 2019 21:29:29 +0100
Message-ID: <6372870.QIItS3NvGG@xps>
In-Reply-To: <1eaac2264febd5c36654a90b0cc13ba43a0b28ca.1553693720.git.anatoly.burakov@intel.com>
References: <72f990b04219f319b2922570a7ca7b9ce93e0aae.1550851129.git.anatoly.burakov@intel.com>
 <1eaac2264febd5c36654a90b0cc13ba43a0b28ca.1553693720.git.anatoly.burakov@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-stable] [PATCH v2] mem: warn user when running without
	NUMA support
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
Errors-To: stable-bounces@dpdk.org
Sender: "stable" <stable-bounces@dpdk.org>

27/03/2019 14:35, Anatoly Burakov:
> Running in non-legacy mode on a NUMA-enabled system without libnuma
> is unsupported, so explicitly print out a warning when trying to
> do so.
> 
> Running in legacy mode without libnuma is still supported whether or
> not we are running with libnuma support enabled, so also fix init to
> allow that scenario.
> 
> Cc: stable@dpdk.org
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
> ---
> 
> Notes:
>     v2:
>     - Removed unneeded eal_options include that broke the compile

There is another error when building build-arm64-host-clang:

../lib/librte_eal/linux/eal/eal_memory.c: In function 'rte_eal_memseg_init':
../lib/librte_eal/linux/eal/eal_memory.c:2437:40: error: expected ')' before 'OPT_LEGACY_MEM'
   RTE_LOG(WARNING, EAL, "Please use --"OPT_LEGACY_MEM" option, or recompile with NUMA support.\n");
                                        ^~~~~~~~~~~~~~