From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 51E18A0487 for ; Tue, 2 Jul 2019 09:57:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 34239CFA6; Tue, 2 Jul 2019 09:57:54 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by dpdk.org (Postfix) with ESMTP id 577325B3A for ; Tue, 2 Jul 2019 09:57:52 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 4D9694EB; Tue, 2 Jul 2019 03:57:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 02 Jul 2019 03:57:51 -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=LaVCOgie4O6cYuMUV4Ktg1gpp7A+OTBju8EIzjfgNs4=; b=QeIAXMYoHtSR 0noVDWBU8/bR677j5q3PvKk1uQ0Dwx8POR0v5Mby+/zxV+wIlW6DPyLvdZDogefI f+pivLXBx8Eq9N66Js+JNER7HplxywvZu0EaSTVRPg888JIuotfvSZ5K0IEkli76 5Z1oJMoY2HyMgMUBJSKWFGCtPfasbu0= 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=fm3; bh=LaVCOgie4O6cYuMUV4Ktg1gpp7A+OTBju8EIzjfgN s4=; b=B043ERstF7KBoP6eyfrraJ2sHyyi//CzuRtIEshyPm0kMA0Lilcy1FNKQ nPzmP45MaFesvaR2DsMlxcWHhiwlyfMKm2G57WlzIWbBoQCFSnYmgAISkA5SjXRn HwrPGsA0dfsBwK6p6dNqaYdeFgqhJrd2WVblosWB8swCafCUlb8l1ntc+3U0LcAt giyQS5LU7306KI0UtNxeuS8Nkrkw+2RKbaZIU1uBh9s86ydi0LsSgKjBnyu0Sq8i 99lJYlviQ+RhX0rqMyXTFEssI6DGQ3y0CzXWu5FPLg5dP6x5lrxqWjxjN9SUk2hQ L7UPQYxGj8YsJE9yg7MbGDR/TvxNA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrvdejgdduvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtqhertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuff homhgrihhnpehpkhhgqdgtohhnfhhighdrsghuihhlugenucfkphepjeejrddufeegrddv tdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrg hlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd 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 0904B380076; Tue, 2 Jul 2019 03:57:49 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, bluca@debian.org Date: Tue, 02 Jul 2019 09:57:48 +0200 Message-ID: <1843519.YIzr3x4FOW@xps> In-Reply-To: <20190517114734.7072-5-bruce.richardson@intel.com> References: <20190503133537.58712-1-bruce.richardson@intel.com> <20190517114734.7072-1-bruce.richardson@intel.com> <20190517114734.7072-5-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 4/5] examples/vdpa: support building from pkg-config info 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 17/05/2019 13:47, Bruce Richardson: > The vdpa example app did not check for a libdpdk pkg-config file and > attempt to build using that. Add support for that method of compile to > align the app with the other examples. I see an issue with the experimental tag: clang -Wp,-MD,./.main.o.d.tmp -m64 -pthread -fPIC -Ilib/librte_eal/linux/e= al/include -march=3Dnative -DRTE_MACHINE_CPUFLAG_SSE -DRTE_MACHINE_CPUFLAG= _SSE2 -DRTE_MACHINE_CPUFLAG_SSE3 -DRTE_MACHINE_CPUFLAG_SSSE3 -DRTE_MACHINE_= CPUFLAG_SSE4_1 -DRTE_MACHINE_CPUFLAG_SSE4_2 -DRTE_MACHINE_CPUFLAG_AES -DRTE= _MACHINE_CPUFLAG_PCLMULQDQ -DRTE_MACHINE_CPUFLAG_AVX -DRTE_MACHINE_CPUFLAG_= RDRAND -DRTE_MACHINE_CPUFLAG_RDSEED -DRTE_MACHINE_CPUFLAG_FSGSBASE -DRTE_MA= CHINE_CPUFLAG_F16C -DRTE_MACHINE_CPUFLAG_AVX2 -Ix86_64-native-linux-clang+= shared+next+debug+ASSERT/examples/vdpa/x86_64-native-linux-clang+shared+nex= t+debug+ASSERT/include -Ix86_64-native-linux-clang+shared+next+debug+ASSERT= /include -include x86_64-native-linux-clang+shared+next+debug+ASSERT/includ= e/rte_config.h -D_GNU_SOURCE -O2 -D_FILE_OFFSET_BITS=3D64 -W -Wall -Wstrict= =2Dprototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-defin= ition -Wpointer-arith -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wfo= rmat-security -Wundef -Wwrite-strings -Wdeprecated -Werror -Wno-missing-fie= ld-initializers -Wno-address-of-packed-member -D_GNU_SOURCE -o main.o -c= examples/vdpa/main.c=20 examples/vdpa/main.c:172:8: error: 'rte_vhost_driver_attach_vdpa_device' is= deprecated: Symbol is not yet part of stable ABI [-Werror,-Wdeprecated-dec= larations] It seems "CFLAGS +=3D -DALLOW_EXPERIMENTAL_API" is reset by the call to pkg-config. > +build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build Better to use the real directory name as prerequisite, instead of "build".