GNU bug report logs - #73476
[PATCH] gnu: mold: Update to 2.34.0.

Previous Next

Package: guix-patches;

Reported by: ashish.is <at> lostca.se

Date: Wed, 25 Sep 2024 14:41:02 UTC

Severity: normal

Tags: patch

Done: Z572 <zhengjunjie <at> iscas.ac.cn>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73476 in the body.
You can then email your comments to 73476 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#73476; Package guix-patches. (Wed, 25 Sep 2024 14:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ashish.is <at> lostca.se:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 25 Sep 2024 14:41:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ashish.is <at> lostca.se
To: guix-patches <at> gnu.org
Cc: Ashish SHUKLA <ashish.is <at> lostca.se>
Subject: [PATCH] gnu: mold: Update to 2.34.0.
Date: Wed, 25 Sep 2024 16:12:08 +0200
From: Ashish SHUKLA <ashish.is <at> lostca.se>

* gnu/packages/mold.scm (mold): Update to 2.34.0.
[arguments](phases)<force-system-xxhash>: Update path.
<fix-compiler-name-in-test>: Update path.
<skip-tbb-lto-test>: Update path.
<disable-rpath-test>: Update path.

Change-Id: I21e8cdd057fb13b508299a1b0fd9b48f803959bd
---
 gnu/packages/mold.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/mold.scm b/gnu/packages/mold.scm
