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:           Fri Apr 15 16:30:37 UTC 2022

Modified Files:
        pkgsrc/devel/mold: Makefile distinfo

Log Message:
mold: update to 1.2.0.

mold 1.2.0 is a new release of the high-speed linker. The highlight of this
release is the 32-bit ARM support. We also added other features, and as
always, we fixed many bugs and compatibility issues in this release.

New features:

- The ARM32 target is now supported.

- --gdb-index is implemented. If this option is given, mold creates an
  .gdb_index section in an output file to speed up GNU debugger. Users have
  to compile their object files with -ggnu-pubnames to use this flag. mold
  used to ignore --gdb-index. (a7475dd)

- mold now supports the following flags: --start-address, -Tbss, -Tdata,
  -Ttext, --oformat=binary, --disable-new-dtags

Deprecated features:

- An experimental, mold-specific --preload flag has been marked as
  deprecated. It's still usable, but a warning message will be displayed
  if that flag is given.

Bug fixes and compatibility improvements:

- -dy and -dn are now accepted as aliases for -Bdynamic and -Bstatic,
  respectively. (82e8072)

- -static-pie now works with older versions of glibc thanks to a few bug
  fixes. (3d68824, 0884f27)

- Issues found by UndefinedBehaviorSanizer, AddressSanitizer and
  ThreadSanitizer are fixed. (bf26753, f4753b3, e1e4e9f)

- mold used to place sections with very large section alignment
  requirements to wrong places in an output file. That caused a mysterious
  crash of a produced binary (#405). That bug was most noticeable when
  Nvidia-provided object files are given because they tend to contain such
  sections. This bug has been fixed. (100922b)

- .ctors and .dtors sections are now recognized by mold, and their contents
  are sorted with a special rule. This shouldn't affect most build
  environments because these sections have been superseded by .init_array
  and .fini_array sections a long time ago. But it looks like some old
  i386 compilers are still using .ctors and .dtors. (392781a)

- For a non-position-independent executable, we have to make address-taken
  PLT entries as "canonical". Marking all PLT entries canonical should be
  harmless in theory, so we did so. However, some programs, notably Qt
  library, assume that non-address-taken PLTs can never be canonical
  (#352). For the sake of compatibility with such programs, we now make
  PLTs canonical only when their addresses are taken. (e0bc74a)

- mold now defines _TLS_MODULE_BASE_ symbol. A reference to this symbol
  can occur if -mtls-dialect=gnu2 is given to a compiler. The flag tells
  the compiler to use TLSDESC mechanism instead of the regular TLS access
  mechanism to access thread-local variables. (5feab82)

- libbacktrace sometimes fail to read compressed debug sections in
  mold-generated files due to a bug. We not only fix that libbacktrace's
  bug (ianlancetaylor/libbacktrace#87) but also implemented a workaround
  to mold (ba63479) so that mold works with older versions of libbacktrace.

- [ARM64] mold now recognizes R_AARCH64_LD_PREL_LO19 relocation. (146ddd7)

- [RISCV64] The correct semantics of R_RISCV_ALIGN is implemented.
  (0daf623)


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/mold/Makefile
cvs rdiff -u -r1.12 -r1.13 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.10 pkgsrc/devel/mold/Makefile:1.11
--- pkgsrc/devel/mold/Makefile:1.10     Tue Mar  8 14:04:57 2022
+++ pkgsrc/devel/mold/Makefile  Fri Apr 15 16:30:37 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2022/03/08 14:04:57 fcambus Exp $
+# $NetBSD: Makefile,v 1.11 2022/04/15 16:30:37 fcambus Exp $
 
-DISTNAME=      mold-1.1.1
+DISTNAME=      mold-1.2
 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.12 pkgsrc/devel/mold/distinfo:1.13
--- pkgsrc/devel/mold/distinfo:1.12     Tue Mar  8 14:04:57 2022
+++ pkgsrc/devel/mold/distinfo  Fri Apr 15 16:30:37 2022
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2022/03/08 14:04:57 fcambus Exp $
+$NetBSD: distinfo,v 1.13 2022/04/15 16:30:37 fcambus Exp $
 
-BLAKE2s (mold-1.1.1.tar.gz) = 0180e64eedb0b4b08927dbbf2ce43a45707e5de2a306ad3ad3f754377b49a609
-SHA512 (mold-1.1.1.tar.gz) = 981d9737ed7a23134b9bafc04db0cd0233ab4fd588a3b250688dba64936fe84f6736168379fc3e4485273bcef11bca70e5c426b043b5d8b9775ae1cd3aea5b52
-Size (mold-1.1.1.tar.gz) = 4530297 bytes
+BLAKE2s (mold-1.2.tar.gz) = 73728af04213272c119aed42dce0eab8d2115c3c65d5e62eca5b92376fed6149
+SHA512 (mold-1.2.tar.gz) = 1308f5f274867a5d2d2c000a043ce645eff2a0c876fc1bec33c077cd7f5fc0f1f2b983211ca479cebc80f1ed3f3b0ea0d4c8f7e3e7f2124b713354b18ebc8676
+Size (mold-1.2.tar.gz) = 4759743 bytes
 SHA1 (patch-Makefile) = b2df4dd7894bfc9df45253bb93ca768b8d8e091a



Home | Main Index | Thread Index | Old Index