CVS commit: pkgsrc/devel/mold
"Adam Ciarcinski" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: pkgsrc Committed By: adam Date: Wed Aug 12 06:46:52 UTC 2026 Modified Files: pkgsrc/devel/mold: Makefile distinfo Log Message: mold: updated to 2.42.0 2.42.0 New Features We have made numerous optimizations throughout the linker during this release cycle. mold 2.42.0 should be noticeably faster than previous versions, especially when linking large programs on machines with many cores. --pack-dyn-relocs=android and --pack-dyn-relocs=android+relr are now supported. These options encode dynamic relocations in the Android packed relocation format (APS2), which significantly reduces the size of the dynamic relocation table of Android binaries. (59957fc, 7a66f71, 400dfad) --compress-debug-sections now accepts a compression level, such as zstd:9 or zlib:6. Plain zstd and zlib remain equivalent to zstd:3 and zlib:1, respectively, which were the previous hardcoded defaults. (56fc571, 0420959, 6695f13) The -w and --no-warnings options are now supported. They suppress warnings and cancel --fatal-warnings, while real errors are still reported. This matches the behavior of lld. (51b9683) The -Ttext-segment option, which sets the address of the first byte of the text segment, is now supported for compatibility with GNU ld. (ac73431) mold now supports the SFrame version 3 stack unwinding format. SFrame is a compact alternative to .eh_frame used for asynchronous stack unwinding by profilers and debuggers. As of binutils 2.46, the GNU assembler emits SFrame version 3 when the --gsframe flag is given, so object files containing .sframe sections are becoming common. .sframe sections cannot be treated as opaque bytes; mold parses input .sframe sections, discards entries for functions removed by --gc-sections or --icf, and rebuilds a single merged section sorted by function address, along with a PT_GNU_SFRAME segment so that the runtime can locate it. Relocatable output (-r) is supported as well. (d0aa95a) mold now discards temporary local symbols such as .L.str.42 by default, as lld does. Compilers emit a large number of such symbols for unnamed program elements, but they are compiler-internal; nothing references them through the symbol table, and debug info refers to their data by section offset. Discarding them makes large debug builds a few percent smaller and keeps compiler-internal labels out of symbolized addresses. The new --discard-none option restores the previous behavior. -r and --emit-relocs continue to keep all local symbols. (45dea59) To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 pkgsrc/devel/mold/Makefile cvs rdiff -u -r1.45 -r1.46 pkgsrc/devel/mold/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
(unnamed)
(text/x-diff, 1.4 KB)
Modified files:
Index: pkgsrc/devel/mold/Makefile
diff -u pkgsrc/devel/mold/Makefile:1.52 pkgsrc/devel/mold/Makefile:1.53
--- pkgsrc/devel/mold/Makefile:1.52 Tue Apr 14 06:51:24 2026
+++ pkgsrc/devel/mold/Makefile Wed Aug 12 06:46:51 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.52 2026/04/14 06:51:24 adam Exp $
+# $NetBSD: Makefile,v 1.53 2026/08/12 06:46:51 adam Exp $
-DISTNAME= mold-2.41.0
+DISTNAME= mold-2.42.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.45 pkgsrc/devel/mold/distinfo:1.46
--- pkgsrc/devel/mold/distinfo:1.45 Tue Apr 14 06:51:24 2026
+++ pkgsrc/devel/mold/distinfo Wed Aug 12 06:46:51 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.45 2026/04/14 06:51:24 adam Exp $
+$NetBSD: distinfo,v 1.46 2026/08/12 06:46:51 adam Exp $
-BLAKE2s (mold-2.41.0.tar.gz) = 6e4886d0e17b69c0529c13d51981e479462de380375dd1300864fee415549380
-SHA512 (mold-2.41.0.tar.gz) = 5ba667bbf0e7829c55268de5b8276ecb4f54972d0459a856c1d8c26d95890adfc7be1f1b229871e722f63760b3a9fd859d45128535ecebc76fdd55da52ac52ef
-Size (mold-2.41.0.tar.gz) = 11048346 bytes
+BLAKE2s (mold-2.42.0.tar.gz) = 1cefbd088e7b51f085d287408218e89d09091c940963ded55b7ce692abf0456b
+SHA512 (mold-2.42.0.tar.gz) = a0ab118e22e8647bd113def9d7e907ecec70d6b3175593df496dc063722413bf60d5f5bc221c7b29e4ad61093451ba0e7ee16830118c91943db8b62b1d1a81ef
+Size (mold-2.42.0.tar.gz) = 15290609 bytes