[tbb-commits] [tor-browser-bundle/master] Bug 12238: Make Linux bundles reproducible on LXC.

gk at torproject.org gk at torproject.org
Wed Nov 19 13:29:22 UTC 2014


commit 2d063903ba6fac309ee367fe397bc53c972c29cc
Author: Georg Koppen <gk at torproject.org>
Date:   Wed Nov 19 14:27:02 2014 +0000

    Bug 12238: Make Linux bundles reproducible on LXC.
    
    Thanks to the investigation and this fix, Lunar.
---
 gitian/descriptors/linux/gitian-utils.yml |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gitian/descriptors/linux/gitian-utils.yml b/gitian/descriptors/linux/gitian-utils.yml
index 8a41c5a..0646401 100644
--- a/gitian/descriptors/linux/gitian-utils.yml
+++ b/gitian/descriptors/linux/gitian-utils.yml
@@ -128,7 +128,9 @@ script: |
   find -type f | xargs touch --date="$REFERENCE_DATETIME"
   # Even if we are not shipping libgmpxx anymore we still need --enable-xcc
   # during compile time.
-  ./configure --prefix=$INSTDIR/gmp --disable-static --enable-shared --enable-cxx
+  # --enable-fat makes the binaries slightly bigger but fixes reproducibility
+  # issues when compiling on LXC. See bug 12238 comment 4.
+  ./configure --prefix=$INSTDIR/gmp --disable-static --enable-shared --enable-cxx --enable-fat
   make
   make install
   cd ..



More information about the tbb-commits mailing list