[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#53601: closed ([PATCH 1/2] gnu: Add mimalloc.)

From: GNU bug Tracking System
Subject: bug#53601: closed ([PATCH 1/2] gnu: Add mimalloc.)
Date: Sun, 12 Feb 2023 00:48:02 +0000

Your message dated Sun, 12 Feb 2023 01:47:18 +0100
with message-id <87357bn209.fsf_-_@gnu.org>
and subject line Re: bug#60754: [PATCH 1/2] gnu: Add mold.
has caused the debbugs.gnu.org bug report #53601,
regarding [PATCH 1/2] gnu: Add mimalloc.
to be marked as done.

(If you believe you have received this mail in error, please contact

53601: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=53601
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 1/2] gnu: Add mimalloc. Date: Fri, 28 Jan 2022 10:50:17 +0000

here is a patch set to add mold linker.

I've temporarily put the package definition into gnu/packages/raspberry-pi.scm as I'm unsure if it should go to gnu/packages/commencement.scm or somewhere else.

It would be be interesting to test it as a new default linker on such a large scale project.

Also there is currently one test failing so I've disabled the tests for now:

Testing mold-wrapper ... execl: No such file or directory
make[1]: *** [Makefile.linux:6: elf/mold-wrapper.sh] Error 1
make[1]: *** Waiting for unfinished jobs....


Attachment: 0001-gnu-Add-mimalloc.patch
Description: Text Data

Attachment: 0002-gnu-Add-mold.patch
Description: Text Data

--- End Message ---
--- Begin Message --- Subject: Re: bug#60754: [PATCH 1/2] gnu: Add mold. Date: Sun, 12 Feb 2023 01:47:18 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Zhu Zihao <all_but_last@163.com> skribis:

> * gnu/local.mk (GNU_SYSTEM_MODULES): Add new file.
> * gnu/packages/mold.scm: New file.
> * gnu/packages/mold.scm (mold): New variable.


> * gnu/packages/mold.scm(make-mold-wrapper): New variable.
> (mold-wrapper): New variable.
> (mold-as-ld-wrapper): New variable.

Applied both with minor changes (see below), thanks.

I’m also closing the two other issues you mentioned that were adding
mold.  Please let us know if there’s something to borrow from them!


diff --git a/gnu/packages/mold.scm b/gnu/packages/mold.scm
index 6514bd3b90..dfc452a329 100644
--- a/gnu/packages/mold.scm
+++ b/gnu/packages/mold.scm
@@ -77,12 +77,12 @@ (define-public mold
               (delete-file "test/elf/rpath.sh"))))))
     (inputs (list mimalloc openssl tbb xxhash zlib `(,zstd "lib")))
     (home-page "https://github.com/rui314/mold";)
-    (synopsis "Faster drop-in replacement for Unix linkers")
+    (synopsis "Fast linker")
-     "Mold is a faster drop-in replacement for existing Unix linkers.
+     "Mold is a faster drop-in replacement for existing linkers.
 It is designed to increase developer productivity by reducing build time,
 especially in rapid debug-edit-rebuild cycles.")
-    (license license:agpl3+)))
+    (license license:agpl3)))
 (define* (make-mold-wrapper mold #:key mold-as-ld?)
   "Return a MOLD wrapper.  When MOLD-AS-LD? is true, create a 'ld' symlink that

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]