From patchwork Wed Jan 24 02:00:10 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: 125616 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp117678ljf; Tue, 23 Jan 2018 18:04:15 -0800 (PST) X-Google-Smtp-Source: AH8x226swzrqFyKxZ22g3rnMd7BnWf2tYdVwZOlSedyYzVi2AH/PKk1xf8s3rRQxSFX61Fayk2S3 X-Received: by 10.200.26.206 with SMTP id h14mr6755987qtk.223.1516759454881; Tue, 23 Jan 2018 18:04:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516759454; cv=none; d=google.com; s=arc-20160816; b=DHWSy9soEsfyaGVsx1slYBLiGjFB6xEcViNXKghbPo6NASMdiSCmAsiWLTIGmCtPnb JeBJoCO/0m1PoSfENdCAIBpxC/cnwEYLZePM38ofRNLvkLh/EQKmaRePrc16M3lazIMd hyPIR6awwjHmkjE9+HfBIDDVkf0KppIZXTLz7rRPW6bvUJoOp+Livf85NZI6o2H6c9p/ qjOVNnSbJBz2Mr8G2h5BQEMhSKX7w4lJltA1VWsARJ6yIeI7Syig60yIylEAq+RsW2XD 83EsNeaHbp3wjAxxFepY+JgcOyNgeMk7S1inycBI6wtM58T+nCFKliEqxzoJSwtWL54D kD8g== 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=bhMDgK9t70J6ybdH3SXPTk5QUhct6B8mvAxKDw2GFO8=; b=lNaHJEu2/9ama75eVDrbWa5BjC9wy7f40SCxq97q2mQUtpBydY5LBKho7oYZNcEfMd jgivASFEIk3nultX8wtgngytiNlVByN1P+hmVo2ir6ucfbguFeZNdPcZSrqYmlFFK9D2 IL2/n3EYGh25+KVcKsOHC91/aI/eOA0n4pg/1HlVO7a75x0mB8LzA3hKriRkX9qBoWsd yy5geqXhfhzKlNZsQfwU454Kx/UoW0Au5A5pEXMKGG/DMX2o5So6ipnGMKl9SurZXIxt rx37zAm8HrcVg+f3w2yKcxxnpTpS9znX9sE+6/GnPzh/o3TKt/g1CUAPJmZltt9SPmTE gU3Q== 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 v54si1767823qtk.290.2018.01.23.18.04.14; Tue, 23 Jan 2018 18:04:14 -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 6C7C3617E5; Wed, 24 Jan 2018 02:04:14 +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 4969B6177D; Wed, 24 Jan 2018 02:02:04 +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 1A06561520; Wed, 24 Jan 2018 02:01:59 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id 5B06D61520 for ; Wed, 24 Jan 2018 02:00:50 +0000 (UTC) Received: from mxback8g.mail.yandex.net (mxback8g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:169]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 5B69B13418F1 for ; Wed, 24 Jan 2018 05:00:17 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback8g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Fhy57kOXRF-0Ht08c1X; Wed, 24 Jan 2018 05:00:17 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Eede1EXMx1-0GNui4b9; Wed, 24 Jan 2018 05: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 05:00:10 +0300 Message-Id: <1516759212-29210-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516759212-29210-1-git-send-email-odpbot@yandex.ru> References: <1516759212-29210-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 416 Subject: [lng-odp] [PATCH v3 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: eda6bc11b0fade6a40b217608359775c2c7043f8 **/ 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