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 Jul 27 12:39:20 UTC 2023

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

Log Message:
mold: update to 2.0.0.

Mold 2.0.0 is a new major release of our high-speed linker. With this
release, we've transitioned our license from AGPL to MIT, aiming to expand
the user base of our linker. This was not an easy decision, as those who
have been following our progress know that we've been attempting to monetize
our product through an AGPL/commercial license dual-licensing scheme.
Unfortunately, this approach didn't meet our expectations. The license
change represents our acceptance of this reality. We don't want to persist
with a strategy that didn't work well.

In addition to the license change, here is a list of updates we have made
in this release:

- Previously, mold could not produce an object file with more than 65520
  sections using the --relocatable option. Now the bug has been fixed.
- mold now interprets -undefined as a synonym for --undefined instead of
  -u ndefined. This seems inconsistent, as -ufoo is generally treated as
  -u foo (which is an alias for --undefined foo), but this is the behavior
  of the GNU linkers and LLVM lld, so we prioritize compatibility over
  consistency.
- -nopie is now handled as a synonym for --no-pie.
- [RISC-V] R_RISCV_SET_ULEB128 and R_RISCV_SUB_ULEB128 relocation types are
  now supported.
- [PPC64] R_PPC64_REL32 relocation type is now supported.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/mold/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/mold/distinfo
cvs rdiff -u -r1.2 -r1.3 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.32 pkgsrc/devel/mold/Makefile:1.33
--- pkgsrc/devel/mold/Makefile:1.32     Tue Jul 18 14:11:17 2023
+++ pkgsrc/devel/mold/Makefile  Thu Jul 27 12:39:20 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2023/07/18 14:11:17 nia Exp $
+# $NetBSD: Makefile,v 1.33 2023/07/27 12:39:20 fcambus Exp $
 
-DISTNAME=      mold-1.11.0
+DISTNAME=      mold-2.0.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rui314/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -8,7 +8,7 @@ GITHUB_TAG=     v${PKGVERSION_NOREV}
 MAINTAINER=    fcambus%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/rui314/mold/
 COMMENT=       High performance drop-in replacement for existing Unix linkers
-LICENSE=       gnu-agpl-v3
+LICENSE=       mit
 
 USE_LANGUAGES= c c++20
 

Index: pkgsrc/devel/mold/distinfo
diff -u pkgsrc/devel/mold/distinfo:1.27 pkgsrc/devel/mold/distinfo:1.28
--- pkgsrc/devel/mold/distinfo:1.27     Fri Mar 17 16:33:52 2023
+++ pkgsrc/devel/mold/distinfo  Thu Jul 27 12:39:20 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.27 2023/03/17 16:33:52 fcambus Exp $
+$NetBSD: distinfo,v 1.28 2023/07/27 12:39:20 fcambus Exp $
 
-BLAKE2s (mold-1.11.0.tar.gz) = 90f88211f953d81359a5e2c7dee93acf90e26666ec9b5c6ca0f7210a52a1d343
-SHA512 (mold-1.11.0.tar.gz) = a9068600dd2db757552cce027f358c0b9e6af0941b92f81c1e99e2dde674bd06cc3533d432258e42a2197d9b3f8e7bb263de281928357a79e4fb17fb19719bc0
-Size (mold-1.11.0.tar.gz) = 8210923 bytes
-SHA1 (patch-CMakeLists.txt) = ca9361a34f272817450c9062292e74ac8ec843c9
+BLAKE2s (mold-2.0.0.tar.gz) = 9b20ec49e3d4f23b3aa213d3925066390e49c19d8b1876f8e875e716641c2d02
+SHA512 (mold-2.0.0.tar.gz) = 11c3d1e07fe4fcc28cff58b8e432526e4604aa55b49fa47c9495e439206fb9f6a1686b1c5bd2dc907ffd7fe62ac1c72317619fc8a5d7caaa5c327de585f16827
+Size (mold-2.0.0.tar.gz) = 9205927 bytes
+SHA1 (patch-CMakeLists.txt) = f9c305fa3771273c48f6172b0bc5a66a636a1d16

Index: pkgsrc/devel/mold/patches/patch-CMakeLists.txt
diff -u pkgsrc/devel/mold/patches/patch-CMakeLists.txt:1.2 pkgsrc/devel/mold/patches/patch-CMakeLists.txt:1.3
--- pkgsrc/devel/mold/patches/patch-CMakeLists.txt:1.2  Fri Jan 20 18:37:29 2023
+++ pkgsrc/devel/mold/patches/patch-CMakeLists.txt      Thu Jul 27 12:39:20 2023
@@ -1,12 +1,12 @@
-$NetBSD: patch-CMakeLists.txt,v 1.2 2023/01/20 18:37:29 fcambus Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.3 2023/07/27 12:39:20 fcambus Exp $
 
 Disable precompiled headers.
 
 cc1plus: warning: cmake_pch.hxx.gch: had text segment at different address
 
---- CMakeLists.txt.orig        2023-01-20 07:03:58.000000000 +0000
+--- CMakeLists.txt.orig        2023-07-26 10:40:11.000000000 +0000
 +++ CMakeLists.txt
-@@ -384,9 +384,6 @@ if(${CMAKE_VERSION} VERSION_GREATER_EQUA
+@@ -394,9 +394,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