From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qBC2GFw36GNoOgAAbAwnHQ (envelope-from ) for ; Sun, 12 Feb 2023 01:48:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iIDAGFw36GNqzgAA9RJhRA (envelope-from ) for ; Sun, 12 Feb 2023 01:48:28 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 325763A2F8 for ; Sun, 12 Feb 2023 01:48:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pR0XK-0007RU-3Z; Sat, 11 Feb 2023 19:48:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pR0XH-0007Q3-5N for guix-patches@gnu.org; Sat, 11 Feb 2023 19:48:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pR0XD-0006ou-S4 for guix-patches@gnu.org; Sat, 11 Feb 2023 19:48:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pR0XD-0001GO-O4 for guix-patches@gnu.org; Sat, 11 Feb 2023 19:48:03 -0500 Subject: bug#60754: [PATCH 1/2] gnu: Add mold. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 12 Feb 2023 00:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 60754 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Zhu Zihao Cc: 60754-done@debbugs.gnu.org, 53601-done@debbugs.gnu.org, 53327-done@debbugs.gnu.org Mail-Followup-To: 60754@debbugs.gnu.org, ludo@gnu.org, all_but_last@163.com Received: via spool by 60754-done@debbugs.gnu.org id=D60754.16761628514589 (code D ref 60754); Sun, 12 Feb 2023 00:48:03 +0000 Received: (at 60754-done) by debbugs.gnu.org; 12 Feb 2023 00:47:31 +0000 Received: from localhost ([127.0.0.1]:43578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pR0Wh-0001Bs-D7 for submit@debbugs.gnu.org; Sat, 11 Feb 2023 19:47:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pR0Wd-0001BK-MH; Sat, 11 Feb 2023 19:47:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pR0WX-0006nL-Mb; Sat, 11 Feb 2023 19:47:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=7QdHeLIrRSPGGbIt9uM7EC2EJjmrEqwEm1z06ZlrJcw=; b=g9zmzh0nTKegFV/iczDr w5kBSrAN0ehmIl7B8DuUMRqEIs05WR/YipMtxUdJH17Zmiv69afHRrN82lg1TwXth7L4JbdjnICMw FXVC4hZohCyMG/kUEJg8CHTAAcu3h/2CqHrQBkyzT9DwdJyNm3nC0ZEGnxk4LkXwSo71Tdc2RYZ30 APsiIcnWIfStT+7/eFQb4efGWZ4Flmrt/kub4P30hodorQ0Y5Xc0cDAIgYmUoCljYjL44dsp0QeNy xR5DXEFFFOX2xXDg5ylfTBpNuc05RahoPWAtRYXn/2aHgsB+MAMSO22PS15hO7H0CeP31rjGhh6dr 3/aJFGFIjNIJig==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pR0WX-0001sY-7C; Sat, 11 Feb 2023 19:47:21 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20230112141830.28179-1-all_but_last@163.com> <20230112142228.28575-1-all_but_last@163.com> Date: Sun, 12 Feb 2023 01:47:18 +0100 In-Reply-To: <20230112142228.28575-1-all_but_last@163.com> (Zhu Zihao's message of "Thu, 12 Jan 2023 22:22:28 +0800") Message-ID: <87357bn209.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676162908; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=7QdHeLIrRSPGGbIt9uM7EC2EJjmrEqwEm1z06ZlrJcw=; b=ovhDh3Y8f9/r3nYFmu2YJ3GQZ01+CM+/D+m91eJr9ZpTHJSaW7dhs+QZJyYTlR59mAa9RX 5RAIkoRWxZ2dGuUMKGoiNhT85RHFnrr1dc63VrQO9MvflIgJFsf9dZ8nddnHeRhm4h8GV0 XiK4M9DgBocasQMT/FDWx9Tt2OHdDntcwssJPEeSgAAHRwrvfUWnh2hpOhJplRSaDlVii6 izFTHwTARYcwzK+IRLNsmZByEnUpl+h3LLF+cg7tdp054sP3RJB+xXXxV+UGazsrhwjLCH rh9x0mKlQE8+ghvbzzwiMpctHMWq+k5l/S/Vr4mIcT2PwGES5CGE2TMEX12P2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=g9zmzh0n; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676162908; a=rsa-sha256; cv=none; b=edDVQ9SDANHxdgjkzLkIrYfycGVhV3uMqjlD44oKJ7SUwUQB5mWH30EfyJ4nO66p7m+/s2 yzyNISG+rXKOk+o8PQM2jmjOFH4QQQ9Bqe75TeDFhtzH8e2nIox3Vl71MmGDOmIgpbbmZZ oXsOq8fyGndDg4UyxuQuNuNo2vSvCSqs5UCMRquTd7Fm0DiuTXz/2xA0hj8dbGAP0Kx4l3 fGaJuwbElLaEkEDUjTSS9EOfnTpuwMubN6MR4cqRDF3llPWwWZjDFCbVB2+eTSDWW9PTlA k/Xab7q7qH4+V05LaWLf1MrsomP5Ck9SDDJp4k+71DTlIcx8Wt8QjCh2RRYJiQ== X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.11 X-Spam-Score: -4.11 X-Migadu-Queue-Id: 325763A2F8 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=g9zmzh0n; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-TUID: lPIHLWekoc/A --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Zhu Zihao 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=E2=80=99m also closing the two other issues you mentioned that were adding mold. Please let us know if there=E2=80=99s something to borrow from them! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline 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") (description - "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 --=-=-=--