summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@redhat.com>2019-07-02 14:13:50 +0200
committerThomas Monjalon <thomas@monjalon.net>2019-07-02 16:04:37 +0200
commit8e0144b69d5542a3a2c5f3b228e0d905057e4a3c (patch)
treee9cc52d954946433f100ac988dcc5a71d80fc67e /buildtools
parenta0fbab25b7c301b685eacbabb6ecd9296623653d (diff)
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 <ferruh.yigit@intel.com> Signed-off-by: David Marchand <david.marchand@redhat.com> Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'buildtools')
-rwxr-xr-xbuildtools/check-experimental-syms.sh3
1 files changed, 2 insertions, 1 deletions
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
}
}'`