pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/mold



Module Name:    pkgsrc
Committed By:   fcambus
Date:           Thu Sep 28 14:47:59 UTC 2023

Modified Files:
        pkgsrc/devel/mold: Makefile distinfo
        pkgsrc/devel/mold/patches: patch-CMakeLists.txt

Log Message:
mold: update to 2.2.0.

New features:

- We now use BLAKE3 as a cryptographic hash function instead of SHA256.
  This change has made --build-id a few percent faster. libssl is no longer
  a build dependency.
- mold is now a few percent faster than the previous version due to an
  optimization of string merging code path.
- mold now emits slightly optimized code for thread-local variable accesses.
- [RISC-V] mold now supports TLSDESC relocations. TLSDESC is a new mechanism
  for faster thread-local variable access. We (@ishitatsuyuki) actually led
  the effort to ratify the specification (riscv-non-isa/riscv-elf-psabi-doc#373)
  and implement it to compiler toolchain including GCC, GNU binutils and,
  of course, mold.

Bug fixes and compatibility improvements:

- mold no longer marks an as-needed .so as "needed" if the .so file is not
  directly used by the output file. Previously, mold marked a .so file as
  "needed" if the .so file was used by another "needed" .so file.
- [PPC64] --execute-only now works on 64-bit PowerPC.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/devel/mold/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/mold/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/mold/patches/patch-CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/mold/Makefile
diff -u pkgsrc/devel/mold/Makefile:1.35 pkgsrc/devel/mold/Makefile:1.36
--- pkgsrc/devel/mold/Makefile:1.35     Mon Aug 28 15:09:33 2023
+++ pkgsrc/devel/mold/Makefile  Thu Sep 28 14:47:59 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.35 2023/08/28 15:09:33 fcambus Exp $
+# $NetBSD: Makefile,v 1.36 2023/09/28 14:47:59 fcambus Exp $
 
-DISTNAME=      mold-2.1.0
+DISTNAME=      mold-2.2.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rui314/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -36,7 +36,6 @@ PTHREAD_AUTO_VARS=    yes
 .include "../../devel/mimalloc/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../parallel/threadingbuildingblocks/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/dlopen.buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/mold/distinfo
diff -u pkgsrc/devel/mold/distinfo:1.29 pkgsrc/devel/mold/distinfo:1.30
--- pkgsrc/devel/mold/distinfo:1.29     Tue Aug 15 17:32:22 2023
+++ pkgsrc/devel/mold/distinfo  Thu Sep 28 14:47:59 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.29 2023/08/15 17:32:22 fcambus Exp $
+$NetBSD: distinfo,v 1.30 2023/09/28 14:47:59 fcambus Exp $
 
-BLAKE2s (mold-2.1.0.tar.gz) = 11ec1d69ed3301358c9dc2eb3204b60f0416ef62bdc27a2407046bc831267aea
-SHA512 (mold-2.1.0.tar.gz) = f1c98d349b35b4042109d71f7db6eb8d7d089dc3241735bbd7b5402d513dcc85ca17904828779e5fc8234650fa9fb97f47c3a2f3e89cc2fb3cb9e9110439e5a2
-Size (mold-2.1.0.tar.gz) = 9278811 bytes
-SHA1 (patch-CMakeLists.txt) = f9c305fa3771273c48f6172b0bc5a66a636a1d16
+BLAKE2s (mold-2.2.0.tar.gz) = a879b13d19fe67046fcfa5bec585b0fb4bd27e81b868a0b056fa1baf1bb87b2b
+SHA512 (mold-2.2.0.tar.gz) = 1692d1ff154335fdff91a4fafebb3514ed6742035c14e74ec7e552b90428a1cd5341baba9183158b44ae221fd19e86da55e7f04bde317b943a24d0afecb41002
+Size (mold-2.2.0.tar.gz) = 9956678 bytes
+SHA1 (patch-CMakeLists.txt) = 2737ab2e9a3d3e82a8c825878ec6873bb825f0b2

Index: pkgsrc/devel/mold/patches/patch-CMakeLists.txt
diff -u pkgsrc/devel/mold/patches/patch-CMakeLists.txt:1.3 pkgsrc/devel/mold/patches/patch-CMakeLists.txt:1.4
--- pkgsrc/devel/mold/patches/patch-CMakeLists.txt:1.3  Thu Jul 27 12:39:20 2023
+++ pkgsrc/devel/mold/patches/patch-CMakeLists.txt      Thu Sep 28 14:47:59 2023
@@ -1,12 +1,12 @@
-$NetBSD: patch-CMakeLists.txt,v 1.3 2023/07/27 12:39:20 fcambus Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.4 2023/09/28 14:47:59 fcambus Exp $
 
 Disable precompiled headers.
 
 cc1plus: warning: cmake_pch.hxx.gch: had text segment at different address
 
---- CMakeLists.txt.orig        2023-07-26 10:40:11.000000000 +0000
+--- CMakeLists.txt.orig        2023-09-24 03:28:19.000000000 +0000
 +++ CMakeLists.txt
-@@ -394,9 +394,6 @@ if(${CMAKE_VERSION} VERSION_GREATER_EQUA
+@@ -402,9 +402,6 @@ if(${CMAKE_VERSION} VERSION_GREATER_EQUA
      target_precompile_headers(mold PRIVATE
        "$<$<COMPILE_LANGUAGE:CXX>:${CMAKE_SOURCE_DIR}/elf/mold.h>"
        "$<$<COMPILE_LANGUAGE:CXX>:${CMAKE_SOURCE_DIR}/macho/mold.h>")



Home | Main Index | Thread Index | Old Index