Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / 
tor-browser-build


Commits:
8b9b227e by Pier Angelo Vendrame at 2025-10-08T16:46:27+02:00
Bug 41582: Remove --pack-dyn-relocs=relr.

It casues issues with older versions of Android.

- - - - -
8ca3d9b4 by Pier Angelo Vendrame at 2025-10-08T16:46:29+02:00
Bug 41583: Align tor and PTs to 16kB pages.

- - - - -


2 changed files:

- projects/go/config
- projects/tor/config


Changes:

=====================================
projects/go/config
=====================================
@@ -22,6 +22,10 @@ var:
       export CGO_LDFLAGS_ALLOW="-z|noexecstack"
       export CGO_LDFLAGS="-z noexecstack"
     [% END -%]
+    [% IF c("var/android") -%]
+      export CGO_LDFLAGS_ALLOW="-z|max-page-size"
+      export CGO_LDFLAGS="-z max-page-size=16384"
+    [% END -%]
     [% IF c("var/cgo") -%]
       export CGO_ENABLED=1
     [% END -%]


=====================================
projects/tor/config
=====================================
@@ -43,7 +43,7 @@ targets:
 
   android:
     var:
-      configure_opt_project: '--enable-android --enable-static-openssl 
--enable-static-libevent --enable-zstd --disable-tool-name-check 
--disable-system-torrc CFLAGS="[% c("var/CFLAGS") %]" LDFLAGS="-Wl,--icf=safe 
-Wl,--pack-dyn-relocs=relr -Wl,--exclude-libs,ALL"'
+      configure_opt_project: '--enable-android --enable-static-openssl 
--enable-static-libevent --enable-zstd --disable-tool-name-check 
--disable-system-torrc CFLAGS="[% c("var/CFLAGS") %]" LDFLAGS="-Wl,--icf=safe 
-Wl,--exclude-libs,ALL -Wl,-z,max-page-size=16384"'
 
 input_files:
   - project: container-image



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/compare/58fbd40b7826681139f5b65f4db9467a1a7f6363...8ca3d9b49fb4ea773294294dc7edf7bf244d8d2a

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/compare/58fbd40b7826681139f5b65f4db9467a1a7f6363...8ca3d9b49fb4ea773294294dc7edf7bf244d8d2a
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to