[tbb-commits] [tor-browser-bundle/maint-7.0] Bug 22328: remove clang PIE wrappers

gk at torproject.org gk at torproject.org
Fri Jun 2 09:44:21 UTC 2017


commit 2b6992cf9aedafd4a121ff820aba182d0906c593
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Fri Jun 2 11:31:16 2017 +0200

    Bug 22328: remove clang PIE wrappers
    
    Those wrappers are no longer necessary to produce PIE binaries.
---
 gitian/descriptors/mac/gitian-firefox.yml | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/gitian/descriptors/mac/gitian-firefox.yml b/gitian/descriptors/mac/gitian-firefox.yml
index efa7acf..73c46bf 100644
--- a/gitian/descriptors/mac/gitian-firefox.yml
+++ b/gitian/descriptors/mac/gitian-firefox.yml
@@ -40,22 +40,6 @@ script: |
   tar xaf ../MacOSX10.7.sdk.tar.gz
   tar xaf ../cctools.tar.gz
   unzip ../clang-linux64-jessie-utils.zip
-  # Bug 20439: build with PIE
-  # If we add -fPIE to the FLAGS, the build fails in js/src/ctypes/libffi
-  # with libtool giving an error:
-  #   libtool: compile: unable to infer tagged configuration
-  # To avoid this error, we add -fPIE using wrappers on clang and clang++
-  mv clang/bin/clang clang/bin/clang.real
-  mv clang/bin/clang++ clang/bin/clang++.real
-  cat > clang/bin/clang << EOF
-  #!/bin/sh
-  exec $(pwd)/clang/bin/clang.real -fPIE "\$@"
-  EOF
-  cat > clang/bin/clang++ << EOF
-  #!/bin/sh
-  exec $(pwd)/clang/bin/clang++.real -fPIE "\$@"
-  EOF
-  chmod +x clang/bin/clang clang/bin/clang++
   #
   TB_COMMIT_DATE=$(git show -s --format='%ci')
   COPYRIGHT_YEAR=${TB_COMMIT_DATE%%-*}



More information about the tbb-commits mailing list