From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0B811A0032; Fri, 11 Feb 2022 18:22:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A4A4940140; Fri, 11 Feb 2022 18:22:22 +0100 (CET) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id B906340042 for ; Fri, 11 Feb 2022 18:22:21 +0100 (CET) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1984C5C00A6; Fri, 11 Feb 2022 12:22:21 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 11 Feb 2022 12:22:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; bh=jfrmVWv8Fuh818 gKzNTanNsqUFFjLfJkUR5ty7ZSiSE=; b=j99vMiYCN09rwNM42t3KAG+RKOUxr0 4TM4cojsbIHb2p4cCaH557eR6ise28Jatmq/YO/5x9/YWXRf6rug6XhA3Ipr1l3S TWe+mivZak3x6uE/BvD2hl2IdFTw+VJnkmyUHbdtrh3TgGSHL2St1UcveoofDNKo EFfLZ7cbh6eyh4I8BAZXT7NF00rwsp4vdRhM7fZ4NAwMTMLId9sOCAa2SG/U5ehA sb3O993ZZdKvonI+kDVaIhMO28LPJeQUDDXL4a87A/avtYmmmkJLPWmCLzGbYR9X VgytsTHw8mqfh/I08zVxNcz/X/0izZRYUiiXNeC7Wev3FVTy9YiGxN/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=jfrmVWv8Fuh818gKzNTanNsqUFFjLfJkUR5ty7ZSi SE=; b=JVP0RC5hZBKWSmdrUUZJ7nqaW3kpLvj6cD8J+dhgr0eODiYc3Q5rO5PvO NC1D88yxPLbCf0QSuNoBKRonSI40d5A9te+p/DOkWhxs6I7luVW7I29QUQpg0tfK Ur8GefIqSALQx24jqVLIDSM3O4tivponjcJJuZaEh29W2+DnWh4nbQ/7UysUzOl+ GkWJ8I64gk85n0X7aU1EbOdggqWpl74zOaRjchhdnP+Fsqn2z5uKZagBA4hdzAXl jZzwdftFGhn48yvbepk9XhjpPZ76PwxdRQPxLT4OP0/PIzBM4I+rtrlrwbQ7ZIR8 feNm94Oh+31kC1+05t5/vMUG7Ie4Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrieefgdelkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 11 Feb 2022 12:22:20 -0500 (EST) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, Aaron Conole , Michael Santana Subject: Re: [PATCH v4 7/7] buildtools/chkincs: test headers for C++ compatibility Date: Fri, 11 Feb 2022 18:22:18 +0100 Message-ID: <1883745.fIoEIV5pvu@thomas> In-Reply-To: References: <20220204174209.440207-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 11/02/2022 11:57, Bruce Richardson: > On Fri, Feb 11, 2022 at 10:31:38AM +0000, Bruce Richardson wrote: > > On Thu, Feb 10, 2022 at 10:58:37PM +0100, Thomas Monjalon wrote: > > > 10/02/2022 16:42, Bruce Richardson: > > > > +executable('chkincs-cpp', cpp_sources, + cpp_args: ['-include', > > > > 'rte_config.h', cflags], + link_args: dpdk_extra_ldflags, + > > > > include_directories: includes, + dependencies: deps, + > > > > link_whole: dpdk_static_libraries + dpdk_drivers, + install: > > > > false) > > > > > > devtools/test-meson-builds.sh is failing on build-x86-generic at link > > > stage: /usr/bin/ld: cannot find -lIPSec_MB That's probably because there > > > is no pkg-config file for this lib, and it is not installed in a standard > > > directory, so my setup is adding -L in LDFLAGS. > > > > > The test-meson-build.sh script works fine for me on my system with the > > ipsec_mb libraries being found ok [installed in standard path]. Can you > > share how you are adding the extra library paths, is it via environment or > > via c_link_args? > > > Actually, I just realised that these chkincs binaries don't need to be > linked with all these libraries at all, since they don't actually call any > functions and are just meant to check includes. Let me test with removing > all the "link_whole:" parameters and if that works, submit it as a new > patch. That might solve your issues here - again depending on how your > environment is set up. As I said, it is configured via LDFLAGS environment variable: export LDFLAGS=-L$aesnidep