index 322214893c..d2534de6a1 100644
--- a/gnu/packages/mold.scm
+++ b/gnu/packages/mold.scm
@@ -35,7 +35,7 @@ (define-module (gnu packages mold)
 (define-public mold
   (package
     (name "mold")
-    (version "2.33.0")
+    (version "2.34.0")
     (source
      (origin
        (method git-fetch)
@@ -44,7 +44,7 @@ (define-public mold
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0wsb0aiqia3jfc9k3h2d446y0mzmaq6rz9xkjf9125npdygm7kpb"))
+        (base32 "0n8ygaxsda9ybc1jc7ap7grbziah403wjm2hmmcxzahm52v6czs0"))
        (modules '((guix build utils)))
        (snippet
         #~(begin
@@ -62,25 +62,25 @@ (define-public mold
       #~(modify-phases %standard-phases
           (add-before 'configure 'force-system-xxhash
             (lambda _
-              (substitute* "common/common.h"
+              (substitute* "lib/common.h"
                 (("#include \"../third-party/xxhash/xxhash.h\"")
                  "#include <xxhash.h>"))))
           (add-before 'configure 'fix-compiler-name-in-test
             (lambda _
-              (substitute* "test/elf/common.inc"
+              (substitute* "test/common.inc"
                 (("CC=\"\\$\\{TEST_CC:-cc\\}\"") "CC=gcc")
                 (("CXX=\"\\$\\{TEST_CXX:-c\\+\\+\\}\"")
                  "CXX=g++"))))
           (add-before 'configure 'skip-tbb-lto-test
             (lambda _
               ;; This test needs tbb 2021.9.0 or newer
-              (delete-file "test/elf/lto-version-script.sh")))
+              (delete-file "test/lto-version-script.sh")))
           (add-before 'configure 'disable-rpath-test
             (lambda _
               ;; This test fails because mold expect the RUNPATH as-is,
               ;; but compiler in Guix will insert the path of gcc-lib and
               ;; glibc into the output binary.
-              (delete-file "test/elf/rpath.sh"))))))
+              (delete-file "test/rpath.sh"))))))
     (inputs (list mimalloc tbb xxhash zlib `(,zstd "lib")))
     (home-page "https://github.com/rui314/mold")
     (synopsis "Fast linker")

base-commit: 039635567d17460d8d541caa58897db83a3565a8
-- 
2.46.1





Information forwarded to guix-patches <at> gnu.org:
bug#73476; Package guix-patches. (Sun, 29 Sep 2024 16:37:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Z572 <zhengjunjie <at> iscas.ac.cn>
To: "ashish.is--- via Guix-patches" via <guix-patches <at> gnu.org>
Cc: ashish.is <at> lostca.se, 73476-done <at> debbugs.gnu.org
Subject: Re: [bug#73476] [PATCH] gnu: mold: Update to 2.34.0.
Date: Mon, 30 Sep 2024 00:35:38 +0800
[Message part 1 (text/plain, inline)]
"ashish.is--- via Guix-patches" via <guix-patches <at> gnu.org> writes:

> From: Ashish SHUKLA <ashish.is <at> lostca.se>
>
> * gnu/packages/mold.scm (mold): Update to 2.34.0.
> [arguments](phases)<force-system-xxhash>: Update path.
> <fix-compiler-name-in-test>: Update path.
> <skip-tbb-lto-test>: Update path.
> <disable-rpath-test>: Update path.

Maybe it doesn't need to be so detailed?

>
> Change-Id: I21e8cdd057fb13b508299a1b0fd9b48f803959bd
> ---
>  gnu/packages/mold.scm | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/gnu/packages/mold.scm b/gnu/packages/mold.scm
> index 322214893c..d2534de6a1 100644
> --- a/gnu/packages/mold.scm
> +++ b/gnu/packages/mold.scm
> @@ -35,7 +35,7 @@ (define-module (gnu packages mold)
>  (define-public mold
>    (package
>      (name "mold")
> -    (version "2.33.0")
> +    (version "2.34.0")
>      (source
>       (origin
>         (method git-fetch)
> @@ -44,7 +44,7 @@ (define-public mold
>               (commit (string-append "v" version))))
>         (file-name (git-file-name name version))
>         (sha256
> -        (base32 "0wsb0aiqia3jfc9k3h2d446y0mzmaq6rz9xkjf9125npdygm7kpb"))
> +        (base32 "0n8ygaxsda9ybc1jc7ap7grbziah403wjm2hmmcxzahm52v6czs0"))
>         (modules '((guix build utils)))
>         (snippet
>          #~(begin
> @@ -62,25 +62,25 @@ (define-public mold
>        #~(modify-phases %standard-phases
>            (add-before 'configure 'force-system-xxhash
>              (lambda _
> -              (substitute* "common/common.h"
> +              (substitute* "lib/common.h"
>                  (("#include \"../third-party/xxhash/xxhash.h\"")
>                   "#include <xxhash.h>"))))
>            (add-before 'configure 'fix-compiler-name-in-test
>              (lambda _
> -              (substitute* "test/elf/common.inc"
> +              (substitute* "test/common.inc"
>                  (("CC=\"\\$\\{TEST_CC:-cc\\}\"") "CC=gcc")
>                  (("CXX=\"\\$\\{TEST_CXX:-c\\+\\+\\}\"")
>                   "CXX=g++"))))
>            (add-before 'configure 'skip-tbb-lto-test
>              (lambda _
>                ;; This test needs tbb 2021.9.0 or newer
> -              (delete-file "test/elf/lto-version-script.sh")))
> +              (delete-file "test/lto-version-script.sh")))
>            (add-before 'configure 'disable-rpath-test
>              (lambda _
>                ;; This test fails because mold expect the RUNPATH as-is,
>                ;; but compiler in Guix will insert the path of gcc-lib and
>                ;; glibc into the output binary.
> -              (delete-file "test/elf/rpath.sh"))))))
> +              (delete-file "test/rpath.sh"))))))
>      (inputs (list mimalloc tbb xxhash zlib `(,zstd "lib")))
>      (home-page "https://github.com/rui314/mold")
>      (synopsis "Fast linker")
>
> base-commit: 039635567d17460d8d541caa58897db83a3565a8

push, close.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Z572 <zhengjunjie <at> iscas.ac.cn>:
You have taken responsibility. (Sun, 29 Sep 2024 16:37:03 GMT) Full text and rfc822 format available.

Notification sent to ashish.is <at> lostca.se:
bug acknowledged by developer. (Sun, 29 Sep 2024 16:37:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 28 Oct 2024 11:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 231 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.