[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser-bundle/master] Bug 11042: Remove Build-ID from Firefox libs.
commit 9c37c9fcc639c02e9dd7b81741bbf95a24f47a31
Author: Mike Perry <mikeperry-git@xxxxxxxxxxxxxx>
Date: Sun Mar 2 14:13:50 2014 -0800
Bug 11042: Remove Build-ID from Firefox libs.
It is sometimes non-deterministic (particularly for libxul.so).
---
gitian/descriptors/linux/gitian-firefox.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gitian/descriptors/linux/gitian-firefox.yml b/gitian/descriptors/linux/gitian-firefox.yml
index 3ee8eef..282ea49 100644
--- a/gitian/descriptors/linux/gitian-firefox.yml
+++ b/gitian/descriptors/linux/gitian-firefox.yml
@@ -100,6 +100,8 @@ script: |
cd $INSTDIR
for LIB in Browser/*.so Browser/webapprt-stub Browser/mozilla-xremote-client Browser/firefox Browser/plugin-container Browser/components/*.so # Browser/updater
do
+ # Build-ID is sometimes non-deterministic, and we use debuglink anyway
+ objcopy --remove-section=.note.gnu.build-id $LIB
objcopy --only-keep-debug $LIB Debug/$LIB
strip $LIB
objcopy --add-gnu-debuglink=./Debug/$LIB $LIB
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits