From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 2F91EA05D3 for ; Thu, 25 Apr 2019 17:41:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2630C1B5D8; Thu, 25 Apr 2019 17:41:08 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 871391B5D3 for ; Thu, 25 Apr 2019 17:41:06 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F065EC7CB2; Thu, 25 Apr 2019 15:41:05 +0000 (UTC) Received: from rh.redhat.com (unknown [10.36.116.255]) by smtp.corp.redhat.com (Postfix) with ESMTP id 41EA45D9C6; Thu, 25 Apr 2019 15:41:05 +0000 (UTC) From: Kevin Traynor To: Natanael Copa Cc: dpdk stable Date: Thu, 25 Apr 2019 16:39:51 +0100 Message-Id: <20190425154037.28778-16-ktraynor@redhat.com> In-Reply-To: <20190425154037.28778-1-ktraynor@redhat.com> References: <20190425154037.28778-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 25 Apr 2019 15:41:06 +0000 (UTC) Subject: [dpdk-stable] patch 'app/test: fix flags with meson' has been queued to LTS release 18.11.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 18.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/01/19. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches can be viewed on the 18.11 branch at: https://github.com/kevintraynor/dpdk-stable-queue.git Thanks. Kevin Traynor --- >From 7d914686241e661427d6c89e5e853ccc4d3efd03 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 13 Mar 2019 18:06:51 +0100 Subject: [PATCH] app/test: fix flags with meson in app/test/meson.build the default_cflag is never used so the -D_GNU_SOURCE was never passed as intended. Fixes the following build error with musl libc: lib/librte_eal/common/include/rte_lcore.h:26:9: error: unknown type name 'cpu_set_t' typedef cpu_set_t rte_cpuset_t; ^~~~~~~~~ The problem is that cpu_set_t is only defined when _GNU_SOURCE is set. Fixes: 5d7b673d5fd6 ("mk: build with _GNU_SOURCE defined by default") Cc: stable@dpdk.org Signed-off-by: Natanael Copa --- test/test/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test/meson.build b/test/test/meson.build index 5a4816fed..ace827352 100644 --- a/test/test/meson.build +++ b/test/test/meson.build @@ -264,5 +264,5 @@ endif # specify -D_GNU_SOURCE unconditionally -default_cflags += '-D_GNU_SOURCE' +cflags += '-D_GNU_SOURCE' test_dep_objs = [] -- 2.20.1