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 Aug 19 08:59:48 UTC 2022

Modified Files:
        pkgsrc/devel/mold: Makefile PLIST distinfo
        pkgsrc/devel/mold/patches: patch-Makefile

Log Message:
mold: update to 1.4.1.

New features:

- mold/macOS is now available as an alpha feature. We do not recommend using
  it for anything serious though. Starting from this version, we accept not
  only mold/Unix issues but also mold/macOS ones on our GitHub Issues. Feel
  free to file a bug if you encounter any problem.
- We started supporting CMake in addition to Make to build mold. Our long-term
  plan is to migrate from Make to CMake because we want to support Windows
  eventually and CMake provides a better Windows support than Make does.

Bug fixes and compatibility improvements:

- There was a bug that mold accidentally exported a hidden symbol from an
  executable if a shared library linked to that executable happened to define
  the same symbol. This caused a build issue with Blender. The bug has been
  fixed.
- --hash-style=both is now the default if no --hash-style option is given.
  Previously, --hash-style=sysv was the default. This change shouldn't affect
  most users because the compiler driver (cc, gcc, clang, etc.) always passes
  --hash-style to the linker. We made this change because GNU ld defaults to
  --hash-style=both.
- Alias symbols defined by the --defsym option now have the same scope as the
  aliased symbols. Previously, alias symbols defined by --defsym were always
  hidden and never be exported as dynamic symbols.
- mold now accepts foo = bar-style linker script directive to define symbol
  aliases. Previously, such statement was treated as a syntax error. This
  change was made to link mariadb-connector-c correctly.
- Symbols in mergeable string sections now have correct output section indices
  instead of SHN_UNDEF.
- [ARM32] Previously, calling a function from ARM code to Thumb code caused a
  program crash due to bug #442. This issue has been fixed.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/mold/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/mold/PLIST
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/mold/distinfo
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/mold/patches/patch-Makefile

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.19 pkgsrc/devel/mold/Makefile:1.20
--- pkgsrc/devel/mold/Makefile:1.19     Sat Aug  6 09:13:47 2022
+++ pkgsrc/devel/mold/Makefile  Fri Aug 19 08:59:48 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2022/08/06 09:13:47 fcambus Exp $
+# $NetBSD: Makefile,v 1.20 2022/08/19 08:59:48 fcambus Exp $
 
-DISTNAME=      mold-1.4.0
+DISTNAME=      mold-1.4.1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rui314/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -37,6 +37,8 @@ PTHREAD_AUTO_VARS=    yes
 
 PYTHON_FOR_BUILD_ONLY= yes
 
+REPLACE_PYTHON+=       update-git-hash.py
+
 pre-configure:
        # install phase uses python3 command
        [ -h "${BUILDLINK_DIR}/bin/python3" ] || ${LN} -s ${PYTHONBIN} "${BUILDLINK_DIR}/bin/python3"

Index: pkgsrc/devel/mold/PLIST
diff -u pkgsrc/devel/mold/PLIST:1.3 pkgsrc/devel/mold/PLIST:1.4
--- pkgsrc/devel/mold/PLIST:1.3 Sat Jan  1 15:36:48 2022
+++ pkgsrc/devel/mold/PLIST     Fri Aug 19 08:59:48 2022
@@ -1,7 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2022/01/01 15:36:48 fcambus Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/08/19 08:59:48 fcambus Exp $
 bin/ld.mold
 bin/ld64.mold
 bin/mold
 lib/mold/mold-wrapper.so
 libexec/mold/ld
+man/man1/ld.mold.1
 man/man1/mold.1
+share/doc/mold/LICENSE

Index: pkgsrc/devel/mold/distinfo
diff -u pkgsrc/devel/mold/distinfo:1.17 pkgsrc/devel/mold/distinfo:1.18
--- pkgsrc/devel/mold/distinfo:1.17     Sat Aug  6 09:13:47 2022
+++ pkgsrc/devel/mold/distinfo  Fri Aug 19 08:59:48 2022
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2022/08/06 09:13:47 fcambus Exp $
+$NetBSD: distinfo,v 1.18 2022/08/19 08:59:48 fcambus Exp $
 
-BLAKE2s (mold-1.4.0.tar.gz) = aba06059c352d607af27103a62fec365c62dd4905d6d20e32cdec6ee5b32c108
-SHA512 (mold-1.4.0.tar.gz) = 7b7c4a7bac6bbc6e22372d93d94a6cb804c7017eba16b90e9bbc42b9608108c724ef55337aabdd9ce2f5244b94c8fd64311e70e18b5f8cf5f68533c2639e550d
-Size (mold-1.4.0.tar.gz) = 4722082 bytes
-SHA1 (patch-Makefile) = ecc022b18cba1a78bfb45bbf6705647f430e151b
+BLAKE2s (mold-1.4.1.tar.gz) = 861bd62e2642ff189cea00afd66f755fa0c9aa2240fac78a16745618e3cf8b3f
+SHA512 (mold-1.4.1.tar.gz) = 304caf4e9d9b24170a9442a84036790407bd02609a5d07c31e5f0f6285128099cbc962571804636a5da55afda59b447c12218f9e4d402fbfa55ebc354814bdda
+Size (mold-1.4.1.tar.gz) = 6280266 bytes
+SHA1 (patch-Makefile) = a0a1ebcecd0a9362bd306224714b7cf1ceaea447

Index: pkgsrc/devel/mold/patches/patch-Makefile
diff -u pkgsrc/devel/mold/patches/patch-Makefile:1.11 pkgsrc/devel/mold/patches/patch-Makefile:1.12
--- pkgsrc/devel/mold/patches/patch-Makefile:1.11       Sat Aug  6 09:13:47 2022
+++ pkgsrc/devel/mold/patches/patch-Makefile    Fri Aug 19 08:59:48 2022
@@ -1,16 +1,16 @@
-$NetBSD: patch-Makefile,v 1.11 2022/08/06 09:13:47 fcambus Exp $
+$NetBSD: patch-Makefile,v 1.12 2022/08/19 08:59:48 fcambus Exp $
 
 - Do not hard-code -pthread, as it is handled by the pkgsrc infrastructure.
 - Do not hard-code -ldl
 
---- Makefile.orig      2022-08-04 12:47:21.000000000 +0000
+--- Makefile.orig      2022-08-18 08:27:51.000000000 +0000
 +++ Makefile
-@@ -48,7 +48,7 @@ MOLD_CXXFLAGS := -std=c++20 -fno-excepti
-                  -fno-asynchronous-unwind-tables -Ithird-party \
+@@ -49,7 +49,7 @@ MOLD_CXXFLAGS := -std=c++20 -fno-excepti
+                  -fno-asynchronous-unwind-tables \
                   -DMOLD_VERSION=\"$(VERSION)\" -DLIBDIR="\"$(LIBDIR)\""
  
 -MOLD_LDFLAGS := -pthread -lz -lm -ldl
 +MOLD_LDFLAGS := -lz -lm
  
- # Get a hash of the current git head. We don't want to use the git
- # command because the command prints out a warning if running under
+ LTO = 0
+ ifeq ($(LTO), 1)



Home | Main Index | Thread Index | Old Index