Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (efc6fc331fefd2aa2bf5fc84164fe5e119f195b4)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (efc6fc331fefd2aa2bf5fc84164fe5e119f195b4)
  • Date: Wed, 16 Aug 2023 18:16:34 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

http/firefox/DETAILS
| 2
http/firefox/HISTORY
| 4 +

http/firefox/patches/0035-bmo-1847697-dont-use-pack-relative-relocs-when-it-leads-to-ld-error.patch
| 37 ++++++++++
3 files changed, 42 insertions(+), 1 deletion(-)

New commits:
commit efc6fc331fefd2aa2bf5fc84164fe5e119f195b4
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

http/firefox: version 116.0.3

diff --git a/http/firefox/DETAILS b/http/firefox/DETAILS
index 4dd40a0..7d87618 100755
--- a/http/firefox/DETAILS
+++ b/http/firefox/DETAILS
@@ -1,5 +1,5 @@
SPELL=firefox
- VERSION=116.0.2
+ VERSION=116.0.3
SECURITY_PATCH=180
SOURCE="${SPELL}-${VERSION}.source.tar.xz"
# Watch: http://releases.mozilla.org/pub/firefox/releases/
/releases/([0-9.]+)/
diff --git a/http/firefox/HISTORY b/http/firefox/HISTORY
index 4bb26b0..5927a10 100644
--- a/http/firefox/HISTORY
+++ b/http/firefox/HISTORY
@@ -1,3 +1,7 @@
+2023-08-16 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 116.0.3
+ * patches/*: updated
+
2023-08-07 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 116.0.2
* patches/*: updated
diff --git
a/http/firefox/patches/0035-bmo-1847697-dont-use-pack-relative-relocs-when-it-leads-to-ld-error.patch

b/http/firefox/patches/0035-bmo-1847697-dont-use-pack-relative-relocs-when-it-leads-to-ld-error.patch
new file mode 100644
index 0000000..6d16524
--- /dev/null
+++
b/http/firefox/patches/0035-bmo-1847697-dont-use-pack-relative-relocs-when-it-leads-to-ld-error.patch
@@ -0,0 +1,37 @@
+diff --git a/toolkit/moz.configure b/toolkit/moz.configure
+--- a/toolkit/moz.configure
++++ b/toolkit/moz.configure
+@@ -1619,19 +1619,28 @@
+ # BFD ld ignores options it doesn't understand. So check
+ # that we did get packed relative relocations (DT_RELR).
+ env = os.environ.copy()
+ env["LANG"] = "C"
+ dyn = check_cmd_output(readelf, "-d", path, env=env)
++ dyn = dyn.splitlines()
+ tags = [
+- int(l.split()[0], 16)
+- for l in dyn.splitlines()
+- if l.strip().startswith("0x")
++ int(l.split()[0], 16) for l in dyn if
l.strip().startswith("0x")
+ ]
+ # Older versions of readelf don't know about DT_RELR but
will
+ # still display the tag number.
+ if 0x23 in tags:
+- return pack_rel_relocs
++ needed = [l for l in dyn if l.split()[1] == "(NEEDED)"]
++ is_glibc = any(l.endswith("[libc.so.6]") for l in
needed)
++ # The mold linker doesn't add a GLIBC_ABI_DT_RELR
version
++ # dependency, which ld.so doesn't like.
++ #
https://github.com/rui314/mold/issues/653#issuecomment-1670274638
++ if is_glibc:
++ versions = check_cmd_output(readelf, "-V", path,
env=env)
++ if "GLIBC_ABI_DT_RELR" in versions.split():
++ return pack_rel_relocs
++ else:
++ return pack_rel_relocs
+ finally:
+ try:
+ os.remove(path)
+ except FileNotFoundError:
+ pass
+



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (efc6fc331fefd2aa2bf5fc84164fe5e119f195b4), Pavel Vinogradov, 08/16/2023

Archive powered by MHonArc 2.6.24.

Top of Page