pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/mold mold: update to 0.9.6.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc130bd49029
branches:  trunk
changeset: 458981:dc130bd49029
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Mon Sep 27 20:53:14 2021 +0000

description:
mold: update to 0.9.6.

mold 0.9.6 is a maintenance release of the mold linker. This release
contains only a single change to fix the following issue:

mold used to create dynamic relocations for imported symbols when
creating a position-dependent executable. That worked fine in an
environment in which position-independent code (PIC) is enabled by
default such as recent versions of most Linux distros. However, it
failed with the "recompile with -fPIC" error if PIC was disabled and
a dynamic relocation was created in a read-only section. mold 0.9.6
fixed the issue by creating copy relocations and PLTs for such symbols.

diffstat:

 devel/mold/Makefile               |   4 ++--
 devel/mold/distinfo               |  12 ++++++------
 devel/mold/patches/patch-Makefile |   6 +++---
 3 files changed, 11 insertions(+), 11 deletions(-)

diffs (55 lines):

diff -r 2cc918f681fb -r dc130bd49029 devel/mold/Makefile
--- a/devel/mold/Makefile       Mon Sep 27 20:15:33 2021 +0000
+++ b/devel/mold/Makefile       Mon Sep 27 20:53:14 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2021/09/11 15:40:23 fcambus Exp $
+# $NetBSD: Makefile,v 1.3 2021/09/27 20:53:14 fcambus Exp $
 
-DISTNAME=      mold-0.9.5
+DISTNAME=      mold-0.9.6
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rui314/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
diff -r 2cc918f681fb -r dc130bd49029 devel/mold/distinfo
--- a/devel/mold/distinfo       Mon Sep 27 20:15:33 2021 +0000
+++ b/devel/mold/distinfo       Mon Sep 27 20:53:14 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2021/09/11 15:40:23 fcambus Exp $
+$NetBSD: distinfo,v 1.3 2021/09/27 20:53:14 fcambus Exp $
 
-SHA1 (mold-0.9.5.tar.gz) = d832df292e65f4c51350aa02a61ff208e8fbe65d
-RMD160 (mold-0.9.5.tar.gz) = c9314ae8edb09c45f6e074e328925408c109be8b
-SHA512 (mold-0.9.5.tar.gz) = b05d399eecaca37d98745382ba201f62e6042613290b1dec6f08bfc133172ccb91603898acb3f54e2985fe3d7334c954c389da498a1ccef6b65053815b8aeb46
-Size (mold-0.9.5.tar.gz) = 3377285 bytes
-SHA1 (patch-Makefile) = 4261f5ab271aac71a3b476250b32eb8dab87b333
+SHA1 (mold-0.9.6.tar.gz) = e97d5faf82b91b2e4337afcc911688a8c0230ec0
+RMD160 (mold-0.9.6.tar.gz) = ec8bf5c0a920831f52c3868426d502daaed41987
+SHA512 (mold-0.9.6.tar.gz) = d3de30b371413e974728fba03958d6043026f59aead8371058a0b1dc672e2675e169a1def3afd3751058f529d6ec80ff78c773d2718c1d9f0bdea74d9f13bc2e
+Size (mold-0.9.6.tar.gz) = 3378698 bytes
+SHA1 (patch-Makefile) = ade79e3746409842e89838ce6b2aab35cfb6dd94
diff -r 2cc918f681fb -r dc130bd49029 devel/mold/patches/patch-Makefile
--- a/devel/mold/patches/patch-Makefile Mon Sep 27 20:15:33 2021 +0000
+++ b/devel/mold/patches/patch-Makefile Mon Sep 27 20:53:14 2021 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-Makefile,v 1.2 2021/09/11 15:40:23 fcambus Exp $
+$NetBSD: patch-Makefile,v 1.3 2021/09/27 20:53:14 fcambus Exp $
 
 - Remove hardcoded debug flag.
 - Remove hardcoded optimizations.
 - Do not gzip manual pages.
 - Fix manual page installation path.
 
---- Makefile.orig      2021-09-06 12:06:34.000000000 +0000
+--- Makefile.orig      2021-09-27 05:54:15.000000000 +0000
 +++ Makefile
 @@ -10,7 +10,7 @@ GIT_HASH ?= $(shell [ -d .git ] && git r
  
@@ -13,7 +13,7 @@
  
 -CPPFLAGS = -g -pthread -std=c++20 -fPIE \
 +CPPFLAGS = -pthread -std=c++20 -fPIE \
-            -DMOLD_VERSION=\"0.9.5\" \
+            -DMOLD_VERSION=\"0.9.6\" \
             -DGIT_HASH=\"$(GIT_HASH)\" \
           $(EXTRA_CPPFLAGS)
 @@ -31,7 +31,6 @@ TSAN ?= 0



Home | Main Index | Thread Index | Old Index