Browse Source

ignore duplicated get_pc_thunk symbols

Jorge Aparicio 8 years ago
parent
commit
62258b5188
1 changed files with 2 additions and 1 deletions
  1. 2 1
      ci/run.sh

+ 2 - 1
ci/run.sh

@@ -55,8 +55,9 @@ case $TRAVIS_OS_NAME in
         ;;
         ;;
 esac
 esac
 
 
+# NOTE On i586, It's normal that the get_pc_thunk symbol appears several times so ignore it
 $PREFIX$NM -g --defined-only /tmp/target/${1}/debug/librustc_builtins.rlib | \
 $PREFIX$NM -g --defined-only /tmp/target/${1}/debug/librustc_builtins.rlib | \
-    sort | uniq -d | grep 'T __'
+    sort | uniq -d | grep -v __x86.get_pc_thunk | grep 'T __'
 
 
 if test $? = 0; then
 if test $? = 0; then
     exit 1
     exit 1