From patchwork Tue Jul 2 12:13:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 55866 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F283B1B203; Tue, 2 Jul 2019 14:14:05 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 786EC7CBC for ; Tue, 2 Jul 2019 14:14:04 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A1F43C1EB20B; Tue, 2 Jul 2019 12:14:02 +0000 (UTC) Received: from dmarchan.remote.csb (ovpn-204-190.brq.redhat.com [10.40.204.190]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0555919635; Tue, 2 Jul 2019 12:13:57 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, ferruh.yigit@intel.com, nhorman@tuxdriver.com Date: Tue, 2 Jul 2019 14:13:50 +0200 Message-Id: <1562069630-7929-1-git-send-email-david.marchand@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 02 Jul 2019 12:14:03 +0000 (UTC) Subject: [dpdk-dev] [PATCH] buildtools: filter out symbols for ICC 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" For some reason, ICC creates additional global symbols with a . which triggers an error in the check that validates that symbols in the experimental section are properly published in the map file of the library. Filter them out. Fixes: 3290ac14eb94 ("buildtools: detect discrepancies for experimental symbols") Reported-by: Ferruh Yigit Signed-off-by: David Marchand Tested-by: Ferruh Yigit --- buildtools/check-experimental-syms.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildtools/check-experimental-syms.sh b/buildtools/check-experimental-syms.sh index 653756e..0f6c62d 100755 --- a/buildtools/check-experimental-syms.sh +++ b/buildtools/check-experimental-syms.sh @@ -36,8 +36,9 @@ do fi done +# Filter out symbols suffixed with a . for icc for SYM in `objdump -t $OBJFILE |awk '{ - if ($2 != "l" && $4 == ".text.experimental") { + if ($2 != "l" && $4 == ".text.experimental" && !($NF ~ /\.$/)) { print $NF } }'`