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:           Fri Jan 20 18:37:30 UTC 2023

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

Log Message:
mold: update to 1.10.0.

New features:

- mold now officially supports the --print-dependencies option to print
  out dependency information between input files. Here is a truncated
  example output when linking mold itself with the option. There are many
  use cases of the option; for example, if you want to eliminate the
  dependency to some library from your program, you can use this option
  to find out all the functions that use the library's function to fix
  them.
- [x86-64][s390x] mold now optimizes thread-local variable accesses in
  shared libraries if the library is linked with -z nodlopen. If your
  shared library is not intended to be used via dlopen(2) and your library
  frequently accesses thread-local variables, you might want to pass that
  option when linking your library.
- [arm64] mold is now able to optimize GOT load by rewriting an ADDR+LDR
  instruction pair with an ADDR+ADD if the loaded GOT value is known at
  link-time.

Bug fixes and compatibility improvements:

- mold 1.9.0 was up to 10% slower than 1.8.0 on some multicore machines.
  We fixed the performance regression and made it even faster than 1.8.0.
- Previously, mold failed to report an undefined symbol error if there's
  a weak undefined symbol of the same name. That bug resulted in producing
  a non-working executable instead of reporting a link failure. Now, mold
  correctly reports such link errors.
- mold 1.9.0 might crash with SIGSEGV if --emit-relocs is used with object
  files containing debug info. That bug has been fixed.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/mold/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/mold/distinfo
cvs rdiff -u -r1.1 -r1.2 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.28 pkgsrc/devel/mold/Makefile:1.29
--- pkgsrc/devel/mold/Makefile:1.28     Tue Jan 10 13:56:27 2023
+++ pkgsrc/devel/mold/Makefile  Fri Jan 20 18:37:29 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2023/01/10 13:56:27 fcambus Exp $
+# $NetBSD: Makefile,v 1.29 2023/01/20 18:37:29 fcambus Exp $
 
-DISTNAME=      mold-1.9.0
+DISTNAME=      mold-1.10.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rui314/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}

Index: pkgsrc/devel/mold/distinfo
diff -u pkgsrc/devel/mold/distinfo:1.24 pkgsrc/devel/mold/distinfo:1.25
--- pkgsrc/devel/mold/distinfo:1.24     Tue Jan 10 13:55:03 2023
+++ pkgsrc/devel/mold/distinfo  Fri Jan 20 18:37:29 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.24 2023/01/10 13:55:03 fcambus Exp $
+$NetBSD: distinfo,v 1.25 2023/01/20 18:37:29 fcambus Exp $
 
-BLAKE2s (mold-1.9.0.tar.gz) = 0a00ce02244f9dbef32718df0fbba45d720c2c7c8abd43685eed1a6f5f98008e
-SHA512 (mold-1.9.0.tar.gz) = c1c45bced963d4f7c9b67905177157d6f76c518b234fe3eefa2a9ba6c35a08dd6659e64b7939744355ebcd72ae343ef0249ef6a0c80b4d77b1e69e327eb3ba19
-Size (mold-1.9.0.tar.gz) = 8163212 bytes
-SHA1 (patch-CMakeLists.txt) = 9cbdb1349afe9c2f7ef0d9715d250f548e212669
+BLAKE2s (mold-1.10.0.tar.gz) = 2598d99f81c961b7750201db41ccbb67811de20f2e29c6fe7debfb81cee77c62
+SHA512 (mold-1.10.0.tar.gz) = 3a275dd439383c6e868e754f64d2d4ba7fdd0e669a49e5041e2f75f30f662fd4cd6e8cca0cdd558ac5fdd43cc7d3b14ca02535eebb010cfed4c018f1eb5c84b7
+Size (mold-1.10.0.tar.gz) = 8173315 bytes
+SHA1 (patch-CMakeLists.txt) = ca9361a34f272817450c9062292e74ac8ec843c9

Index: pkgsrc/devel/mold/patches/patch-CMakeLists.txt
diff -u pkgsrc/devel/mold/patches/patch-CMakeLists.txt:1.1 pkgsrc/devel/mold/patches/patch-CMakeLists.txt:1.2
--- pkgsrc/devel/mold/patches/patch-CMakeLists.txt:1.1  Tue Jan 10 13:55:03 2023
+++ pkgsrc/devel/mold/patches/patch-CMakeLists.txt      Fri Jan 20 18:37:29 2023
@@ -1,12 +1,12 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2023/01/10 13:55:03 fcambus Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2023/01/20 18:37:29 fcambus Exp $
 
 Disable precompiled headers.
 
 cc1plus: warning: cmake_pch.hxx.gch: had text segment at different address
 
---- CMakeLists.txt.orig        2023-01-09 21:59:36.996076626 +0000
+--- CMakeLists.txt.orig        2023-01-20 07:03:58.000000000 +0000
 +++ CMakeLists.txt
-@@ -378,9 +378,6 @@ if(${CMAKE_VERSION} VERSION_GREATER_EQUA
+@@ -384,9 +384,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