Subject: CVS commit: pkgsrc/devel/mold
From: Frederic Cambus
Date: 2023-01-20 19:37:30
Message id: 20230120183730.82771FA90@cvs.NetBSD.org

Log Message:
mold: update to 1.10.0.

New features:

- mold now officially supports the --print-dependencies option to print
  out dependency information between input files. Here is a truncated
  example output when linking mold itself with the option. There are many
  use cases of the option; for example, if you want to eliminate the
  dependency to some library from your program, you can use this option
  to find out all the functions that use the library's function to fix
  them.
- [x86-64][s390x] mold now optimizes thread-local variable accesses in
  shared libraries if the library is linked with -z nodlopen. If your
  shared library is not intended to be used via dlopen(2) and your library
  frequently accesses thread-local variables, you might want to pass that
  option when linking your library.
- [arm64] mold is now able to optimize GOT load by rewriting an ADDR+LDR
  instruction pair with an ADDR+ADD if the loaded GOT value is known at
  link-time.

Bug fixes and compatibility improvements:

- mold 1.9.0 was up to 10% slower than 1.8.0 on some multicore machines.
  We fixed the performance regression and made it even faster than 1.8.0.
- Previously, mold failed to report an undefined symbol error if there's
  a weak undefined symbol of the same name. That bug resulted in producing
  a non-working executable instead of reporting a link failure. Now, mold
  correctly reports such link errors.
- mold 1.9.0 might crash with SIGSEGV if --emit-relocs is used with object
  files containing debug info. That bug has been fixed.

Files:
RevisionActionfile
1.29modifypkgsrc/devel/mold/Makefile
1.25modifypkgsrc/devel/mold/distinfo
1.2modifypkgsrc/devel/mold/patches/patch-CMakeLists.txt