From patchwork Wed Jan 24 03:00:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 125618 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp140362ljf; Tue, 23 Jan 2018 19:04:01 -0800 (PST) X-Google-Smtp-Source: AH8x226kl6+pYXf1jkxttWviisDAjXzukGHxlSquekAs2bXyNPF6jeCQLemrZCY+Z81UJ8DdmF2p X-Received: by 10.55.26.212 with SMTP id l81mr7086689qkh.237.1516763041367; Tue, 23 Jan 2018 19:04:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516763041; cv=none; d=google.com; s=arc-20160816; b=K1+OnKxh5Ohd2HrtsTfdD2nBQ3Y4y8MJg/09AVKsQKQBUmcTSD80B8cCjXuXT++0ov 8ssoX0D7MQ8o2vQ3Wri6rf/T01vBhq+LgVGkenMk6+loBFNZnxU2/RUYuMJoFvbIkpW1 tuVfCCiTYNB+zZ75MPn+iB1u5UoLmlhINmIA6x5pa0jSUq4tC2NiMZaozeGMfuy3rSAF Nvn/vDNhGADlnohJy11ApB59UdnSeVYY2MRB2LqJlSt+X6eStMuXHRfPnj/BZZDVxuDP /JaWsbLsaL36tBNYxyz6WStlmkqidTOWDZGkwMoQ9zh3wcEDgE/mQv0IftI3+nstj3bh Jq1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=HzW60uTzfAPcKNILwe3h8KVsgZQUq8ljSYH1CHTGQK8=; b=n2aFuHdHQoPiMj6cs4oKLfnLxZWDpYP7QwnRzbtrSugv84rG0YMq7t0v+az9P5EkIq LRbKOtVFeBTAAUX6A9gsWq9w0FtZ2Rponkcya1WefvqowcYQ4HuUPtTFZ6LQ4Vfu1YPz 6AFKVhu3NPEj6qdthuxQk+pkJhAI00xU/1ce55c9tBIPmiEg2UIGwzhRR+y66jfNPoXo 8damO9E9nL/inIVjghwJTef3Sd/ZYlf8CDoQC6R7ooeadok9PYgMC0Bo/HeFeB40suZ4 1fYQkXKG0gQx1ks+sZiZyIZblmWzQbODi2toVaBPiyhJypNMFmcsMjm9k83uvnLrM6Re rAUQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id z137si1934779qka.276.2018.01.23.19.04.01; Tue, 23 Jan 2018 19:04:01 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 11BF4617B7; Wed, 24 Jan 2018 03:04:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id AA61D617E0; Wed, 24 Jan 2018 03:01:35 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 238D4617D7; Wed, 24 Jan 2018 03:01:29 +0000 (UTC) Received: from forward100j.mail.yandex.net (forward100j.mail.yandex.net [5.45.198.240]) by lists.linaro.org (Postfix) with ESMTPS id E5B6560683 for ; Wed, 24 Jan 2018 03:00:17 +0000 (UTC) Received: from mxback10o.mail.yandex.net (mxback10o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::24]) by forward100j.mail.yandex.net (Yandex) with ESMTP id 9EBCB5D84335 for ; Wed, 24 Jan 2018 06:00:16 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback10o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id XvaV0WJSI3-0G9ioMRg; Wed, 24 Jan 2018 06:00:16 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id mUFfJKeeR5-0G3086fQ; Wed, 24 Jan 2018 06:00:16 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 24 Jan 2018 06:00:12 +0300 Message-Id: <1516762814-30313-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516762814-30313-1-git-send-email-odpbot@yandex.ru> References: <1516762814-30313-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 416 Subject: [lng-odp] [PATCH v4 3/5] build: configure: print notice about unsupported configuration X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov If we are using shared DPDK library, we can not guarantee that there will be a static one (to fullfill dependencies if gcc -static is used). Thus mark this configuration as not supported. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 416 (lumag:trav-dpdk-shared) ** https://github.com/Linaro/odp/pull/416 ** Patch: https://github.com/Linaro/odp/pull/416.patch ** Base sha: b122176ee59494dd957f0f5ff41d4b55a1477e13 ** Merge commit sha: b3627670bafa53ad9e0b7833b8864144ce6d7621 **/ configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 56a422b4b..6d76bead8 100644 --- a/configure.ac +++ b/configure.ac @@ -191,6 +191,12 @@ AC_ARG_ENABLE([static-applications], [ with ODP])], [], [enable_static_applications=yes]) AM_CONDITIONAL([STATIC_APPS], [test "x$enable_static_applications" != "xno"]) +if test "x$DPDK_SHARED" = "xyes" -a "x$enable_static_applications" != "xno" ; +then + AC_MSG_WARN([Static linking of examples and tests might fail when ] + [shared DPDK is detected. If build fails please retry with ] + [--disable-static-applications]) +fi ########################################################################## # Include m4 files