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:   adam
Date:           Mon Apr 28 05:54:33 UTC 2025

Modified Files:
        pkgsrc/devel/mold: Makefile distinfo

Log Message:
mold: updated to 2.38.0

New Features

The --audit and --depaudit options are now supported for compatibility with GNU ld. (af396ad)

Recent versions of LLVM support an alternative, experimental relocation table format called CREL. mold can now read object files containing CREL relocation tables. (c43a859)

[ARM32][ARM64][PPC32][PPC64] The branch instruction ranges of RISC processors are generally insufficient to support the medium code model because their instructions are typically 32 bits long, which 
makes it impossible to embed large immediate offsets. For example, ARM64’s branch instruction can target only PC ± 128 MiB. If the branch target is farther than that, the linker must emit a small 
piece of code—often called a thunk or branch island—to extend the branch range.

Previously, mold created unnecessary range extension thunks for symbols that had PLT entries. Now, mold does not create thunks unless they are truly needed. (a43f395)

Bug Fixes and Compatibility Improvements

Previously, --no-allow-shlib-undefined could cause a segmentation fault due to an out-of-bounds array access. This has been fixed. (82affb9)

--no-allow-shlib-undefined is enabled by default if the output type is an executable (as opposed to a shared library) for compatibility with other linkers. (43810df)

mold could report a spurious "duplicate symbol" error when performing LTO. This bug has been fixed. (5d24db5)

In rare cases involving symbol versioning, mold mistakenly filtered out necessary libraries specified with --as-needed. This bug has been fixed. (a97a628)

In rare cases involving symbol versioning, mold reported a spurious "undefined symbol" error. This bug has been fixed. (2d6061a)

If the same symbol was defined with and without the default version (e.g., if an object file defined both foo and foo@@VERSION), mold mistakenly hid both symbols from the dynamic symbol table instead 
of exporting the default one (e.g., foo@@VERSION). This bug has been fixed.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/devel/mold/Makefile
cvs rdiff -u -r1.36 -r1.37 pkgsrc/devel/mold/distinfo

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.43 pkgsrc/devel/mold/Makefile:1.44
--- pkgsrc/devel/mold/Makefile:1.43     Wed Mar 12 18:57:32 2025
+++ pkgsrc/devel/mold/Makefile  Mon Apr 28 05:54:33 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2025/03/12 18:57:32 adam Exp $
+# $NetBSD: Makefile,v 1.44 2025/04/28 05:54:33 adam Exp $
 
-DISTNAME=      mold-2.37.1
+DISTNAME=      mold-2.38.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.36 pkgsrc/devel/mold/distinfo:1.37
--- pkgsrc/devel/mold/distinfo:1.36     Wed Mar 12 18:57:32 2025
+++ pkgsrc/devel/mold/distinfo  Mon Apr 28 05:54:33 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.36 2025/03/12 18:57:32 adam Exp $
+$NetBSD: distinfo,v 1.37 2025/04/28 05:54:33 adam Exp $
 
-BLAKE2s (mold-2.37.1.tar.gz) = f7a54ba3b82b006ee1bed9c28bc365eb4a57d87a8e9a7c69d37ecea793a0db4c
-SHA512 (mold-2.37.1.tar.gz) = 641c6668ee31368409d80ea01c0d84a58eac827eedc110495ca075bfce22081c906308d027e4723750995fc0d8b6bba8be3c3472c20f765ef45d14e1c4e36cd4
-Size (mold-2.37.1.tar.gz) = 10169802 bytes
+BLAKE2s (mold-2.38.0.tar.gz) = dab48bbbfee2356dcd510486f49a7112d1da19e06ed11db308a95e5836c7bb7c
+SHA512 (mold-2.38.0.tar.gz) = d5333160cd832f7209a55745311997e276b6371a8d97ecd69dd36f08e02b9c23d7192a94705667db749de1fd0201e6426a08df296e6cf9b52dd10f856ba81c5a
+Size (mold-2.38.0.tar.gz) = 10221537 bytes



Home | Main Index | Thread Index | Old Index