Skip to contentSkip to conversation

buildtools: filter out symbols for ICC

PATCH Applied David Marchand 3 participants 3 messages Jul 2, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 buildtools: filter out 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")
---
 buildtools/check-experimental-syms.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
buildtools/check-experimental-syms.sh +2 -1
index 653756e..0f6c62d 100755
@@ -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
 	}
 }'`
Signature · 1 line
1.8.3.1
Tested-by on v1 1/1
#1 lore raw
Quoted 9 lines · David Marchand

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")
#2 lore raw

02/07/2019 14:59, Ferruh Yigit:

Quoted 6 lines · David Marchand
Quoted 5 lines

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.

Quoted 6 lines
Quoted 4 lines
Fixes 3290ac14eb94 ("buildtools: detect discrepancies for experimental symbols")

Applied, thanks