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 1.0.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f49879e9e1f3
branches:  trunk
changeset: 771261:f49879e9e1f3
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Thu Dec 16 08:37:30 2021 +0000

description:
mold: update to 1.0.0.

mold 1.0 is the first stable and production-ready release of the high-speed
linker. On Linux-based systems, it should "just work" as a faster drop-in
replacement for the default GNU linker for most user-land programs. If you
are building a large executable which takes a long time to link, mold is
worth a try to see if it can shorten your build time. mold is easy to build
and easy to use. For more details, see README.

mold is created by a person who knows very well as to how the Unix linker
should behave, as I'm also the original creator of the current version of
the LLVM lld linker.

There's no fancy new features in 1.0. Actually, 1.0 is very similar to
0.9.6. That being said, we'd like to make it clear by incrementing a major
version number that mold for Linux is now stable.

Changes since mold 0.9.6:

- -start-lib and -end-lib options are added for compatibility with GNU
  gold and LLVM lld.
- More ARM64 relocations are supported.
- Compatibility with glibc 2.2 or prior has improved. (#120)
- Compatibility with valgrind has improved. (#118)
- -Bno-symbolic option has been supported.
- -require-defined option has been supported.

diffstat:

 devel/mold/Makefile               |   6 +++---
 devel/mold/PLIST                  |   4 +++-
 devel/mold/distinfo               |   8 ++++----
 devel/mold/patches/patch-Makefile |  39 ---------------------------------------
 4 files changed, 10 insertions(+), 47 deletions(-)

diffs (89 lines):

diff -r 946ec5846daa -r f49879e9e1f3 devel/mold/Makefile
--- a/devel/mold/Makefile       Thu Dec 16 08:31:17 2021 +0000
+++ b/devel/mold/Makefile       Thu Dec 16 08:37:30 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2021/09/27 20:53:14 fcambus Exp $
+# $NetBSD: Makefile,v 1.4 2021/12/16 08:37:30 fcambus Exp $
 
-DISTNAME=      mold-0.9.6
+DISTNAME=      mold-1.0.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rui314/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -15,7 +15,7 @@
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++
 
-MAKE_FLAGS+=   MAN_DIR="${PREFIX}/${PKGMANDIR}"
+MAKE_FLAGS+=   MANDIR="${PREFIX}/${PKGMANDIR}"
 MAKE_FLAGS+=   SYSTEM_MIMALLOC=1 SYSTEM_TBB=1
 
 .include "../../devel/mimalloc/buildlink3.mk"
diff -r 946ec5846daa -r f49879e9e1f3 devel/mold/PLIST
--- a/devel/mold/PLIST  Thu Dec 16 08:31:17 2021 +0000
+++ b/devel/mold/PLIST  Thu Dec 16 08:37:30 2021 +0000
@@ -1,4 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2021/07/29 21:17:17 fcambus Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/12/16 08:37:30 fcambus Exp $
+bin/ld.mold
+bin/ld64.mold
 bin/mold
 lib/mold/mold-wrapper.so
 man/man1/mold.1
diff -r 946ec5846daa -r f49879e9e1f3 devel/mold/distinfo
--- a/devel/mold/distinfo       Thu Dec 16 08:31:17 2021 +0000
+++ b/devel/mold/distinfo       Thu Dec 16 08:37:30 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:15:41 nia Exp $
+$NetBSD: distinfo,v 1.6 2021/12/16 08:37:30 fcambus Exp $
 
-BLAKE2s (mold-0.9.6.tar.gz) = 282d28d8722cada47da2992ecfbd78b5e90213d1694041eef53253e9524505c2
-SHA512 (mold-0.9.6.tar.gz) = d3de30b371413e974728fba03958d6043026f59aead8371058a0b1dc672e2675e169a1def3afd3751058f529d6ec80ff78c773d2718c1d9f0bdea74d9f13bc2e
-Size (mold-0.9.6.tar.gz) = 3378698 bytes
+BLAKE2s (mold-1.0.0.tar.gz) = fa11af4b42237f9d0404dabce7024e76222507c65fa5e67ef3bb7c8ee14289b4
+SHA512 (mold-1.0.0.tar.gz) = 99ffd0b9e2ff7157cc8b26808675c9d3147bf88961155ae19ed9b99990ac647b7ec31ee78d05062decc6d41e66d99aa0fdc398d119803929b8dbff51eb3d077c
+Size (mold-1.0.0.tar.gz) = 3482927 bytes
 SHA1 (patch-Makefile) = ade79e3746409842e89838ce6b2aab35cfb6dd94
diff -r 946ec5846daa -r f49879e9e1f3 devel/mold/patches/patch-Makefile
--- a/devel/mold/patches/patch-Makefile Thu Dec 16 08:31:17 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-$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-27 05:54:15.000000000 +0000
-+++ Makefile
-@@ -10,7 +10,7 @@ GIT_HASH ?= $(shell [ -d .git ] && git r
- 
- OS ?= $(shell uname -s)
- 
--CPPFLAGS = -g -pthread -std=c++20 -fPIE \
-+CPPFLAGS = -pthread -std=c++20 -fPIE \
-            -DMOLD_VERSION=\"0.9.6\" \
-            -DGIT_HASH=\"$(GIT_HASH)\" \
-          $(EXTRA_CPPFLAGS)
-@@ -31,7 +31,6 @@ TSAN ?= 0
- ifeq ($(DEBUG), 1)
-   CPPFLAGS += -O0
- else
--  CPPFLAGS += -O2
- endif
- 
- ifeq ($(LTO), 1)
-@@ -104,10 +103,8 @@ install: all
-       install -m 644 mold-wrapper.so $(DEST)/lib/mold
-       strip $(DEST)/lib/mold/mold-wrapper.so
- 
--      install -m 755 -d $(DEST)/share/man/man1
--      install -m 644 docs/mold.1 $(DEST)/share/man/man1
--      rm -f $(DEST)/share/man/man1/mold.1.gz
--      gzip -9 $(DEST)/share/man/man1/mold.1
-+      install -m 755 -d $(DESTDIR)$(MAN_DIR)/man1
-+      install -m 644 docs/mold.1 $(DESTDIR)$(MAN_DIR)/man1
- 
- uninstall:
-       rm -f $(DEST)/bin/mold



Home | Main Index | Thread Index | Old Index