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:   ktnb
Date:           Wed May 15 13:02:04 UTC 2024

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

Log Message:
mold: update to 2.31.0

Packaging changes:
- removed CMakeLists patch as it is no longer necessary

Upstream changes:
2.30.0 -> 2.30.1:
New Features:
- Up to 10% faster when linking very large, debug info-enabled
  executables
- `-z start-stop-visibility=hidden` is now supported so that
  linker-synthesized __start_<section-name> and
  __stop_<section-name> symbols can be completely hidden from other
  ELF modules.
- -Bsymbolic-non-weak and -Bsymbolic-non-weak-functions options
  are now supported for compatibility with LLVM lld. Just like lld,
  these options control which symbols are exported as dynamic
  symbols. -Bsymbolic-non-weak makes the linker to export only weak
  symbols, whereas -Bsymbolic-non-weak-functions makes it to export
  only weak function symbols.
Bug Fixes:
- if a linker script contains a newline character in the beginning
  four bytes of a file, it was not recognized as a linker script.
- the INPUT linker script command may have found a different file
  than GNU ld would
- Fixed the --repro option from produced corrupted tar files

https://github.com/rui314/mold/releases/tag/v2.30.1

2.4.1 -> 2.30.0:
Housekeeping:
- Version change to avoid GNU libtool from mistaking mold 2.4.1 for
  GNU ld 2.4.1
- Sections with unknown section types are now reported as errors.
Bug Fixes:
- Fixed having inserted an unnecessary gap before the .bss section in
  an output file, thereby creating an extra segment for it.
- Fixed failing with the "ConcurrentMap is full" error message if
  --gdb-index was used.
- Suppressed warnings for generating an excessive number of
  "ignoring .llvm_addrsig section without sh_link".

https://github.com/rui314/mold/releases/tag/v2.30.0

2.4.0 -> 2.4.1:
Bug Fixes:
- Fixed promoting weak dynamic symbols to strong ones under a rare
  circumstance, which caused "undefined symbol" error at runtime.
- If two or more VERSION clauses in a version script match to the
  same symbol, the first one took precedence. This was incompatible
  with GNU ld, which gives the last one the highest priority,
  causing a Qt library link failure
- By default, we demangle symbols in error messages so that they are
  easier to read. Previously, Rust symbols could accidentally be
  demangled as C++ symbols. Now, mold attempts to demangle symbols as
  Rust ones only for object files created by rustc

https://github.com/rui314/mold/releases/tag/v2.4.1

2.3.3 -> 2.4.0:
New Features:
- added the --spare-program-headers=<number> option
- `-z rewrite-endbr` option rewrites superflous endbr64 instructions
  with nop as a countermeasure against control-flow highjacking
  attacks.

Bug Fixes:
- Fixed not handling object files containing multiple .eh_frame
  sections
- `mold -run <command>` is an easy way to run the given command with
  a virtual environment in which the ld command is replaced with
  mold.
- Fixed the production of non-working executables on a rare occasion
  when all thread-local variables lacked an initial value and the
  read-only data required alignment equal to or greater than the page
  size.
- Fixed possible assignment to a different symbol version to a symbol
- Recent versions of LLVM emit a machine code sequence for TLSDESC
  thread-local variables that would be mis-optimized.

https://github.com/rui314/mold/releases/tag/v2.4.0


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/devel/mold/Makefile
cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/mold/distinfo
cvs rdiff -u -r1.5 -r0 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.38 pkgsrc/devel/mold/Makefile:1.39
--- pkgsrc/devel/mold/Makefile:1.38     Thu Nov 16 20:42:17 2023
+++ pkgsrc/devel/mold/Makefile  Wed May 15 13:02:04 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2023/11/16 20:42:17 fcambus Exp $
+# $NetBSD: Makefile,v 1.39 2024/05/15 13:02:04 ktnb Exp $
 
-DISTNAME=      mold-2.3.3
+DISTNAME=      mold-2.31.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.32 pkgsrc/devel/mold/distinfo:1.33
--- pkgsrc/devel/mold/distinfo:1.32     Thu Nov 16 20:42:17 2023
+++ pkgsrc/devel/mold/distinfo  Wed May 15 13:02:04 2024
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.32 2023/11/16 20:42:17 fcambus Exp $
+$NetBSD: distinfo,v 1.33 2024/05/15 13:02:04 ktnb Exp $
 
-BLAKE2s (mold-2.3.3.tar.gz) = a5712c4b8655a967213c077894cc62f6f998086bd26c05950799821ac7ee81d9
-SHA512 (mold-2.3.3.tar.gz) = cbe82568151a772097c86a25eebb0b0f8fc769d6b767169280f535d41cd3f27fc4640da9b86fb4a495e571f9d712368dda95c4431f8ebb2b42227de2b22fc80b
-Size (mold-2.3.3.tar.gz) = 9965345 bytes
-SHA1 (patch-CMakeLists.txt) = 8b4974a524a33a683ff3bfcb4bddc965b1111d8e
+BLAKE2s (mold-2.31.0.tar.gz) = b01f2186ea21a201c121b006c690bb6f42d564de03b5a7c3e2075ce54ff440eb
+SHA512 (mold-2.31.0.tar.gz) = 343c62d8c67b74988f762c46999d2d866b2e9a0c69d2b910b12384ea5abc620b30468cd1b1bacfe41474d1c97c8ce2e49d55ca70479691238fb73d83d9adc683
+Size (mold-2.31.0.tar.gz) = 10031469 bytes



Home | Main Index | Thread Index | Old Index