From: David Marchand Date: Tue, 2 Jul 2019 12:13:50 +0000 (+0200) Subject: buildtools: filter out checked symbols for icc X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8e0144b69d5542a3a2c5f3b228e0d905057e4a3c;p=dpdk.git buildtools: filter out checked symbols for icc 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 --- diff --git a/buildtools/check-experimental-syms.sh b/buildtools/check-experimental-syms.sh index 653756e274..0f6c62dbed 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 } }'`