GNU logs - #75051, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#75051] [PATCH 00/14] Add loongarch64 platform support.
Resent-From: Zheng Junjie <873216071@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 23 Dec 2024 17:04:01 +0000
Resent-Message-ID: <handler.75051.B.173497343028899 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 75051
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75051 <at> debbugs.gnu.org
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.173497343028899
          (code B ref -1); Mon, 23 Dec 2024 17:04:01 +0000
Received: (at submit) by debbugs.gnu.org; 23 Dec 2024 17:03:50 +0000
Received: from localhost ([127.0.0.1]:55830 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPlqQ-0007W2-C7
	for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:03:50 -0500
Received: from lists.gnu.org ([209.51.188.17]:53788)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <873216071@HIDDEN>) id 1tPlqN-0007Vq-G9
 for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:03:49 -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 <873216071@HIDDEN>) id 1tPlqK-00060V-Qd
 for guix-patches@HIDDEN; Mon, 23 Dec 2024 12:03:46 -0500
Received: from xmbghk7.mail.qq.com ([43.163.128.53])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <873216071@HIDDEN>) id 1tPlqA-0008G7-6K
 for guix-patches@HIDDEN; Mon, 23 Dec 2024 12:03:44 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1734973402; bh=BJ7EIJO/9t38MggTanPQvU7SjoDuT470q+rV1QTc7zg=;
 h=From:To:Subject:Date;
 b=tTfyCr/l4yCsW7cuEvVBt0r5+VBEMfd6srYn4CS4/b0Qy4yNbYVFNplUJkk9uxFV2
 p/P4VXalfiSiGtZOl5Q1m0yZrhjBq1GUQ3fSTMRtSSh4jZquHNImGOyA0xabIAt/B9
 K0eou2Vz7Cqfxk2v+gY6zHi/KpHSWfk+XueEGMR0=
Received: from m.tailaa68d.ts.net ([107.174.64.25])
 by newxmesmtplogicsvrszc16-0.qq.com (NewEsmtp) with SMTP
 id CB90077; Tue, 24 Dec 2024 01:03:11 +0800
X-QQ-mid: xmsmtpt1734973391tni3fg42a
Message-ID: <tencent_0B3F159D8CF29212D8DAF1CDB9D482ACAD07@HIDDEN>
X-QQ-XMAILINFO: OTdDBJCpIhk9Gy5s9nastZDrZyNR7xqTKArGW9j6LJtLZtYNkUs/mvfPwewv1m
 deKmLvIa3w7Y6pbs3CRqEaqzretEbZud5YGrgupbvjOeanyBHw76sIZH0X5Px2/glIsyMTsDqp8i
 Nuw8Un/dzdC1zkklclGLrHbgwDgkK/EsUfUSbRw9HJLuaSXOmUStw/6GbdSmUDYX8RBm7BIrCLGT
 NRkboTXK6H1r6awdhFeztLlcGDpougn63Hwy6QxAELx1OmgRUPwHlCSLeXai44zz2EKkcYR4JMNF
 yh0mVugDGpNoX7tudXq3g6lKe5AuXp3B23UmDKdNqoB5vrhissrpFpAhCTeGebY1YLnmVD6377RG
 fWk3wRKwHbxO4pW/yy9j40eM3vkMowPVff7JOoJ2z5LXTdedMLyF3mYUPi3Mg06RbbA2TynHIFtp
 hAVJinXh1w2TwwKebxRARXmFHOsdv/98nvstADzmkGMWw+iGpUQSKIztDPnjsavCahSbXdanIooZ
 LPzXvwwq6xCv+KR+ruanr9mujmnKsgaQq/h+pYLZTGp6689QrsBA6Pe3LNiZDxQtmgAL3O5jtJic
 TkPavCyxDIxCJM820dTmpkKoTHy/U2IGnT4ttxGMWHBTy4u6h4tAzS+F1ajxm2CGSl9o4lfWRNTK
 mXAw767KzXeugViQuZUjvkG/9N15kZ/wzCnXl9Po31BZ3DCMw1aBdRAvvYBO1UVc76TJZb9yabrS
 4Pz6MP5AVC4DG+vYIlEMhlfy+5ZNsiAuu5BwlPVb1W9k6+5xEx3NWiKDCRab4xu0tDldQujr6HY3
 C3EOaE2NV4Iz4XliQzXvQzvnzKiGC0Gg73KKEeTJwAgHpz16yDiFBAKtUUZqB9rVMue7bJplRlRj
 /3UOx89jjVQA3k6iSGU/a6SJqWhdhjzjqjN5bfKtGgJqzf2ZrxL3RZHbwpyKZCiOVm+72EB1SFCO
 VIXVK2CmUeV8O2PN8fHqPqgyHvMB2jQCCgiAwFb+I=
X-QQ-XMRINFO: M/715EihBoGSf6IYSX1iLFg=
From: Zheng Junjie <873216071@HIDDEN>
Date: Tue, 24 Dec 2024 01:03:10 +0800
X-OQ-MSGID: <cover.1734972657.git.873216071@HIDDEN>
X-Mailer: git-send-email 2.46.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=43.163.128.53; envelope-from=873216071@HIDDEN;
 helo=xmbghk7.mail.qq.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

hello! This patchset add loongarch64 platform support.

use this follow command
./pre-inst-env guix pack --target=loongarch64-linux-gnu hello -R
can build, and can run on real loongarch64 machine.

./pre-inst-env guix build --target=loongarch64-linux-gnu bootstrap-tarballs
build success, but no test yet.


Zheng Junjie (14):
  guix: Add loongarch platform.
  utils: Add target-loongarch64?.
  gnu: Add linux-libre-headers-5.19.17.
  gnu: cross-base: Add cross-compiling support for loongarch64.
  gnu: %glibc-stripped: Fix cross-compiling to loongarch64.
  gnu: openssl: Support loongarch64.
  gnu: readline: Fix cross-compiling to loongarch64.
  gnu: gdbm: Fix cross-compiling to loongarch64.
  gnu: libatomic-ops: Fix cross-compiling to loongarch64.
  gnu: bash: Fix cross-compiling to loongarch64.
  gnu: sed: Fix cross-compiling to loongarch64.
  gnu: isl: Fix cross-compiling to loongarch64.
  gnu: pcre2: disable jit on loongarch64.
  gnu: elfutils: Fix cross-compiling to loongarch64.

 Makefile.am                     |  1 +
 doc/guix.texi                   |  7 +++-
 gnu/packages/base.scm           | 20 ++++++++++-
 gnu/packages/bash.scm           | 19 +++++++++-
 gnu/packages/bdw-gc.scm         | 19 ++++++++++
 gnu/packages/cross-base.scm     |  9 +++--
 gnu/packages/dbm.scm            | 19 +++++++++-
 gnu/packages/elf.scm            | 18 ++++++++--
 gnu/packages/gcc.scm            | 21 ++++++++++--
 gnu/packages/linux.scm          |  5 +++
 gnu/packages/make-bootstrap.scm |  7 ++--
 gnu/packages/pcre.scm           |  6 ++--
 gnu/packages/readline.scm       | 61 +++++++++++++++++++++------------
 gnu/packages/tls.scm            |  5 ++-
 guix/platforms/loongarch.scm    | 30 ++++++++++++++++
 guix/utils.scm                  |  5 +++
 16 files changed, 215 insertions(+), 37 deletions(-)
 create mode 100644 guix/platforms/loongarch.scm


base-commit: 3e92082463d014befdbb5073074490c07377cde3
-- 
2.46.0





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Zheng Junjie <873216071@HIDDEN>
Subject: bug#75051: Acknowledgement ([PATCH 00/14] Add loongarch64
 platform support.)
Message-ID: <handler.75051.B.173497343028899.ack <at> debbugs.gnu.org>
References: <tencent_0B3F159D8CF29212D8DAF1CDB9D482ACAD07@HIDDEN>
X-Gnu-PR-Message: ack 75051
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 75051 <at> debbugs.gnu.org
Date: Mon, 23 Dec 2024 17:04:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 75051 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
75051: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75051
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to guix@HIDDEN, dev@HIDDEN, ludo@HIDDEN, othacehe@HIDDEN, maxim.cournoyer@HIDDEN, zimon.toutoune@HIDDEN, me@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#75051] [PATCH 01/14] guix: Add loongarch platform.
Resent-From: Zheng Junjie <873216071@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix@HIDDEN, dev@HIDDEN, ludo@HIDDEN, othacehe@HIDDEN, maxim.cournoyer@HIDDEN, zimon.toutoune@HIDDEN, me@HIDDEN, guix-patches@HIDDEN
Resent-Date: Mon, 23 Dec 2024 17:07:01 +0000
Resent-Message-ID: <handler.75051.B75051.173497359229577 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75051
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75051 <at> debbugs.gnu.org
Cc: Christopher Baines <guix@HIDDEN>, Josselin Poiret <dev@HIDDEN>, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Mathieu Othacehe <othacehe@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Simon Tournier <zimon.toutoune@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN>
X-Debbugs-Original-Xcc: Christopher Baines <guix@HIDDEN>, Josselin Poiret <dev@HIDDEN>, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Mathieu Othacehe <othacehe@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Simon Tournier <zimon.toutoune@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN>
Received: via spool by 75051-submit <at> debbugs.gnu.org id=B75051.173497359229577
          (code B ref 75051); Mon, 23 Dec 2024 17:07:01 +0000
Received: (at 75051) by debbugs.gnu.org; 23 Dec 2024 17:06:32 +0000
Received: from localhost ([127.0.0.1]:55839 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPlt2-0007gx-2b
	for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:06:32 -0500
Received: from out162-62-57-252.mail.qq.com ([162.62.57.252]:46953)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <873216071@HIDDEN>) id 1tPlsx-0007gf-Af
 for 75051 <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:06:30 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1734973577; bh=CqtPsXZcaw6cRT5gfD+bR9lFWdTL51lSoFbE0Ki5D90=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=gWa45RCy7saD+MYNfsNWiGZC2OWswprJ6rBgSQOgF80d0XNW5VHcyk6mUgMlRiPrx
 irv0uykxtBWm8DZdM2oQpzE1kgFJxHQK4xkuswXtNsg7T2Sbiv0TUn9v2SfVReaZD5
 oaI1e8nYbm3F7P+Mx347K7jwqDjLF4vTDsJEKcvI=
Received: from m.tailaa68d.ts.net ([107.174.64.25])
 by newxmesmtplogicsvrszb21-0.qq.com (NewEsmtp) with SMTP
 id 18A9C8A6; Tue, 24 Dec 2024 01:06:10 +0800
X-QQ-mid: xmsmtpt1734973570t04bjzr5x
Message-ID: <tencent_4F72F692DF5AAE4DEA54D82C9BBF379D8F07@HIDDEN>
X-QQ-XMAILINFO: NB2Y38G+/V2YbWAVkJnn0Iva03Uf6bayLtl+x6D2azTSCw53guAmPfNkVTVMQT
 K5vcEH46ue07CJ8SIL1vSFGvyPmDQZvJlp4GeEUnCX9+mV5x81+p4AqZQ+FCUd+aSL00lGaVZHyV
 ddV8yvx/SUH4pZU1/hTJQCTrOtktBNUGw87a6rYMDGSRX16VGFglbw/FlmvoKtb4kFPg4wOj2W6k
 NETbYfU/QlX1mwktt5azuEOCl4r7dQ3LXzLmESUGjqYDmniUULWthaMaJKCeSuKadf5f+eMzK8mr
 GHyAmaCmi2O7F08GO5ROdV2aUDMs1StsP6Nu78hLS8E7GUYihanqc/xC9E9n05U5U6D/OSxlrUmv
 LPb0O4uJl21mMKaZcH78W3tJq15gSGZQiCC5+kpR3pq15ZdzYVy4l8/lh3bJ86a+ZXyzlr6tQeSC
 0NCJmFFfJy5HFfRn1YFKXynl+QDv2RgFUUbNaKdUEqUN2N7z5kK8jS8kNAs+7hWFRiCYaho0GN8E
 pXcgtQzP6RSGc+jpXArm44e3GfZgvnJUfEtia1/fARzCwkoceqyv3rBlnkOGkpSvzFMLjK+1u7Y+
 goXTdlapk8PYZg3Y5imSSfHpc1QTE1EH9Ggh4nICWg0OOyC7CsuP/fkjmfOXHlbd1WmnLFUVOw/3
 +fZCIrT4ZI1Xl76JFZbTamcxZA8eiOX/p2IdGMqeSaw20cwmgQahsWRPeGRziSYSqLRNPeSCWKJB
 Xtpvd0iqdV3ti4N4ncqZUedwcsfT8ZfTtt4gc0DcH52XhvIHTfFCWBWIrU0BOsjN0OR3QkNuHNGd
 2h6JzE8ODD2fhe96KWgoPlBXaGGycRlpGkkOhe1O4cz8upb4YV4UuPB9BODRXkCZ2ooXjVQ5Esx+
 DS6xeN1WCjaRCrVLb69Le62pkgUkGYv3fsZK+qy3WJdCCjMCKeKkAskL01dxOgJJu6UkuZN0GKDZ
 RBKa9bfNk=
X-QQ-XMRINFO: NI4Ajvh11aEj8Xl/2s1/T8w=
From: Zheng Junjie <873216071@HIDDEN>
Date: Tue, 24 Dec 2024 01:05:53 +0800
X-OQ-MSGID: <19f664258a3f4cbb5ca8e233052b1988b4a57108.1734972657.git.873216071@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1734972657.git.873216071@HIDDEN>
References: <cover.1734972657.git.873216071@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 3.9 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  * Makefile.am (MODULES): Add loongarch platform module. *
 doc/guix.texi: Add documentation for loongarch platform. *
 guix/platforms/loongarch.scm
 (loongarch64-linux): New variable. Change-Id:
 I71b8f3cb3b2f0d9562bbbefdc1f2fc4b2dcc4fbb
 --- Makefile.am | 1 + doc/guix.texi | 7 ++++++- guix/platforms/loongarch.scm
 | 30 ++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), [...]
 Content analysis details:   (3.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.252 listed in sa-accredit.habeas.com]
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.252 listed in bl.score.senderscore.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [162.62.57.252 listed in list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (873216071[at]qq.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.4 RDNS_DYNAMIC           Delivered to internal network by host with
 dynamic-looking rDNS
 3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
 addr 1)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  * Makefile.am (MODULES): Add loongarch platform module. *
   doc/guix.texi: Add documentation for loongarch platform. * guix/platforms/loongarch.scm
    (loongarch64-linux): New variable. Change-Id: I71b8f3cb3b2f0d9562bbbefdc1f2fc4b2dcc4fbb
    --- Makefile.am | 1 + doc/guix.texi | 7 ++++++- guix/platforms/loongarch.scm
    | 30 ++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), [...]
    
 
 Content analysis details:   (2.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.252 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [162.62.57.252 listed in list.dnswl.org]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.252 listed in bl.score.senderscore.com]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (873216071[at]qq.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

* Makefile.am (MODULES): Add loongarch platform module.
* doc/guix.texi: Add documentation for loongarch platform.
* guix/platforms/loongarch.scm (loongarch64-linux): New variable.

Change-Id: I71b8f3cb3b2f0d9562bbbefdc1f2fc4b2dcc4fbb
---
 Makefile.am                  |  1 +
 doc/guix.texi                |  7 ++++++-
 guix/platforms/loongarch.scm | 30 ++++++++++++++++++++++++++++++
 3 files changed, 37 insertions(+), 1 deletion(-)
 create mode 100644 guix/platforms/loongarch.scm

diff --git a/Makefile.am b/Makefile.am
index d3eeaddaf4a..413f3caf518 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -140,6 +140,7 @@ MODULES =					\
   guix/platform.scm                             \
   guix/platforms/arm.scm                        \
   guix/platforms/avr.scm                        \
+  guix/platforms/loongarch.scm                  \
   guix/platforms/mips.scm                       \
   guix/platforms/or1k.scm                       \
   guix/platforms/powerpc.scm                    \
diff --git a/doc/guix.texi b/doc/guix.texi
index f7b75698870..576bd45ba3d 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -116,7 +116,7 @@
 Copyright @copyright{} 2023 Karl Hallsby@*
 Copyright @copyright{} 2023 Nathaniel Nicandro@*
 Copyright @copyright{} 2023 Tanguy Le Carrour@*
-Copyright @copyright{} 2023, 2024 Zheng Junjie@*
+Copyright @copyright{} 2023-2024 Zheng Junjie@*
 Copyright @copyright{} 2023 Brian Cully@*
 Copyright @copyright{} 2023 Felix Lechner@*
 Copyright @copyright{} 2023 Foundation Devices, Inc.@*
@@ -17021,6 +17021,7 @@ Cross-Compilation
    - i586-pc-gnu
    - i686-linux-gnu
    - i686-w64-mingw32
+   - loongarch64-linux-gnu
    - mips64el-linux-gnu
    - or1k-elf
    - powerpc-linux-gnu
@@ -48981,6 +48982,10 @@ Supported Platforms
 Platform targeting ARM v8 CPU running GNU/Linux.
 @end defvar
 
+@defvar loongarch64-linux
+Platform targeting loongarch 64-bit CPU running GNU/Linux.
+@end defvar
+
 @defvar mips64-linux
 Platform targeting MIPS little-endian 64-bit CPU running GNU/Linux.
 @end defvar
diff --git a/guix/platforms/loongarch.scm b/guix/platforms/loongarch.scm
new file mode 100644
index 00000000000..3c73c75ffd1
--- /dev/null
+++ b/guix/platforms/loongarch.scm
@@ -0,0 +1,30 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2024 Zheng Junjie <873216071@HIDDEN>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (guix platforms loongarch)
+  #:use-module (guix platform)
+  #:use-module (guix records)
+  #:export (loongarch64-linux))
+
+(define loongarch64-linux
+  (platform
+   (target "loongarch64-linux-gnu")
+   (system "loongarch64-linux")
+   (linux-architecture "loongarch")
+   (rust-target "loongarch64-unknown-linux-gnu")
+   (glibc-dynamic-linker "/lib/ld-linux-loongarch-lp64d.so.1")))
-- 
2.46.0





Message sent to guix@HIDDEN, dev@HIDDEN, ludo@HIDDEN, othacehe@HIDDEN, zimon.toutoune@HIDDEN, me@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#75051] [PATCH 02/14] utils: Add target-loongarch64?.
Resent-From: Zheng Junjie <873216071@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix@HIDDEN, dev@HIDDEN, ludo@HIDDEN, othacehe@HIDDEN, zimon.toutoune@HIDDEN, me@HIDDEN, guix-patches@HIDDEN
Resent-Date: Mon, 23 Dec 2024 17:09:02 +0000
Resent-Message-ID: <handler.75051.B75051.173497371329796 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75051
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75051 <at> debbugs.gnu.org
Cc: Christopher Baines <guix@HIDDEN>, Josselin Poiret <dev@HIDDEN>, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Mathieu Othacehe <othacehe@HIDDEN>, Simon Tournier <zimon.toutoune@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN>
X-Debbugs-Original-Xcc: Christopher Baines <guix@HIDDEN>, Josselin Poiret <dev@HIDDEN>, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Mathieu Othacehe <othacehe@HIDDEN>, Simon Tournier <zimon.toutoune@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN>
Received: via spool by 75051-submit <at> debbugs.gnu.org id=B75051.173497371329796
          (code B ref 75051); Mon, 23 Dec 2024 17:09:02 +0000
Received: (at 75051) by debbugs.gnu.org; 23 Dec 2024 17:08:33 +0000
Received: from localhost ([127.0.0.1]:55847 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPluy-0007kV-SD
	for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:08:33 -0500
Received: from out162-62-58-216.mail.qq.com ([162.62.58.216]:54589)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <873216071@HIDDEN>) id 1tPluw-0007kA-Jq
 for 75051 <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:08:31 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1734973702; bh=wvCDH7kdYI7H8ZAgh/sXkvqov2XvS2xGZcT/vYzhYRA=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=kOVYgL0OjSItj7EhA3LVX1Dp4nCbWegud0pPOmKQyYG7FWRBHP3harA/Apq7GQmV4
 vqfRaR9R1upPmS13loT0dLmcZ+oZfxlANNviIEFxpL25jJxfAB/l1tTwblf+aUcvK0
 4fa+OwDuWypjQlL4vjobFLBzGUib6t3R11d0rhLo=
Received: from m.tailaa68d.ts.net ([107.174.64.25])
 by newxmesmtplogicsvrszc16-0.qq.com (NewEsmtp) with SMTP
 id 20F07CA7; Tue, 24 Dec 2024 01:08:15 +0800
X-QQ-mid: xmsmtpt1734973695t8ajnxssa
Message-ID: <tencent_CBBF201DB6F2C892AE5AB7CDF554C82CE007@HIDDEN>
X-QQ-XMAILINFO: NssJ/YX50roaDmcFjBj6O7UuJvsKrbeRa1qPh789sdEZYW9cdwB0v+lhTOyYV5
 tmk6bHZQOcT/LScn2WAuJqo+WYBwZzM9HHmuqoBsobdVqyk+RJ3gWej3HC1o01LOcrvzJvJwIwZb
 xQ0hYOEdRW+WOWY+MxpTsX9+rNrDxzzbIg3uaokLimoeK4B6P2o93p1Ddyoih5w5yrTcIxXIUDcV
 TUeHC6sln01jJ7/YajkdQ4IVpm11ptxoSeSKNA+Hw4ehzV+aFswQxbyItod+3geKC1s1QSuf9uTt
 vP1zWoo6QHsHn2ts4Q6rVQaF/d6eI/rZlAfInsOtw4t10rlg9BolOHk+SzFz9dUZDBqLyJ43+Y06
 /HWGOjuPVOebtZSxDbFn4GzX5YwPIok611LoMXt50bfqcNRNgaw5Lur79KeUDNyyBJKGON+xykzd
 oGahRL4Qq3nSgSQWzD5SVu4cufw5lZ3MW9SNi4B6yI3w0I2P3LgtrqDpL/8uPjGOsCrAO+hcgGS5
 ou1p4XCYq1CWJwGLTxbuVMvmIaE+PoH59i1jt3kwlsDSHymvUX/Fk+DY4EU6wa8OVwiFk+T4GCT0
 KyXzJUk2/2wDPnoX1c9EF4/O/gpm6CLfOPfc+1f3Ab6MziCadMsvfZsuwm3jW2VM5Tbh8ZyP0I9L
 vpZjHoRSd+nIObUn9rxLpe46IIfo55ijgs/ljSbPjSKi6o9e9hFD0Zb/+scLJ9EJCyhkhWW/fQNR
 ZJ+IjNNRtiFYyutcZZ4EQWPOL/BVuUIRx6RuBxyYS4qKAitvUaJgzqxISRG8InjOqZ4rN9p5S0LA
 /PrCBb/USx9j26E6HMfCE7reluuz+fxPuE/IBWehvMzwPApVaHnpAQZY2sCOEisPYeKf8lVB7BA8
 uaO1zKOahWX/gumGApjSVMr/PlGtwiieFJV4PEs/i4kAmMl8x3ekisjEDcO2JZGowPPKuKnLDASR
 uONIuJ3IMyNCDUx4Zs0/hk3iBIpqd5h3/ksACpis0=
X-QQ-XMRINFO: Mp0Kj//9VHAxr69bL5MkOOs=
From: Zheng Junjie <873216071@HIDDEN>
Date: Tue, 24 Dec 2024 01:08:00 +0800
X-OQ-MSGID: <836b95f22ebf980093d384f94f5e25a4a56c981b.1734972657.git.873216071@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1734972657.git.873216071@HIDDEN>
References: <cover.1734972657.git.873216071@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 3.9 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: * guix/utils.scm (target-loongarch64): New procedure.
 Change-Id:
 I8d21bcf04d479937039f6f507b5460bb560fd8ec --- guix/utils.scm | 5 +++++ 1
 file changed, 5 insertions(+) diff --git a/guix/utils.scm b/guix/utils.scm
 index 537d0490e01..a07f26054d4 100644 --- a/guix/utils.scm +++
 b/guix/utils.scm
 @@ -112,6 +112,7 @@ (define-module (guix utils) target-ppc64le? target-powe
 [...] Content analysis details:   (3.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.58.216 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [162.62.58.216 listed in list.dnswl.org]
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.58.216 listed in bl.score.senderscore.com]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (873216071[at]qq.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.4 RDNS_DYNAMIC           Delivered to internal network by host with
 dynamic-looking rDNS
 3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
 addr 1)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  * guix/utils.scm (target-loongarch64): New procedure. Change-Id:
    I8d21bcf04d479937039f6f507b5460bb560fd8ec --- guix/utils.scm | 5 +++++ 1
   file changed, 5 insertions(+) diff --git a/guix/utils.scm b/guix/utils.scm
    index 537d0490e01..a07f26054d4 100644 --- a/guix/utils.scm +++ b/guix/utils.scm
    @@ -112,6 +112,7 @@ (define-module (guix utils) target-ppc64le? target-powe
    [...] 
 
 Content analysis details:   (2.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.58.216 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [162.62.58.216 listed in list.dnswl.org]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.58.216 listed in bl.score.senderscore.com]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (873216071[at]qq.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

* guix/utils.scm (target-loongarch64): New procedure.

Change-Id: I8d21bcf04d479937039f6f507b5460bb560fd8ec
---
 guix/utils.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/guix/utils.scm b/guix/utils.scm
index 537d0490e01..a07f26054d4 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -112,6 +112,7 @@ (define-module (guix utils)
             target-ppc64le?
             target-powerpc?
             target-riscv64?
+            target-loongarch64?
             target-mips64el?
             target-64bit?
             target-little-endian?
@@ -801,6 +802,10 @@ (define* (target-avr? #:optional (target (%current-target-system)))
   "Is the architecture of TARGET a variant of Microchip's AVR architecture?"
   (or (string=? target "avr") (string-prefix? "avr-" target)))
 
+(define* (target-loongarch64? #:optional (target (or (%current-target-system)
+                                                     (%current-system))))
+  (string-prefix? "loongarch64-" target))
+
 (define* (target-ppc32? #:optional (target (or (%current-target-system)
                                                (%current-system))))
   (string-prefix? "powerpc-" target))
-- 
2.46.0





Message sent to leo@HIDDEN, w@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#75051] [PATCH 03/14] gnu: Add linux-libre-headers-5.19.17.
Resent-From: Zheng Junjie <873216071@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: leo@HIDDEN, w@HIDDEN, guix-patches@HIDDEN
Resent-Date: Mon, 23 Dec 2024 17:10:02 +0000
Resent-Message-ID: <handler.75051.B75051.173497376029895 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75051
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75051 <at> debbugs.gnu.org
Cc: Leo Famulari <leo@HIDDEN>, Wilko Meyer <w@HIDDEN>
X-Debbugs-Original-Xcc: Leo Famulari <leo@HIDDEN>, Wilko Meyer <w@HIDDEN>
Received: via spool by 75051-submit <at> debbugs.gnu.org id=B75051.173497376029895
          (code B ref 75051); Mon, 23 Dec 2024 17:10:02 +0000
Received: (at 75051) by debbugs.gnu.org; 23 Dec 2024 17:09:20 +0000
Received: from localhost ([127.0.0.1]:55855 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPlvk-0007m7-A8
	for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:09:20 -0500
Received: from out162-62-57-49.mail.qq.com ([162.62.57.49]:40955)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <873216071@HIDDEN>) id 1tPlvh-0007lm-Fh
 for 75051 <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:09:18 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1734973749; bh=w9X6Zyl/TxgOb0addpIF8YhqPDqUJ1LXodc6FJESsJE=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=pWKXnx2YxyoStXay76zE7ObThUUAiBhMlE7DAiqNZyiB6chb6F3p2bcNrzUUYRE3r
 xk7RqeFHtEW60tvYmzFeSWTWequww+yM0vg3OfUhE/DlPyh/7C+i9GV+9AhpmrChny
 31Y4iQlM27tSsGCrYEtD+blauIZFMOc7zrbigbCo=
Received: from m.tailaa68d.ts.net ([107.174.64.25])
 by newxmesmtplogicsvrszc13-0.qq.com (NewEsmtp) with SMTP
 id 2412085D; Tue, 24 Dec 2024 01:09:01 +0800
X-QQ-mid: xmsmtpt1734973741t32vny5c5
Message-ID: <tencent_5E943B94F4D5A66F56A4566745FFADEBF00A@HIDDEN>
X-QQ-XMAILINFO: MAuNUVf8wtPHwBa7q0+oOC/vKyfVCZW69RzrdGJPYL/o4O0YRw3OCCmhO2B9YT
 zRzghAtyJSJP8N53wcepjaqfpFaM8fyr09sgZ9/40gZif3Qz2/mwgu/UYRYMJnG6Xbyv+Kw1Ecj1
 31Kg9VetD07zfaOC0iHRZ742iST5i25zD+Bhx2Y0bP9dNtf1vUXr6+HwtCT0d8xomcSWfvSTVa8x
 PqDf87dbqdEZ2qvgCDm+956GOyBR6sOUIU6JXgj4/xugl6Isq2z4XwG0Y/nqjVRtaytbFuHbR1D5
 YM+rA+Yn+kl9pgHNUDlTOudY2pKg7JO+Z3UDDgZzWMRMTY7niwUFrUERqbfwPQm54c5bkKzF4P5+
 w0Fa9MliqEKUU51vHESz575IZWwmHofSr3oHzF8dharZVoQj6cUXS3KSTgpmoNoSA1rrdRhLIvWw
 71PfTWIG5qazCNG/lpce/zPu9+G86w1MlpxuIk5NOMw2BDiU5f2jafaTG3zDIyheYl9vUHPNVlDs
 JqVWTtFk/WbyyUOrDrD6VGTn2t4HIGUcmLvHdJcbkWlj009okY+a+QQhn0ckc1XQ2jmTSW7uUOUQ
 BlNxrRA3mhEUuXMhwTtFjg6bsLF5dxmLBTC1h9VsaVVXoPsY1wzeKWogxeg0RSN0lPn76iCdHEbq
 b0aZrmYfMpW1vt+JI1srJ6Gg6TL9G0795+5LLUwr7U8ByhKy0g+oxFtsCMJ14lgygukrR38kYgwt
 QZHJK8KIpaE99p3PYdBN/uCOEIjOBuH2xYntrUMzTbrcMHEOlC863TDJjc/Q5cXPPkRFCmF0nhPn
 RFqapYbwpRsunUph4vwcPXM1SKOk48h0IScpINqVRihri8fO7jUw4FMgduAKcfV+1+knpyy+Jkgo
 kSRu4ufi20RHfyjYj8u2Dk/sBJxT6DLHy3MLzesL+kPZs1/rAwBA/2kZHl1ysQ2LalahmCN2KEn1
 jAzcAa2lHk8+zA02/9ZxBAjKxcBwVeQ9ycGDz5jsE=
X-QQ-XMRINFO: NyFYKkN4Ny6FSmKK/uo/jdU=
From: Zheng Junjie <873216071@HIDDEN>
Date: Tue, 24 Dec 2024 01:08:47 +0800
X-OQ-MSGID: <24db1b3a3cdac616c90c3ae1f6f9fa83b39ec021.1734972657.git.873216071@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1734972657.git.873216071@HIDDEN>
References: <cover.1734972657.git.873216071@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 3.9 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  linux 5.19 include loongarch support,
 so add it. * gnu/packages/linux.scm
 (linux-libre-headers-5.19.17): New variable. Change-Id:
 Iddd930c1f7243f5307bec75c41f70d5ff5bbd531
 --- gnu/packages/linux.scm | 5 +++++ 1 file changed, 5 insertions(+) 
 Content analysis details:   (3.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.49 listed in sa-accredit.habeas.com]
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.49 listed in bl.score.senderscore.com]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (873216071[at]qq.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [162.62.57.49 listed in list.dnswl.org]
 0.4 RDNS_DYNAMIC           Delivered to internal network by host with
 dynamic-looking rDNS
 3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
 addr 1)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  linux 5.19 include loongarch support, so add it. * gnu/packages/linux.scm
    (linux-libre-headers-5.19.17): New variable. Change-Id: Iddd930c1f7243f5307bec75c41f70d5ff5bbd531
    --- gnu/packages/linux.scm | 5 +++++ 1 file changed, 5 insertions(+) 
 
 Content analysis details:   (2.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.49 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [162.62.57.49 listed in list.dnswl.org]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.49 listed in bl.score.senderscore.com]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (873216071[at]qq.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

linux 5.19 include loongarch support, so add it.

* gnu/packages/linux.scm (linux-libre-headers-5.19.17): New variable.

Change-Id: Iddd930c1f7243f5307bec75c41f70d5ff5bbd531
---
 gnu/packages/linux.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 78d3d737b59..c3d9aa429d2 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -818,6 +818,11 @@ (define-public linux-libre-headers-5.15.49
   (make-linux-libre-headers "5.15.49" "gnu"
                             "13zqdcm4664vh7g57sxbfrlpsxm7zrma72mxdfdz7d9yndy2gfv8"))
 
+;; linux 5.19 include loongarch support.
+(define-public linux-libre-headers-5.19.17
+  (make-linux-libre-headers "5.19.17" "gnu"
+                            "0m1yabfvaanbzv0ip04r4kvs16aq0pp2dk93xzi5cq18i3vw351m"))
+
 (define-public linux-libre-headers linux-libre-headers-5.15.49)
 ;; linux-libre-headers-latest points to the latest headers package
 ;; and should be used as a dependency for packages that depend on
-- 
2.46.0





Message sent to andreas@HIDDEN, janneke@HIDDEN, ludo@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#75051] [PATCH 04/14] gnu: cross-base: Add cross-compiling support for loongarch64.
Resent-From: Zheng Junjie <873216071@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: andreas@HIDDEN, janneke@HIDDEN, ludo@HIDDEN, guix-patches@HIDDEN
Resent-Date: Mon, 23 Dec 2024 17:12:02 +0000
Resent-Message-ID: <handler.75051.B75051.173497386530456 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75051
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75051 <at> debbugs.gnu.org
Cc: Andreas Enge <andreas@HIDDEN>, Janneke Nieuwenhuizen <janneke@HIDDEN>, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
X-Debbugs-Original-Xcc: Andreas Enge <andreas@HIDDEN>, Janneke Nieuwenhuizen <janneke@HIDDEN>, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Received: via spool by 75051-submit <at> debbugs.gnu.org id=B75051.173497386530456
          (code B ref 75051); Mon, 23 Dec 2024 17:12:02 +0000
Received: (at 75051) by debbugs.gnu.org; 23 Dec 2024 17:11:05 +0000
Received: from localhost ([127.0.0.1]:55865 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPlxQ-0007vA-QU
	for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:11:05 -0500
Received: from out162-62-57-252.mail.qq.com ([162.62.57.252]:56679)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <873216071@HIDDEN>) id 1tPlxN-0007ue-W4
 for 75051 <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:11:03 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1734973854; bh=DDNV53HXH0bvNDPNe8HPA/bLxXDXaIvfzGbc6+tS1XU=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=w1RoEdW8BoMfBZR44Osa1oDwFh+4LPWuxwhsCTkK93/qdC13jG1GacYZOCjdtoEGT
 Qh1VQMNEd6eiQg9fC9t4ml3SPWhd3SOgy4X3uNyRd0qNhoAaLEv7SIlNceakZCnjph
 /hXmQGv6P/+0U/D/jP5P2ssdRTfhBrFXh1iKLqmg=
Received: from m.tailaa68d.ts.net ([107.174.64.25])
 by newxmesmtplogicsvrsza36-0.qq.com (NewEsmtp) with SMTP
 id 2AC18064; Tue, 24 Dec 2024 01:10:44 +0800
X-QQ-mid: xmsmtpt1734973844ts7yn6vp3
Message-ID: <tencent_D6A4DA6409FD55E9DC9537958CD6626D820A@HIDDEN>
X-QQ-XMAILINFO: N/WmRbclY25GK62OQFrB/2W0BXCqicDlhK9iPTaszYQoEXwpOLY2wcem4LKkNv
 fSAQep1yuVE0aM9n7737+5hGmoKFiHf+m59evzTEKS+4wm2I+qFEcXdKS1qzEU6Pvt2OMkSmfOE1
 awgaE9LpMSNpULOPrqUWaVREfE0KUVsTF1NGRI2gTxWzJOyLi4S3kVAkyjWizPVKIk3LOmDsFcai
 lqz2yx9uC3uA0YStKzLnURjnVcbkyt/ShFekqJEpEWGU6tq4KSoLr1R9849Yn/08xnhpbAULMIiA
 M0nC3u5fIU2Q33Al2hb1r4w1xxzxsOv6kuZzyWjucV0cjBcfxRLxzjeGQK/bPyK/h/gB4y8xkkfN
 cHY396NDRgD1abkQjlScdT1LjIu5tPTh0oEPfFrz7YnEHiQl7bL4BvP+/M32hwHTU6UNWK3yh/fQ
 JOGqqGFiUBKlXhTaznBY+qX58BmeN2h6Aj/J5hc27jiAI7wFkvaZsXu0wVFqQi7T9Xp19IM3YxAM
 sRZ0kaPCCg9ZkygZxZIT++6kBJNoYmtRMFTCQoDNROu407DnnyX9Wd1fTeieoQbbRiZO46UV7xgG
 QvfaVxfksDE5gdD29kpKgIGiGMQ8vPuujdn46+GiThhZS5lkrTcH5CeQ8fwGDQc7APLMI/QNh76i
 a7jdsw34rIKC6PRRmrfBs/Et35usGXEqxyDj07PPh0fbMv5ue8U47rLgxGnWvrQkiblKaxxZo1II
 Aj+x8zSL1JoEsQlU0r5vGhjWaflUzoJXkY5Uu9IQuvTKOOdKWCg/MCYCqQZGJBn1cmifiPww8nNH
 UKA5uRazpY44Xgf0AqyIaR0djaxKaM7kq9HEfhoM3WmYYlt1Qf6KIvVYA06aOmZTLwFLL+1auMqy
 MD4w4herN1RVhaPyQOlUleo6BPpVC2IjEQOaKQ3fVySl4NvtRH86cjpeSxfzqO/H+eRborO/DnGI
 iCSWySxp5F+bzqtqOkGlsv6F+SXNVWE0Ch9G/Vb74=
X-QQ-XMRINFO: OWPUhxQsoeAVDbp3OJHYyFg=
From: Zheng Junjie <873216071@HIDDEN>
Date: Tue, 24 Dec 2024 01:10:43 +0800
X-OQ-MSGID: <5102857426b19a4f23e93270dc3e46bcf66f5e9a.1734972657.git.873216071@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1734972657.git.873216071@HIDDEN>
References: <cover.1734972657.git.873216071@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 3.9 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: gnu/packages/cross-base.scm (cross-kernel-headers/deprecated,
 cross-kernel-headers*): When target loongarch64,
 use linux-libre-headers-5.19.17.
 Change-Id: Ib144ebf86428dddd92f5b899dc241a428f8dc374 ---
 gnu/packages/cross-base.scm
 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 
 Content analysis details:   (3.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [162.62.57.252 listed in list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (873216071[at]qq.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.252 listed in sa-trusted.bondedsender.org]
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.252 listed in bl.score.senderscore.com]
 0.4 RDNS_DYNAMIC           Delivered to internal network by host with
 dynamic-looking rDNS
 3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
 addr 1)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  gnu/packages/cross-base.scm (cross-kernel-headers/deprecated,
    cross-kernel-headers*): When target loongarch64, use linux-libre-headers-5.19.17.
    Change-Id: Ib144ebf86428dddd92f5b899dc241a428f8dc374 --- gnu/packages/cross-base.scm
    | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 
 
 Content analysis details:   (2.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.252 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [162.62.57.252 listed in list.dnswl.org]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.252 listed in bl.score.senderscore.com]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (873216071[at]qq.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

gnu/packages/cross-base.scm (cross-kernel-headers/deprecated,
cross-kernel-headers*): When target loongarch64, use
linux-libre-headers-5.19.17.

Change-Id: Ib144ebf86428dddd92f5b899dc241a428f8dc374
---
 gnu/packages/cross-base.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index ad3616eaba0..a4e9c2a9cb1 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -418,7 +418,10 @@ (define* (cross-kernel-headers . args)
 
 (define* (cross-kernel-headers/deprecated target
                                           #:optional
-                                          (linux-headers linux-libre-headers)
+                                          (linux-headers
+                                           (if (target-loongarch64? target)
+                                               linux-libre-headers-5.19.17
+                                               linux-libre-headers))
                                           (xgcc (cross-gcc target))
                                           (xbinutils (cross-binutils target)))
   (warning (G_ "'cross-kernel-headers' must be used with keyword arguments~%"))
@@ -493,7 +496,9 @@ (define* (cross-mig target
 
 (define* (cross-kernel-headers* target
                                 #:key
-                                (linux-headers linux-libre-headers)
+                                (linux-headers (if (target-loongarch64? target)
+                                                   linux-libre-headers-5.19.17
+                                                   linux-libre-headers))
                                 (xgcc (cross-gcc target))
                                 (xbinutils (cross-binutils target)))
   "Return headers depending on TARGET."
-- 
2.46.0





Message sent to andreas@HIDDEN, janneke@HIDDEN, ludo@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#75051] [PATCH 05/14] gnu: %glibc-stripped: Fix cross-compiling to loongarch64.
Resent-From: Zheng Junjie <873216071@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: andreas@HIDDEN, janneke@HIDDEN, ludo@HIDDEN, guix-patches@HIDDEN
Resent-Date: Mon, 23 Dec 2024 17:12:03 +0000
Resent-Message-ID: <handler.75051.B75051.173497389130500 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75051
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75051 <at> debbugs.gnu.org
Cc: Andreas Enge <andreas@HIDDEN>, Janneke Nieuwenhuizen <janneke@HIDDEN>, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
X-Debbugs-Original-Xcc: Andreas Enge <andreas@HIDDEN>, Janneke Nieuwenhuizen <janneke@HIDDEN>, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Received: via spool by 75051-submit <at> debbugs.gnu.org id=B75051.173497389130500
          (code B ref 75051); Mon, 23 Dec 2024 17:12:03 +0000
Received: (at 75051) by debbugs.gnu.org; 23 Dec 2024 17:11:31 +0000
Received: from localhost ([127.0.0.1]:55868 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPlxr-0007vr-9P
	for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:11:31 -0500
Received: from out162-62-58-216.mail.qq.com ([162.62.58.216]:42675)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <873216071@HIDDEN>) id 1tPlxo-0007vb-14
 for 75051 <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:11:29 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1734973881; bh=yH69AINeqqTd1rBHxEhfNaHYMIPDT+iy1xECWk1pyBs=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=JMv0q+O5lQZaJWxJ3aI+s9CjR0w8K/mjfiMa77RGNfG87dV8Nq4EQrtM98rDEVye0
 klZdset5fwhLEXe9Oq77hVXaq154M8Ibuc4tdJyQQevJE5RS+cp9jsnCw6C5H0+CiV
 xHmNMkMDjee2q2GyPekJFshIjWqH4plpTa1lSC2o=
Received: from m.tailaa68d.ts.net ([240e:391:ebb:8120:ac72:f386:b183:419a])
 by newxmesmtplogicsvrszc25-0.qq.com (NewEsmtp) with SMTP
 id 2D3B6E11; Tue, 24 Dec 2024 01:11:19 +0800
X-QQ-mid: xmsmtpt1734973879taenjqy8l
Message-ID: <tencent_256678AA6096D25FA58E7B7954C951ADC006@HIDDEN>
X-QQ-XMAILINFO: M2SvzgchpLqfeFdTxlfA+Q80GCbqCjjEltANq20IeCcymGRw2voU9N4GC2/65P
 bVH/pDUfS8sMDGDINHmWGeiek8v8eKBQg83tYOw6F3dzBut+Nx+FAqANFbxLJFb+HVwJFo/sSfaA
 S1y1JqZBkl2CilwditN5Q3LnN0w7wr5w4hqX9oRL72mAhnVlj6j+/W9RCSWzzQqSTnTb6fg98G8l
 GYjsGnLwVFFx25/chJGPHiw35rBcNS0oPvkagYTnH/Dq0qOY9h9qF6D+xDyjPptneXcy8xax7rD8
 6vv/BSy4Jte832sZM+qhC8hwNCeifNhN+JJeq6ZGrL96LMeDO6g4ZNq6xZhUNyzvBCPoOA080rTl
 RkZoTkh63OMxKUSYvcyRYe4A7Xq9jMyE6ee0z/ZkM/e0vOe3uYuokBGsopj6U2bmODBk1VSeEPPs
 oMD6a7vEmNF4OD9qMdMpKxyf0118Dyep0Bm7k7mLSNVs2K6oB2gNyM3Pu9CUA4hOn/nY08ugr742
 vGrgJQUaTBJbvdCW2vr+QBf5sMzFkFGPvSjwIFXzQKYaACPKg8pFJ30RQpDQhcdqdiDInhSWOvKE
 hCHNtFE6ADiApD36xVsJ9+fVxOkM8AjwAW1tz4ajPh9wJ77RbWfs8iVTRjVLliNLRgLEc2SzCydB
 XS16njgOmeYhI2gRZ2cRLS3mPJKPfgwkSosYcRXIsu/MzKp0WTC5BK1+aqb8xWXsRzF7OXFpcYsD
 xcGA6siv+bDx+4o5q6epHH87Q1Wgzs7QI9QRiziYbaRuLOeJiXr/GeelTYqBDDwtbQ5O0b/cEGfh
 McO/jIX9hARHbG1MjvOTgmFO++IcvK+CqVVc4WAkuQcaXezV7z4LonXI0C80+D+EvCdj6oF9fjV7
 3BT21frYU3xiafIHrz2bihdEunaDsDR5+v1xGLzLWA7HAaneaPcw9lvrWNuHRkPnFqv9W8NVIbXT
 JetBnmHBdDPjA0dcIQAKR/qlxydftp
X-QQ-XMRINFO: NyFYKkN4Ny6FSmKK/uo/jdU=
From: Zheng Junjie <873216071@HIDDEN>
Date: Tue, 24 Dec 2024 01:11:09 +0800
X-OQ-MSGID: <d8aa0b1e96a4938dec307adc555a27faa75da49e.1734972657.git.873216071@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1734972657.git.873216071@HIDDEN>
References: <cover.1734972657.git.873216071@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 3.9 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  gnu/packages/make-bootstrap.scm (%glibc-stripped)[inputs]:
 When target loongarch64,
 Use linux-libre-headers-5.19.17. Change-Id:
 I4b2b9168aa3716445d1b88b4db3dcf4ad038a45d
 --- gnu/packages/make-bootstrap.scm | 7 ++++--- 1 file changed, 4 insertions(+),
 3 deletions(-) 
 Content analysis details:   (3.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [162.62.58.216 listed in list.dnswl.org]
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.58.216 listed in sa-accredit.habeas.com]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (873216071[at]qq.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.58.216 listed in bl.score.senderscore.com]
 0.4 RDNS_DYNAMIC           Delivered to internal network by host with
 dynamic-looking rDNS
 3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
 addr 1)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  gnu/packages/make-bootstrap.scm (%glibc-stripped)[inputs]:
    When target loongarch64, Use linux-libre-headers-5.19.17. Change-Id: I4b2b9168aa3716445d1b88b4db3dcf4ad038a45d
    --- gnu/packages/make-bootstrap.scm | 7 ++++--- 1 file changed, 4 insertions(+),
    3 deletions(-) 
 
 Content analysis details:   (2.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.58.216 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [162.62.58.216 listed in list.dnswl.org]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.58.216 listed in bl.score.senderscore.com]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (873216071[at]qq.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

gnu/packages/make-bootstrap.scm (%glibc-stripped)[inputs]: When target
loongarch64, Use linux-libre-headers-5.19.17.

Change-Id: I4b2b9168aa3716445d1b88b4db3dcf4ad038a45d
---
 gnu/packages/make-bootstrap.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index 59c117f2260..adbd2f4ef70 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -475,11 +475,12 @@ (define (%glibc-stripped)
                         glibc)))))
       (inputs
        `(("kernel-headers"
-          ,(if (or (and (%current-target-system)
+          ,(cond ((or (and (%current-target-system)
                         (target-hurd? (%current-target-system)))
                    (string-suffix? "-hurd" (%current-system)))
-               gnumach-headers
-               linux-libre-headers))))
+                  gnumach-headers)
+                 ((target-loongarch64?) linux-libre-headers-5.19.17)
+                 (else linux-libre-headers)))))
       (propagated-inputs '())
 
       ;; Only one output.
-- 
2.46.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#75051] [PATCH 06/14] gnu: openssl: Support loongarch64.
Resent-From: Zheng Junjie <873216071@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 23 Dec 2024 17:13:01 +0000
Resent-Message-ID: <handler.75051.B75051.173497395630636 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75051
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75051 <at> debbugs.gnu.org
Received: via spool by 75051-submit <at> debbugs.gnu.org id=B75051.173497395630636
          (code B ref 75051); Mon, 23 Dec 2024 17:13:01 +0000
Received: (at 75051) by debbugs.gnu.org; 23 Dec 2024 17:12:36 +0000
Received: from localhost ([127.0.0.1]:55877 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPlyt-0007y3-N9
	for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:12:36 -0500
Received: from out162-62-58-211.mail.qq.com ([162.62.58.211]:44347)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <873216071@HIDDEN>) id 1tPlyr-0007xn-22
 for 75051 <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:12:34 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1734973944; bh=nrwYVdY7h3e5WkAVFP4yiYnQkvm5XrKhrfU1TJ7Rf/Q=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=KFgj5H18LUg9b4Cloe1j/ZCcxEa/SgCj3xhNMpPb3v6A53dUnADtHShu/tgmtIL0H
 sdGphcrC5N9RSfJBKVA7VjkSbCFl39ANq7jn05GCG2vJaAUWh2ksmxQkw+ITubS8Nx
 yAXCp5zyXeqDN2M10uRquAiKM+VWW9sOzXmpzG+Q=
Received: from m.tailaa68d.ts.net ([240e:391:ebb:8120:ac72:f386:b183:419a])
 by newxmesmtplogicsvrszgpua5-1.qq.com (NewEsmtp) with SMTP
 id 31792E0E; Tue, 24 Dec 2024 01:12:23 +0800
X-QQ-mid: xmsmtpt1734973943tf9sjr251
Message-ID: <tencent_29D6D65FB68E6BB9660942ADC4E676AA6006@HIDDEN>
X-QQ-XMAILINFO: MhK4DKsBP06iUVjU2i5XO2SLx4q+WmONHQyzcYCo4k+XbykfI3ck4aEKoN7QzM
 99g5ssAjAcqldCXhRo+N+RU71JiI4GKnwRikypT1V7EhmXmEJbrAOHVos83NEocaco9GHRUYa6M2
 +Kw9yHW6Bx6GrJEvWeJ+v8PYEQaNndOBMWuh+YNmVUoLibtOteZizb4PWhrMdMIl60dM/Y7ANeFD
 rN9DV8ttggcR0QxuyvF+ABqoSgQa9jHBp5uqdJBKgF0p6hrY3Ya/qvDFEY5lTJOMKePqnbzMakLE
 3+3eMepfOK1YJfQALKvWC2jn+43ZFfGO0TLvfOUG5HX7SkXw4W6MhrlNIedbhiru37JU/2eEqUmj
 jM61bsmoAz28hHV1iMFS4AMtrgPCs4jDHqor3bR8147ZZybagNzSUz8tU7o7dH0eZ930ohYLRy+B
 hFLOfC7l+vPRxuu+0HbWcpdhqxsbRWC20wCFHCWLnZN0a0HTGwmQf9Pzyz7QLZ8h4yCR1VQNJjmj
 3Po6moxtxTSjz7+SNbrvqIsMzx4K0nPIppAnREf9yUFwdqJx1WyqrwNrGOf3dJf0pQp1q14FHh5j
 P8MmsmIis/1ZUJPbdUfs/4J5BohCNI7AfjOEdoZW9pMRj5LiLz4PDKuHKKMNmh3HxIZZCN9b8JoQ
 Ccqz1cppHH6bRDZ8ndmP0aJfSA8sHXkXJ3CztTFnY65EGHNlhColgYXB/rSr3ig41B7YhTyy0JzJ
 4PLzZ9kuKT1069gDDt58Ahl2CBjBa1wP3RViSjsTN0cd/voMWgo64sz/b4SQvKty45uf/qSqvdBI
 dHd1Ja/LlRNN5j2qkZ1lMPzVCK+rZPGBaCIqGruZKEsFgCzTbcnJjLWJESG8+8y8ctYuhKU3I6Ls
 yp46dd1/gxDfs4Ygd1pQIGyR21YVjgsFVylfRoRZ9XXqCK346Ecweyzu9NNq2GsnyMQeZUgg+ub4
 yCUGXfJnhwQTPaIGXFgBmSpR2eiF7ecrr+r+cV0oo9co09MCaAx8Dn6QQHU62f
X-QQ-XMRINFO: NS+P29fieYNw95Bth2bWPxk=
From: Zheng Junjie <873216071@HIDDEN>
Date: Tue, 24 Dec 2024 01:12:14 +0800
X-OQ-MSGID: <51194393178a7b79a6922a18532c4666415eca3d.1734972657.git.873216071@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1734972657.git.873216071@HIDDEN>
References: <cover.1734972657.git.873216071@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 3.9 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  * gnu/packages/tls.scm (target->openssl-target,
 target->openssl-target):
 Add loongarch64 case. Change-Id: Ie85b4e1f39650f6134c9b5c4c81e0d5f83068558
 --- gnu/packages/tls.scm | 5 ++++- 1 file changed, 4 insertions(+),
 1 deletion(-)
 Content analysis details:   (3.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.58.211 listed in sa-trusted.bondedsender.org]
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.58.211 listed in bl.score.senderscore.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [162.62.58.211 listed in list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (873216071[at]qq.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.4 RDNS_DYNAMIC           Delivered to internal network by host with
 dynamic-looking rDNS
 3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
 addr 1)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  * gnu/packages/tls.scm (target->openssl-target, target->openssl-target):
    Add loongarch64 case. Change-Id: Ie85b4e1f39650f6134c9b5c4c81e0d5f83068558
    --- gnu/packages/tls.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
    
 
 Content analysis details:   (2.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.58.211 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [162.62.58.211 listed in list.dnswl.org]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.58.211 listed in bl.score.senderscore.com]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (873216071[at]qq.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

* gnu/packages/tls.scm (target->openssl-target, target->openssl-target): Add
loongarch64 case.

Change-Id: Ie85b4e1f39650f6134c9b5c4c81e0d5f83068558
---
 gnu/packages/tls.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 5f3bc72f6e2..cde5316cf43 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -397,7 +397,8 @@ (define (target->openssl-target pkg target)
              (cond ((target-hurd? target)
                     "hurd")
                    ((and (target-linux? target)
-                         (target-riscv64? target))
+                         (or (target-riscv64? target)
+                             (target-loongarch64? target)))
                     "linux64")
                    ((target-linux? target)
                     "linux")
@@ -427,6 +428,8 @@ (define (target->openssl-target pkg target)
               ((and (target-powerpc? target)
                     (target-64bit? target))
                "ppc64")
+              ((target-loongarch64? target)
+               "loongarch64")
               ((target-riscv64? target)
                "riscv64")
               ((target-64bit? target)
-- 
2.46.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#75051] [PATCH 07/14] gnu: readline: Fix cross-compiling to loongarch64.
Resent-From: Zheng Junjie <873216071@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 23 Dec 2024 17:14:01 +0000
Resent-Message-ID: <handler.75051.B75051.173497398330704 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75051
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75051 <at> debbugs.gnu.org
Received: via spool by 75051-submit <at> debbugs.gnu.org id=B75051.173497398330704
          (code B ref 75051); Mon, 23 Dec 2024 17:14:01 +0000
Received: (at 75051) by debbugs.gnu.org; 23 Dec 2024 17:13:03 +0000
Received: from localhost ([127.0.0.1]:55881 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPlzK-0007yz-9Z
	for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:13:02 -0500
Received: from out162-62-57-252.mail.qq.com ([162.62.57.252]:51791)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <873216071@HIDDEN>) id 1tPlzH-0007yT-EH
 for 75051 <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:13:01 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1734973972; bh=LOlqv2vg6Mu6JpY5J5wSYG+U3/Ai0dGn6whE6QEfb0s=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=t6dCV8uSpcgbCgNa8eeLMAyuKZihsJluQJp3MGaRJTrqb4BF32XvWYMdCCrE8IxYF
 ih6OGHvH4jXk3IR9n+ZL9T74baHj20XMagTpxJ2JY6WLS8trQoO+OuUmV+O9MEiJra
 8wvaf6/plcH5iorVFCc18VOyCnks7uz6MA+3jcJQ=
Received: from m.tailaa68d.ts.net ([240e:391:ebb:8120:ac72:f386:b183:419a])
 by newxmesmtplogicsvrszb21-0.qq.com (NewEsmtp) with SMTP
 id 3332465E; Tue, 24 Dec 2024 01:12:51 +0800
X-QQ-mid: xmsmtpt1734973971tm3eicgrb
Message-ID: <tencent_49ACC23F259DD472A492C75A874DB254F707@HIDDEN>
X-QQ-XMAILINFO: OOO9dHjlsLs77ZUwHSqZJQL0QzOFfXVgyCDk7sgmVI9KGp1x5ouHl4g58iyRdV
 2Vs7w9LeuHn7KeQ0OR4YcypCe7jMoaUgNMAJEIBFFpzhsC+wK/PFv9E8qXfrdSYRrabMr6XaxLr+
 DwY68Y+WdF88WnnrRPRIu6LKaIHJQERQ7t+lKUAJoQ16p1y5U4jZnlNYggXyI4mUQWnCnyweT0LO
 HAjm4VrvsthKvZgfbA5cuhPx4OtBGS52mDSxBFi0ytiI6QYVISErpBrX/icHOd+/50H6raFkS7KM
 ZTWpM7wYesYDSzsOtqIL9hAS9Gy99LR2MceN+CLYhbyJS/OhKpx+q0GP3PhZ8uaplnsEINwPQqsg
 aGQkckBhfd71R+nfp+WosNR7cCRQbKFNRCM2nPuBx0TAvxLRZMFU9lgVONlcw6UyeXNWGbo+t88M
 ocV7E9MNb7wnjbNRaOu9lAWRmfAvXJYJ6BLJn36gtEcGJtB2pqAnVdbfFvJgggrcYNnjgo7lSed/
 1mpiSLC05r9PsAiFawhCZMQne0beNGcdQNTTxBr2riqARMKT/YsFt/EZBlfUlH4m1Cq0TvX1wF0Y
 lWJCQtASe6hJcAG1lLIDikiF4IUh19zh4ISiZxRTbm+eMHLfyVFBzkIi2uKTeAmLACOzZHqPQzZD
 iDVY0wHiD+jxHrvcAo34d1QUPrrxcgU6Fxhdr3z6YqmMOg46Cdfu+B9pLAT3bWIN2WA7AyvwGkPR
 ea81h0Txgo5kdyh6mbeQ9LHiWG86Hv3jObeWajfBrjtjhLXHlVY/cQtcrM30FsMXAo6j9F6zWWLW
 rOgWklR9IuT/XW+Unpzb/qv7nopoKuG7MAPILla38TcVTzd+xwGDuTSlTVoJtDsQhzLkCLXnm7is
 5PrduFd2DGKWGkbtbqgra9Ih0+xqzNn0YcdwIMs6/SgNI/fgYn28DI4ROlINEseyEejg/bNZiY8d
 OEyjh5yxWC+Qiyug9jl2AcdPaGAI32FMTAq3QxjqVigP9mfHXw0A==
X-QQ-XMRINFO: M/715EihBoGSf6IYSX1iLFg=
From: Zheng Junjie <873216071@HIDDEN>
Date: Tue, 24 Dec 2024 01:12:50 +0800
X-OQ-MSGID: <ad6122c3c6b365194ec604286c7ceb3341462473.1734972657.git.873216071@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1734972657.git.873216071@HIDDEN>
References: <cover.1734972657.git.873216071@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 3.9 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: * gnu/packages/readline.scm (readline)[arguments]: When
 cross-compiling to loongarch64,
 Add update-config-scripts phase. [native-inputs]: When cross-compiling
 to loongarch64,
 Add config. Change-Id: Ie369d53c7f2493a7a65fe592a3671719dee264c0
 --- gnu/packages/readline.scm | 61 +++++++++++++++++++++++++ 1 file changed,
 40 insertions(+), 21 deletions(-) 
 Content analysis details:   (3.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [162.62.57.252 listed in list.dnswl.org]
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.252 listed in bl.score.senderscore.com]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (873216071[at]qq.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.252 listed in sa-trusted.bondedsender.org]
 0.4 RDNS_DYNAMIC           Delivered to internal network by host with
 dynamic-looking rDNS
 3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
 addr 1)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  * gnu/packages/readline.scm (readline)[arguments]: When cross-compiling
    to loongarch64, Add update-config-scripts phase. [native-inputs]: When cross-compiling
    to loongarch64, Add config. Change-Id: Ie369d53c7f2493a7a65fe592a3671719dee264c0
    --- gnu/packages/readline.scm | 61 +++++++++++++++++++++++++ 1 file changed,
    40 insertions(+), 21 deletions(-) 
 
 Content analysis details:   (2.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.252 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [162.62.57.252 listed in list.dnswl.org]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.252 listed in bl.score.senderscore.com]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (873216071[at]qq.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

* gnu/packages/readline.scm (readline)[arguments]: When cross-compiling to
loongarch64, Add update-config-scripts phase.
[native-inputs]: When cross-compiling to loongarch64, Add config.

Change-Id: Ie369d53c7f2493a7a65fe592a3671719dee264c0
---
 gnu/packages/readline.scm | 61 +++++++++++++++++++++++++--------------
 1 file changed, 40 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/readline.scm b/gnu/packages/readline.scm
index 8200a24f1a1..c19c7326497 100644
--- a/gnu/packages/readline.scm
+++ b/gnu/packages/readline.scm
@@ -82,29 +82,48 @@ (define-public readline
     (build-system gnu-build-system)
     (propagated-inputs (list ncurses))
     (arguments
-     (list #:configure-flags
-           #~(list (string-append
-                    "LDFLAGS=-Wl,-rpath -Wl,"
-                    (dirname (search-input-file %build-inputs
-                                                "lib/libncurses.so")))
+     (append
+      (if (and (target-loongarch64?)
+               (%current-target-system))
+          (list #:phases
+                #~(modify-phases %standard-phases
+                    (add-after 'unpack 'update-config-scripts
+                      (lambda* (#:key inputs native-inputs #:allow-other-keys)
+                        ;; Replace outdated config.guess and config.sub.
+                        (for-each (lambda (file)
+                                    (install-file
+                                     (search-input-file
+                                      (or native-inputs inputs)
+                                      (string-append "/bin/" file)) "./support"))
+                                  '("config.guess" "config.sub"))))))
+          '())
+      (list #:configure-flags
+            #~(list (string-append
+                     "LDFLAGS=-Wl,-rpath -Wl,"
+                     (dirname (search-input-file %build-inputs
+                                                 "lib/libncurses.so")))
 
-                   ;; This test does an 'AC_TRY_RUN', which aborts when
-                   ;; cross-compiling, so provide the correct answer.
-                   #$@(if (%current-target-system)
-                          '("bash_cv_wcwidth_broken=no")
-                          '())
-                   ;; MinGW: ncurses provides the termcap api.
-                   #$@(if (target-mingw?)
-                          '("bash_cv_termcap_lib=ncurses")
-                          '()))
+                    ;; This test does an 'AC_TRY_RUN', which aborts when
+                    ;; cross-compiling, so provide the correct answer.
+                    #$@(if (%current-target-system)
+                           '("bash_cv_wcwidth_broken=no")
+                           '())
+                    ;; MinGW: ncurses provides the termcap api.
+                    #$@(if (target-mingw?)
+                           '("bash_cv_termcap_lib=ncurses")
+                           '()))
 
-           #:make-flags
-           (if (target-mingw?)
-               ;; MinGW: termcap in ncurses
-               ;; some SIG_* #defined in _POSIX
-               #~'("TERMCAP_LIB=-lncurses"
-                   "CPPFLAGS=-D_POSIX -D'chown(f,o,g)=0'")
-               #~'())))
+            #:make-flags
+            (if (target-mingw?)
+                ;; MinGW: termcap in ncurses
+                ;; some SIG_* #defined in _POSIX
+                #~'("TERMCAP_LIB=-lncurses"
+                    "CPPFLAGS=-D_POSIX -D'chown(f,o,g)=0'")
+                #~'()))))
+    (native-inputs (if (and (target-loongarch64?)
+                            (%current-target-system))
+                       (list config)
+                       '()))
     (synopsis "Edit command lines while typing, with history support")
     (description
      "The GNU readline library allows users to edit command lines as they
-- 
2.46.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#75051] [PATCH 08/14] gnu: gdbm: Fix cross-compiling to loongarch64.
Resent-From: Zheng Junjie <873216071@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 23 Dec 2024 17:14:02 +0000
Resent-Message-ID: <handler.75051.B75051.173497399230733 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75051
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75051 <at> debbugs.gnu.org
Received: via spool by 75051-submit <at> debbugs.gnu.org id=B75051.173497399230733
          (code B ref 75051); Mon, 23 Dec 2024 17:14:02 +0000
Received: (at 75051) by debbugs.gnu.org; 23 Dec 2024 17:13:12 +0000
Received: from localhost ([127.0.0.1]:55884 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPlzT-0007zc-Vg
	for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:13:12 -0500
Received: from out162-62-57-252.mail.qq.com ([162.62.57.252]:34545)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <873216071@HIDDEN>) id 1tPlzR-0007zH-PG
 for 75051 <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:13:10 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1734973982; bh=YppqOURZM5WPXANS8CJtjD5GoWb8SogqBLVQ9EjTOHw=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=yUaemQMNRTNAMab1J709XjFpRnIkEyRGcxTjaxpOlQGuf07ebxLlwdT+4SyZ29crX
 /JLWSel94YrHXn9TElW+RgRR8dR2+ROHCyYk/Syx5HXEe6BW96wxLJvmdmXrPasbcT
 bt8zB7sAHjoR6Q9Y4kcHDgaeYK1U6P3+13SGUU2c=
Received: from m.tailaa68d.ts.net ([240e:391:ebb:8120:ac72:f386:b183:419a])
 by newxmesmtplogicsvrszc16-0.qq.com (NewEsmtp) with SMTP
 id 3418A07D; Tue, 24 Dec 2024 01:13:01 +0800
X-QQ-mid: xmsmtpt1734973981tp48vmh44
Message-ID: <tencent_866352A1B2F0FE6E745ECB194A2C6B2F3609@HIDDEN>
X-QQ-XMAILINFO: OZILsD/zN1fMvr+riGm3Q/BlJ4Ox6P4ciMDzNUMQN3P2OBx2CeRuAta/Ah2nvk
 64Duk0n7RbKP+Djy6vix3dVrE+gbUUSl0A2quJH+AiF8OmvkyeOFK+qTQ3DeWvVNgeOUOxjjLGpQ
 5vt0qHdd8hhMqjFr8F+eVknv20uvdHF6p6lJBqDVicGRqIqXASfx+9bx+KcXdflih+XkaDcCjVfk
 WXmjOx7gOwTbmnrvUm3MfSYSfd3FZ2Uh6+rbOW4k+SI7FSpufCMNzs01kW35hjw/gUTNxDbsBJUe
 2OHu86vpR+IibgaHemfADG9GkmEpogPdYQ3VvCFh5JYpdSigCWb212c1CxPbgy9Bjjfto00WWD0A
 3Ag3mtR/7mbOixwqfmDi3C+59yodtXC1vC8STcZZFGr2ICY+kQ2J8sOUzCwvfp4EZq7SzF479QZq
 rYweuBPC8aCUOTXFvO12C/3KL/pdkanbbGIjdju7OrM3AOA4aTHFJn7Xev/xglfjhBDhFeZ3FBeQ
 hk77Isi6M198eeAZXmrqrboKv1bhMgE0eRF4M9S3kSBIzIncTF+deN6pRoKCYuQszZbOR7BIX9MJ
 ZQPPhfRfeulX+7BgDFQCcgqd/m50Jn2XJ/NIPeULQPzVQqnCNdv9+WIdLeos/M1lxXJLANTR8v1i
 DyFjgfg6AiIlO12ZmXyI7P5RL0LJZxYVLJ5QYVI8R1AMoXPhNyJq4Jty/fmot5I5gYDsINjJoOj9
 Dpz59q2HFyL3U0hfAEDkIXwhnC3+3A2YdvLz6Tj0phwzDGEqESyuxt9fIYAXhnK+zDCtDC6wPTaf
 0ja+vB41vt6cE9DMTT8FLpexGxXKGH2Jd7mhTR/TH/9X4zFPDRdDhh2JUoLn08QW/gKg6n/kdH4a
 2pDTeKvRSqertwUQFr713jfXLNPfpGdFnDihdmtwO89PO84XL9KKI8jQulj7YysRw2lXUaLZtqcZ
 PhWmB11Uuj+TtabUOnBBSFeDrME8WNAkGlcmM+SQp1ZqCrI5iDbcQr2v2ytdqU1symslcDsde5nz
 BhfKY3WA==
X-QQ-XMRINFO: M/715EihBoGSf6IYSX1iLFg=
From: Zheng Junjie <873216071@HIDDEN>
Date: Tue, 24 Dec 2024 01:13:01 +0800
X-OQ-MSGID: <bf39c44c712bc6564ab65ab0018a86a09eea1b78.1734972657.git.873216071@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1734972657.git.873216071@HIDDEN>
References: <cover.1734972657.git.873216071@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 3.9 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: * gnu/packages/dbm.scm (gdbm)[arguments]: When
 cross-compiling
 to loongarch64, Add update-config phase. [native-inputs]: When cross-compiling
 to loongarch64,
 Add config. Change-Id: I1fd1b0b4171ae3cddbcc1683f8cb12ed85fa5da8
 --- gnu/packages/dbm.scm | 19 ++++++++++++++++++- 1 file changed,
 18 insertions(+), 1 deletion(-) 
 Content analysis details:   (3.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.252 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [162.62.57.252 listed in list.dnswl.org]
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.252 listed in bl.score.senderscore.com]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (873216071[at]qq.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.4 RDNS_DYNAMIC           Delivered to internal network by host with
 dynamic-looking rDNS
 3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
 addr 1)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  * gnu/packages/dbm.scm (gdbm)[arguments]: When cross-compiling
    to loongarch64, Add update-config phase. [native-inputs]: When cross-compiling
    to loongarch64, Add config. Change-Id: I1fd1b0b4171ae3cddbcc1683f8cb12ed85fa5da8
    --- gnu/packages/dbm.scm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+),
    1 deletion(-) 
 
 Content analysis details:   (2.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [162.62.57.252 listed in list.dnswl.org]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (873216071[at]qq.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                          [162.62.57.252 listed in sa-trusted.bondedsender.org]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.252 listed in bl.score.senderscore.com]
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

* gnu/packages/dbm.scm (gdbm)[arguments]: When cross-compiling to
loongarch64, Add update-config phase.
[native-inputs]: When cross-compiling to loongarch64, Add config.

Change-Id: I1fd1b0b4171ae3cddbcc1683f8cb12ed85fa5da8
---
 gnu/packages/dbm.scm | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/dbm.scm b/gnu/packages/dbm.scm
index 7c36d30a349..9e7d846f7fd 100644
--- a/gnu/packages/dbm.scm
+++ b/gnu/packages/dbm.scm
@@ -189,7 +189,24 @@ (define-public gdbm
                (base32
                 "1kfapds42j1sjq6wl7fygipw5904wpbfa5kwppj3mwgz44fhicbl"))))
     (arguments `(#:configure-flags '("--enable-libgdbm-compat"
-                                     "--disable-static")))
+                                     "--disable-static")
+                 ,@(if (and (target-loongarch64?)
+                            (%current-target-system))
+                       `(#:phases
+                         (modify-phases %standard-phases
+                           (add-after 'unpack 'update-config
+                             (lambda* (#:key native-inputs inputs #:allow-other-keys)
+                               (for-each (lambda (file)
+                                           (install-file
+                                            (search-input-file
+                                             (or native-inputs inputs)
+                                             (string-append "/bin/" file)) "build-aux"))
+                                         '("config.guess" "config.sub"))))))
+                       '())))
+    (native-inputs (if (and (target-loongarch64?)
+                            (%current-target-system))
+                       (list config)
+                       '()))
     (build-system gnu-build-system)
     (home-page "https://www.gnu.org.ua/software/gdbm")
     (synopsis
-- 
2.46.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#75051] [PATCH 09/14] gnu: libatomic-ops: Fix cross-compiling to loongarch64.
Resent-From: Zheng Junjie <873216071@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 23 Dec 2024 17:14:02 +0000
Resent-Message-ID: <handler.75051.B75051.173497400130757 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75051
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75051 <at> debbugs.gnu.org
Received: via spool by 75051-submit <at> debbugs.gnu.org id=B75051.173497400130757
          (code B ref 75051); Mon, 23 Dec 2024 17:14:02 +0000
Received: (at 75051) by debbugs.gnu.org; 23 Dec 2024 17:13:21 +0000
Received: from localhost ([127.0.0.1]:55887 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPlzc-000801-Kg
	for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:13:20 -0500
Received: from out162-62-57-252.mail.qq.com ([162.62.57.252]:36423)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <873216071@HIDDEN>) id 1tPlza-0007zd-Mw
 for 75051 <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:13:19 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1734973991; bh=jRgj9Ib21DHR3mjTOgClqLDiF/yDWLsSB7eA7EHS8NY=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=Zah1cnMePtW8xrs9pripIrQvTMMg27caWjSHVWYlY+YfJB/MGAUxRSOP1hbQIx7ey
 WWGvOW57o77gF4UHOHbIp9iOYHb1bBhZlTIfjzc0Mx0JAiz71GEy63MPPtI6YRao7l
 XKm/GU/Y68nBV7mH7qp2BVy9L9/sJzCAILGN2EqA=
Received: from m.tailaa68d.ts.net ([240e:391:ebb:8120:ac72:f386:b183:419a])
 by newxmesmtplogicsvrsza36-0.qq.com (NewEsmtp) with SMTP
 id 34A35285; Tue, 24 Dec 2024 01:13:10 +0800
X-QQ-mid: xmsmtpt1734973990to0c2huuq
Message-ID: <tencent_5D46E57D2532B5309B53A955591B7FB23A08@HIDDEN>
X-QQ-XMAILINFO: OVFdYp27KdlJNzYPARoOuXtqKovBQjB/2AZNx6VsVa9jq1ngo7SH7l321fmOn+
 iQ2MzQvXviFAktO/ry2a1+LwS+lHtgJR7f3kI0r+XajFruvATLAEsDJDm9vO4+MUlA+eDTqrj5aG
 nvj87Xb6e8kSsK2bcDMw6cDs3aeam9iaTMstBpcQMk6JrtdREyBD6ZaHaxpPv4T9kTsQ7+/9/gAp
 zFuHFlapIPKzYWtqA32DaJqphmFqKV5pwURClM2L0Ywirymw4ajmGCDm8p+xOibJIwt0bcXcdvOG
 WIqZGnaXtzh386oooKqIzwKgYId6EtQ1kySvv8MhfNPbzsHpyf7bKsvmejf3sY+/gIWZDM+5VcMk
 SYC9TPtwA7T0CIVL84vWow/wQvC86y1R1NfXFhfFos4dbQdNVnOxSoR7RBtgSDxVtbpeOG3qz9o3
 cFFyEmQcfX+RqAkPLGUFzMUHRH6EsrxDjGjryKG1VKHnA73oDklQc1J8W/4mYPGXbeFH0shoFwuw
 3TLA7WbqJSw6VjO6LhicwgoPCdScTX+U6R1d9DQBb4GxiNapg7ta6hJ0eizwEO7PJK1LJm/zN/5h
 rA9K3w7mxSzvqI4afPBPEFgmBRVSnbjST9/wGnQLTbfYXuGY6JSLfHweWD0QyzChy0VJ3+xSmvo3
 tlT/2rr5aV+6LTOd1dQL5Gwx3NCGqKHOzu3EYpv4MiufnlZiKAju00vtBfbA/aAkPMv4jhymegJB
 9l2zNAu2IjJNKzXLwW8Et7RzcAXDmRugZVRRNSXbJWaARrn0M+QfL6BOBOKrHnAk0oGUw1uzu4Dq
 sQiNTPe+rBVqwjmySsG9621hJLV3ZITKHQllPsWAK8mhRnEFwvlXkFQarsPgHAagSgOgvp5O+4WA
 onFJbEMJwwmZF7qOLrV7Q2qGnVfNyplIcQ8adHLnapO45iuihj/QfCfHPNrUSDuW8qdBPj3f1Fz3
 aqXFKSoGq8XMD4rZpTYje6jVX0wSSHN0fMeZm5DkTHdsKDm7P/hYbpgMjlojBH
X-QQ-XMRINFO: NyFYKkN4Ny6FSmKK/uo/jdU=
From: Zheng Junjie <873216071@HIDDEN>
Date: Tue, 24 Dec 2024 01:13:09 +0800
X-OQ-MSGID: <a1fd45bf5ac33b39740b4004f9076885e3d65a9b.1734972657.git.873216071@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1734972657.git.873216071@HIDDEN>
References: <cover.1734972657.git.873216071@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 3.9 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  * gnu/packages/bdw-gc.scm (libatomic-ops)[native-inputs]:
 When cross-compiling to loongarch64,
 Add config. [arguments]: When cross-compiling to loongarch64,
 Add update-config-scripts phase. Change-Id:
 I7a56860910e38985573482d4a4cfa622d8158f7c
 --- gnu/packages/bdw-gc.scm | 19 +++++++++++++++++++ 1 file changed,
 19 insertions(+)
 Content analysis details:   (3.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.252 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [162.62.57.252 listed in list.dnswl.org]
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.252 listed in bl.score.senderscore.com]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (873216071[at]qq.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.4 RDNS_DYNAMIC           Delivered to internal network by host with
 dynamic-looking rDNS
 3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
 addr 1)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  * gnu/packages/bdw-gc.scm (libatomic-ops)[native-inputs]:
   When cross-compiling to loongarch64, Add config. [arguments]: When cross-compiling
    to loongarch64, Add update-config-scripts phase. Change-Id: I7a56860910e38985573482d4a4cfa622d8158f7c
    --- gnu/packages/bdw-gc.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
    
 
 Content analysis details:   (2.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.252 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [162.62.57.252 listed in list.dnswl.org]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.252 listed in bl.score.senderscore.com]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (873216071[at]qq.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

* gnu/packages/bdw-gc.scm (libatomic-ops)[native-inputs]: When cross-compiling
to loongarch64, Add config.
[arguments]: When cross-compiling to loongarch64, Add update-config-scripts
phase.

Change-Id: I7a56860910e38985573482d4a4cfa622d8158f7c
---
 gnu/packages/bdw-gc.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/bdw-gc.scm b/gnu/packages/bdw-gc.scm
index 8eed98d1fd7..d33c51663bc 100644
--- a/gnu/packages/bdw-gc.scm
+++ b/gnu/packages/bdw-gc.scm
@@ -29,6 +29,7 @@ (define-module (gnu packages bdw-gc)
   #:use-module (guix utils)
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages autotools)
   #:use-module (gnu packages hurd))
 
 (define-public libgc
@@ -155,6 +156,24 @@ (define-public libatomic-ops
                 "0glzah695wsf6c27hs5wwlw4mnq1vfivdshz1rb8pq7w4mp5dazh"))))
     (build-system gnu-build-system)
     (outputs '("out" "debug"))
+    (native-inputs (if (and (target-loongarch64?)
+                            (%current-target-system))
+                       (list config)
+                       '()))
+    (arguments (if (and (target-loongarch64?)
+                        (%current-target-system))
+                   (list #:phases
+                         #~(modify-phases %standard-phases
+                             (add-after 'unpack 'update-config-scripts
+                               (lambda* (#:key inputs native-inputs #:allow-other-keys)
+                                 ;; Replace outdated config.guess and config.sub.
+                                 (for-each (lambda (file)
+                                             (install-file
+                                              (search-input-file
+                                               (or native-inputs inputs)
+                                               (string-append "/bin/" file)) "."))
+                                           '("config.guess" "config.sub"))))))
+                   '()))
     (synopsis "Accessing hardware atomic memory update operations")
     (description
      "This C library provides semi-portable access to hardware-provided atomic
-- 
2.46.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#75051] [PATCH 10/14] gnu: bash: Fix cross-compiling to loongarch64.
Resent-From: Zheng Junjie <873216071@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 23 Dec 2024 17:14:03 +0000
Resent-Message-ID: <handler.75051.B75051.173497401330784 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75051
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75051 <at> debbugs.gnu.org
Received: via spool by 75051-submit <at> debbugs.gnu.org id=B75051.173497401330784
          (code B ref 75051); Mon, 23 Dec 2024 17:14:03 +0000
Received: (at 75051) by debbugs.gnu.org; 23 Dec 2024 17:13:33 +0000
Received: from localhost ([127.0.0.1]:55890 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPlzp-00080S-3t
	for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:13:33 -0500
Received: from out162-62-57-49.mail.qq.com ([162.62.57.49]:57311)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <873216071@HIDDEN>) id 1tPlzm-00080A-1o
 for 75051 <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:13:31 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1734974002; bh=p8rHJTKpXm/sXZM+yP8eXk3yFE7EHMtcupQY576YpxM=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=mcQ2fT4tXWQm0yEGm8InQulMYVdOgCXJmXMxuG6eF/Uf9hoeZ3ctvkiMd9rXwObuW
 42zD+4ZjlWW3ZLA1/89WinU7mmM5ZLChacmHdPZxpSYE94VHqaUhy7kl+BZh4dFRP5
 FOxioq3zocnD4pOW3YRUDwYHTLd1nsUfxaucmW+s=
Received: from m.tailaa68d.ts.net ([240e:391:ebb:8120:ac72:f386:b183:419a])
 by newxmesmtplogicsvrsza36-0.qq.com (NewEsmtp) with SMTP
 id 354B4C23; Tue, 24 Dec 2024 01:13:20 +0800
X-QQ-mid: xmsmtpt1734974000tunps17oj
Message-ID: <tencent_E3B5289B6EA9B359547F813A11E58E257E08@HIDDEN>
X-QQ-XMAILINFO: ODafEzNm5ExjOljg+fXQQ7yM6zSBTwtDaqxz0yLAoMGzHJ2xzPm+9RZoMNhviA
 h8Rc3u6qG7gJZrOIafoj2YhcIbzJiW/iEsk5EEQ7ALp4PS993kDhDY4/jaXS44k8qdnDMQbmBrJ6
 lXGBqWkoTzpjCvtMORX0ZS3RYsQXV92A98XKKjCpLDnAw1a1y2vRYjvp04/4qrhlRsk6TtKpUhdG
 sYJBzDQ+P2U7Cx3VKAp4zU9WQ7Xysja7esTI9UIDTub9A7IC54FYCnFaheywc0pQYTomXNGgDvZ5
 d4zqt9FHZ+Hc14ZJALEzlxcSvl2huxWSRmOitz6cL2P5IJ+ip6OUVmdBFuX9WuQxS5P+hMJHxC3L
 gHOWRPiOfTQDeJPfbQJxdUi9XybJlByf+h49cDPI7nNyGIipAG9OBk4E12563C4pdrfklMQbZ8O3
 XhZ3pXY0yT2dBGm8DRD3M1uhTbOzo1h2FY2R7gHKWkAQJBdqZFhtsw15jTDr33LVjnR9ZtsSA3nh
 v4SRuDM2te0BcT28PlsNhmkzhe1GXTe75qfuBfOabKEqlnJ5vi6GH2fIyhSXpoDu57lySLKiLJTr
 SDqyuTlQSfbo3VxnaQSLPXih7gTe7yC0MAsM7FYsRGZRIeC9WVt0bRyqlLkcLiabpTScVSFfkziM
 7v6Bxja2ZQGFycyY6VmxlhPPN52o04WCj1THUsIHyg9Zd/VGop3GV2HLmY2PFlrap1Exuqr+X6NA
 t6xY69u6NWSTUsGR/+R7CjxzndTvVwMI1aoFMMOeXFdFMtrYZhoikgXvv+x5eueNNTblhJ5tcrex
 1mPLKoMX/wKTVsxnulU8YdlFz+GQJfYpqTBBzID8kdG5RdaszSE4Dk3rE9qbhWoSZECqAm7jyTbu
 iIHpnkvNxc7wn8/1d/llpoDiPmE8l+xLw3I44aYmS2xzSMWXejJR6rIdTrl6tpDzkWYY2rdQ5pzx
 1Q8hdQnDyPEhbZUN2+x9She6ZSyL3/9AJcDSB/MvfIOTjA34aXHzERuaDUuoPd
X-QQ-XMRINFO: MSVp+SPm3vtS1Vd6Y4Mggwc=
From: Zheng Junjie <873216071@HIDDEN>
Date: Tue, 24 Dec 2024 01:13:20 +0800
X-OQ-MSGID: <66e1cb1f999048f0ec7550d48c4025721172f696.1734972657.git.873216071@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1734972657.git.873216071@HIDDEN>
References: <cover.1734972657.git.873216071@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 3.9 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: * gnu/packages/bash.scm (bash)[native-inputs]: When
 cross-compiling
 to loongarch64, Add config. [arguments]: When cross-compiling to loongarch64, 
 Add update-config-scripts phase. Change-Id:
 Icadaace85a62582fcb0724dda8f5067d22257cd6
 --- gnu/packages/bash.scm | 19 ++++++++++++++++++- 1 file changed,
 18 insertions(+), 1 deletion(-) 
 Content analysis details:   (3.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [162.62.57.49 listed in list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (873216071[at]qq.com)
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.49 listed in sa-accredit.habeas.com]
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.49 listed in bl.score.senderscore.com]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.4 RDNS_DYNAMIC           Delivered to internal network by host with
 dynamic-looking rDNS
 3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
 addr 1)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  * gnu/packages/bash.scm (bash)[native-inputs]: When cross-compiling
    to loongarch64, Add config. [arguments]: When cross-compiling to loongarch64,
    Add update-config-scripts phase. Change-Id: Icadaace85a62582fcb0724dda8f5067d22257cd6
    --- gnu/packages/bash.scm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+),
    1 deletion(-) 
 
 Content analysis details:   (2.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.49 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [162.62.57.49 listed in list.dnswl.org]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.49 listed in bl.score.senderscore.com]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (873216071[at]qq.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

* gnu/packages/bash.scm (bash)[native-inputs]: When cross-compiling to
loongarch64, Add config.
[arguments]: When cross-compiling to loongarch64, Add update-config-scripts
phase.

Change-Id: Icadaace85a62582fcb0724dda8f5067d22257cd6
---
 gnu/packages/bash.scm | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index 642a4059852..2d30af046ea 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -28,6 +28,7 @@
 (define-module (gnu packages bash)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages)
+  #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bootstrap)
   #:use-module (gnu packages compression)
@@ -150,6 +151,10 @@ (define-public bash
      (outputs '("out"
                 "doc"                         ;1.7 MiB of HTML and extra files
                 "include"))                   ;headers used by extensions
+     (native-inputs (if (and (target-loongarch64?)
+                             (%current-target-system))
+                        (list config)
+                        '()))
      (inputs (list readline ncurses))             ;TODO: add texinfo
      (arguments
       `(;; When cross-compiling, `configure' incorrectly guesses that job
@@ -219,7 +224,19 @@ (define-public bash
                                             "/Makefile.inc")
                   (("^INSTALL =.*")
                    "INSTALL = install -c\n"))
-                #t))))))
+                #t)))
+          ,@(if (and (target-loongarch64?)
+                     (%current-target-system))
+                `((add-after 'unpack 'update-config-scripts
+                    (lambda* (#:key inputs native-inputs #:allow-other-keys)
+                      ;; Replace outdated config.guess and config.sub.
+                      (for-each (lambda (file)
+                                  (install-file
+                                   (search-input-file
+                                    (or native-inputs inputs)
+                                    (string-append "/bin/" file)) "./support"))
+                                '("config.guess" "config.sub")))))
+                '()))))
 
      (native-search-paths
       (list (search-path-specification            ;new in 4.4
-- 
2.46.0





Message sent to andreas@HIDDEN, janneke@HIDDEN, ludo@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#75051] [PATCH 11/14] gnu: sed: Fix cross-compiling to loongarch64.
Resent-From: Zheng Junjie <873216071@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: andreas@HIDDEN, janneke@HIDDEN, ludo@HIDDEN, guix-patches@HIDDEN
Resent-Date: Mon, 23 Dec 2024 17:14:03 +0000
Resent-Message-ID: <handler.75051.B75051.173497402530811 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75051
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75051 <at> debbugs.gnu.org
Cc: Andreas Enge <andreas@HIDDEN>, Janneke Nieuwenhuizen <janneke@HIDDEN>, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
X-Debbugs-Original-Xcc: Andreas Enge <andreas@HIDDEN>, Janneke Nieuwenhuizen <janneke@HIDDEN>, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Received: via spool by 75051-submit <at> debbugs.gnu.org id=B75051.173497402530811
          (code B ref 75051); Mon, 23 Dec 2024 17:14:03 +0000
Received: (at 75051) by debbugs.gnu.org; 23 Dec 2024 17:13:45 +0000
Received: from localhost ([127.0.0.1]:55893 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPm01-00080t-Hu
	for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:13:45 -0500
Received: from out162-62-58-211.mail.qq.com ([162.62.58.211]:35339)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <873216071@HIDDEN>) id 1tPm00-00080g-3p
 for 75051 <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:13:44 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1734974017; bh=f5wSyYxph1YCChKu61f2hTWl4aVRhjMrinydM/LUpgU=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=igjGkEJ2Z8QzLAWbPgT6dCLcIAXgrFA/MAJH12bkFZndsYW1BpAkf6RPjbOQxwaE1
 ep1+L2dHVxG01FhN6qW/7BKQ5s8JpI6vMRdLkkH+vUsR+YrbzdmOddYVq7htVUrtJw
 lTTlo8SwDtt3pWNBJ8LoVfhpaFHMJCLFRhtdU17E=
Received: from m.tailaa68d.ts.net ([240e:391:ebb:8120:ac72:f386:b183:419a])
 by newxmesmtplogicsvrszb16-1.qq.com (NewEsmtp) with SMTP
 id 363A6AE3; Tue, 24 Dec 2024 01:13:35 +0800
X-QQ-mid: xmsmtpt1734974015t650n4e6n
Message-ID: <tencent_7CCE4B395C097B2DE1E66F6A56D6E19FB806@HIDDEN>
X-QQ-XMAILINFO: OMxr5LZhXS0MQdE7ewqOrNcc3ZjZIMUVzo37zSDDRyv5DaPA1HFr81LVI+bS9X
 CCjlejaMgwV7pGPXEw+Hy3WegeAPChiz9srWGEleEs52F6Z5ustZko5DaWR7BbBi3/MICqBRcMv5
 xDIcE5oU9o2m41hDnjLzQta4CAGuW44PlYMFh4VvI3Wy1AMTHP0MHUwiv63BPB6jSM0Z8BK1L936
 b9DRxm+a6SfPZlaQ7IyNJmi1cFPTEat5stbIT4vwTRiiWzcGmYMeZS75ROgFtpSVYP4IV3dmkWw4
 qlmILeDrzTdjv1Iy9a0pCbRGh3Hl7tIkH8qOubz4t0LYgPTkDLEoNIUuZfmKRX2IvASfCiJD+WRz
 nM9G520k+TSczoyDpxFD8J+g3xzYRSM8GEL+gFkGCZVnAaNoJ3LncrI5vaHB9961zu12QtgWg3CS
 1TTfhVb8eEEh6BhvwXdETmY5y96RyJF8dyvPNlCxHLlSEK1iCjJJHm72TSCJWkXumsnkUalsilIS
 yTme5Z1L/yKGl0TN1wmOwuSFLenTOuxqruef+TgwGg5cAMhC4rCUgjHSLtfzAzNRCvKeUikVjr7f
 rMQhpeNrlpG2GL6u+pRSYFR6wdd97hope9UZVQTepgHjtYcGH51nKTCKl1acdsrgxCiEXilFsSgk
 S3V28mwDMHKNxV6E5OpS9KYMqC+W7lNxE0rFFZJoPExOUqZNqs2QBKMLItfOIS3nn+DcjI2px44N
 7Gv3Bp44/vHT1odDAG0tikMy8D7T7LMd70cpLGsJ4PDotaKwPM5QOgP/nAIwTtObcaxJ41Q6aa3x
 5fJp+cicui4smi1sEH377r78FUJo0MEgZ6yF6fKCLq1qvm4IJaVjISiAWJjGtAsstPuBQW06DYZ+
 cF56nyslHnXld1xmguWwoXcbhdI09GQbGvNis6czR5vrYIYKJJsQOu5V8nyZtaK0wX59Txc9ri5G
 DSvF+X9WJ9OVh6K7JyZmHqOpMT14/f
X-QQ-XMRINFO: NS+P29fieYNw95Bth2bWPxk=
From: Zheng Junjie <873216071@HIDDEN>
Date: Tue, 24 Dec 2024 01:13:35 +0800
X-OQ-MSGID: <96fc8622820d02692eb484315bff28a10e3f4910.1734972657.git.873216071@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1734972657.git.873216071@HIDDEN>
References: <cover.1734972657.git.873216071@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 3.9 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: * gnu/packages/base.scm (sed)[native-inputs]: When
 cross-compiling
 to loongarch64, add config. [arguments]: When cross-compiling to loongarch64, 
 Add update-config-scripts phase. Change-Id:
 I056d5004ec326f8c5b30853d5ea401ea12a949b7
 --- gnu/packages/base.scm | 20 +++++++++++++++++++- 1 file changed,
 19 insertions(+), 1 deletion(-) 
 Content analysis details:   (3.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [162.62.58.211 listed in list.dnswl.org]
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.58.211 listed in bl.score.senderscore.com]
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.58.211 listed in sa-accredit.habeas.com]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (873216071[at]qq.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.4 RDNS_DYNAMIC           Delivered to internal network by host with
 dynamic-looking rDNS
 3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
 addr 1)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  * gnu/packages/base.scm (sed)[native-inputs]: When cross-compiling
    to loongarch64, add config. [arguments]: When cross-compiling to loongarch64,
    Add update-config-scripts phase. Change-Id: I056d5004ec326f8c5b30853d5ea401ea12a949b7
    --- gnu/packages/base.scm | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+),
    1 deletion(-) 
 
 Content analysis details:   (2.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.58.211 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [162.62.58.211 listed in list.dnswl.org]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.58.211 listed in bl.score.senderscore.com]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (873216071[at]qq.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

* gnu/packages/base.scm (sed)[native-inputs]: When cross-compiling to
loongarch64, add config.
[arguments]: When cross-compiling to loongarch64, Add update-config-scripts
phase.

Change-Id: I056d5004ec326f8c5b30853d5ea401ea12a949b7
---
 gnu/packages/base.scm | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 46390506236..df0a4e5aa1b 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -217,7 +217,25 @@ (define-public sed
             (modules '((guix build utils)))))
    (build-system gnu-build-system)
    (synopsis "Stream editor")
-   (native-inputs (list perl))                    ;for tests
+   (native-inputs (append (if (and (target-loongarch64?)
+                                   (%current-target-system))
+                              (list config)
+                              '())
+                          (list perl)))                    ;for tests
+    (arguments (if (and (target-loongarch64?)
+                        (%current-target-system))
+                   (list #:phases
+                         #~(modify-phases %standard-phases
+                             (add-after 'unpack 'update-config-scripts
+                               (lambda* (#:key inputs native-inputs #:allow-other-keys)
+                                 ;; Replace outdated config.guess and config.sub.
+                                 (for-each (lambda (file)
+                                             (install-file
+                                              (search-input-file
+                                               (or native-inputs inputs)
+                                               (string-append "/bin/" file)) "./build-aux"))
+                                           '("config.guess" "config.sub"))))))
+                   '()))
    (description
     "Sed is a non-interactive, text stream editor.  It receives a text
 input from a file or from standard input and it then applies a series of text
-- 
2.46.0





Message sent to andreas@HIDDEN, janneke@HIDDEN, ludo@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#75051] [PATCH 12/14] gnu: isl: Fix cross-compiling to loongarch64.
Resent-From: Zheng Junjie <873216071@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: andreas@HIDDEN, janneke@HIDDEN, ludo@HIDDEN, guix-patches@HIDDEN
Resent-Date: Mon, 23 Dec 2024 17:14:04 +0000
Resent-Message-ID: <handler.75051.B75051.173497403830839 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75051
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75051 <at> debbugs.gnu.org
Cc: Andreas Enge <andreas@HIDDEN>, Janneke Nieuwenhuizen <janneke@HIDDEN>, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
X-Debbugs-Original-Xcc: Andreas Enge <andreas@HIDDEN>, Janneke Nieuwenhuizen <janneke@HIDDEN>, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Received: via spool by 75051-submit <at> debbugs.gnu.org id=B75051.173497403830839
          (code B ref 75051); Mon, 23 Dec 2024 17:14:04 +0000
Received: (at 75051) by debbugs.gnu.org; 23 Dec 2024 17:13:58 +0000
Received: from localhost ([127.0.0.1]:55896 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPm0D-00081K-TX
	for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:13:58 -0500
Received: from out162-62-57-252.mail.qq.com ([162.62.57.252]:56229)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <873216071@HIDDEN>) id 1tPm0A-000814-S3
 for 75051 <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:13:56 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1734974027; bh=p76qjktoazycFjstTkyVbMSl1oGXPNw7X1ICPTaTiQA=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=Sr8nTNWYLomDDBuetvJ7/gsDIZpCHCE8kJA2jYgqeM5wgEXeKK6X8UwpwPFn8LYtY
 1FNdaqRSazfsC1UDhkBjOANNIQj9IdyF+G5d2pXYYEZkeA36xD8Otr6M2NlfcRxyHX
 Wy9ZWVAZWWntceU1mylt+vOfAST5ykDhHNAcgysM=
Received: from m.tailaa68d.ts.net ([240e:391:ebb:8120:ac72:f386:b183:419a])
 by newxmesmtplogicsvrszc16-0.qq.com (NewEsmtp) with SMTP
 id 36E39C13; Tue, 24 Dec 2024 01:13:46 +0800
X-QQ-mid: xmsmtpt1734974026ts6cda0b6
Message-ID: <tencent_625DADDC2659AA4D56D95F990E48B9604906@HIDDEN>
X-QQ-XMAILINFO: NnYhxYSyuBnLj/4qBRH3d9151Q2mMRMi1BFtTn02czMIF14t539wnwHZ4N9Sdk
 90jBwJt23Goi3IMhxdGhqWpM4DoYVwmrWyZt2V1H2JyOesLEzu185siPT55FvHCrdGsd9kYVMnxr
 1c3aWVc0tgqnSFjcVZdFWHkr59kmjXkdeYLn04VKKwxTv/yYpWee2RW8uBlf4yuj6U0OHFI8gBJU
 ICgQAiy/LEsAIRc7v51+7brj02IYESPiQn5INR+N/gOfCzvOk2LTRlB9YZrVxsRgenxsyKi8WIxv
 U1nshWYuz2XIktwJSxg8kIjEuzNUkfuqChpbSCcQQlYZ51XjvuSrfaSYteaDllAAlOT8Hxt0ph9D
 NLfcH3fu1hxF2GHZmo7bxd7Jsd6hpz5fTQERpqqeRI53fB+kpmnr/jahMABgZV7zvvps1XVjrGJp
 eUvxoS+Ahc0zzYFI8ikw2vfsOdDmfjxrXYtRtK/M+gLsV7JAEA999WdOu8wWSSQ1BIe4U+Lb3htf
 PXb1euZjRtA/olPLRQ/fODYMsWKhn7rV5Pr96chizpVtqo8LnLUuQ6/8r5ER2Em2csavDhpX3z0P
 8nwGA2JuBJ0fzmfcYlS+dcxZQbByOSlxyyTuqHxePQDFLI7mu9N6L7/HhZk5Drnj7tjGjpb5ZA3d
 Gvwhhi1uqDPPpoQvDbL6hXQBpHCuLK24SJ1kWCyirLfKTQjy8rNuU5+yMsEo0TBnkLKd5czxheRb
 Zc58CgUZdS2lDZ0SsAax01GVgzOLTKAl59TAeDt9NHDx2BIymtkrO/eK56/sHPl053nGnZXeAQpK
 shcIwCS1ODKNNNHhuCB0InZXger8G3+srZUK4LKSFAFpB0P26Bx+ERGP3+4lC0bEaxq3qz5NbkJq
 jY3jHj45KreurSedOmGKuRm1zadJiOxzazBbsaDNEcXRrf8Dg+Rpu6TBr35mH8V8f617HvCYhYXR
 g7BT+DOt1fmF8emcBfk1yAbMN/nHi4Ikfxr6EKBOqYRD1/x25W4rfYOrPLwVRK
X-QQ-XMRINFO: MSVp+SPm3vtS1Vd6Y4Mggwc=
From: Zheng Junjie <873216071@HIDDEN>
Date: Tue, 24 Dec 2024 01:13:46 +0800
X-OQ-MSGID: <b5724753fa2d2ab431fdd62d1f9387bd1a7eaaf1.1734972657.git.873216071@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1734972657.git.873216071@HIDDEN>
References: <cover.1734972657.git.873216071@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 3.9 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: * gnu/packages/gcc.scm (isl)[arguments]: When cross-compiling
 to loongarch64,
 Add update-config-scripts phase. [native-inputs]: When cross-compiling
 to loongarch64,
 Add config. Change-Id: If60b28f64dd3285f5b89000c42e714be07876400
 --- gnu/packages/gcc.scm | 21 +++++++++++++++++++-- 1 file changed,
 19 insertions(+), 2 deletions(-) 
 Content analysis details:   (3.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [162.62.57.252 listed in list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (873216071[at]qq.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.252 listed in sa-trusted.bondedsender.org]
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.252 listed in bl.score.senderscore.com]
 0.4 RDNS_DYNAMIC           Delivered to internal network by host with
 dynamic-looking rDNS
 3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
 addr 1)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  * gnu/packages/gcc.scm (isl)[arguments]: When cross-compiling
    to loongarch64, Add update-config-scripts phase. [native-inputs]: When cross-compiling
    to loongarch64, Add config. Change-Id: If60b28f64dd3285f5b89000c42e714be07876400
    --- gnu/packages/gcc.scm | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+),
    2 deletions(-) 
 
 Content analysis details:   (2.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.252 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [162.62.57.252 listed in list.dnswl.org]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.252 listed in bl.score.senderscore.com]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (873216071[at]qq.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

* gnu/packages/gcc.scm (isl)[arguments]: When cross-compiling to
loongarch64, Add update-config-scripts phase.
[native-inputs]: When cross-compiling to loongarch64, Add config.

Change-Id: If60b28f64dd3285f5b89000c42e714be07876400
---
 gnu/packages/gcc.scm | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 6247919fec4..37c002f7fd7 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -37,6 +37,7 @@ (define-module (gnu packages gcc)
   #:use-module ((guix licenses)
                 #:select (gpl3+ gpl2+ lgpl2.1+ lgpl2.0+ fdl1.3+))
   #:use-module (gnu packages)
+  #:use-module (gnu packages autotools)
   #:use-module (gnu packages bootstrap)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages multiprecision)
@@ -1416,7 +1417,7 @@ (define-public isl
     (build-system gnu-build-system)
     (outputs '("out" "static"))
     (arguments
-     '(#:phases (modify-phases %standard-phases
+     `(#:phases (modify-phases %standard-phases
                   (add-after 'install 'move-static-library
                     (lambda* (#:key outputs #:allow-other-keys)
                       (let* ((out (assoc-ref outputs "out"))
@@ -1431,7 +1432,23 @@ (define-public isl
                         ;; libtool looks for it in the usual locations.
                         (substitute* (string-append out "/lib/libisl.la")
                           (("^old_library=.*")
-                           "old_library=''\n"))))))))
+                           "old_library=''\n")))))
+                  ,@(if (and (target-loongarch64?)
+                             (%current-target-system))
+                        `((add-after 'unpack 'update-config-scripts
+                            (lambda* (#:key inputs native-inputs #:allow-other-keys)
+                              ;; Replace outdated config.guess and config.sub.
+                              (for-each (lambda (file)
+                                          (install-file
+                                           (search-input-file
+                                            (or native-inputs inputs)
+                                            (string-append "/bin/" file)) "."))
+                                        '("config.guess" "config.sub")))))
+                        '()))))
+    (native-inputs (if (and (target-loongarch64?)
+                            (%current-target-system))
+                       (list config)
+                       '()))
     (inputs (list gmp))
     (home-page "https://libisl.sourceforge.io/") ;https://repo.or.cz/w/isl.git
     (properties `((release-monitoring-url . ,home-page)))
-- 
2.46.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#75051] [PATCH 13/14] gnu: pcre2: disable jit on loongarch64.
Resent-From: Zheng Junjie <873216071@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 23 Dec 2024 17:15:01 +0000
Resent-Message-ID: <handler.75051.B75051.173497405130935 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75051
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75051 <at> debbugs.gnu.org
Received: via spool by 75051-submit <at> debbugs.gnu.org id=B75051.173497405130935
          (code B ref 75051); Mon, 23 Dec 2024 17:15:01 +0000
Received: (at 75051) by debbugs.gnu.org; 23 Dec 2024 17:14:11 +0000
Received: from localhost ([127.0.0.1]:55909 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPm0Q-00082t-L7
	for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:14:11 -0500
Received: from out162-62-57-252.mail.qq.com ([162.62.57.252]:37003)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <873216071@HIDDEN>) id 1tPm0O-00081x-Os
 for 75051 <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:14:09 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1734974041; bh=OatlEA34GN6PewZwRB049de7+A/Vuk6IZSeqKR2yUW4=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=g1mxZVRftB2wYuhw6sM0+DFUysQPA5gEaNMpKHodwEcC+IpoRKHU1X+bgCczz6LZL
 IXCqDbaFedlLy9tNl5dcvRzAHQhdAekDB/DqJzKmzpCHM2LAc/Bc5Mg8yWUP4atne5
 rXoIQJ/jlNjMeF34jEWPYrKRyX8n300YBwAI4dyE=
Received: from m.tailaa68d.ts.net ([240e:391:ebb:8120:ac72:f386:b183:419a])
 by newxmesmtplogicsvrsza36-0.qq.com (NewEsmtp) with SMTP
 id 3803D08D; Tue, 24 Dec 2024 01:14:00 +0800
X-QQ-mid: xmsmtpt1734974040tof2lyqaf
Message-ID: <tencent_6012B8DACD4D9C54E3ACE9BF009DA072E007@HIDDEN>
X-QQ-XMAILINFO: MzNwb/pqyJTkbIWE1El6zxuJfXWGI2P4rXS5d17Y2KYWtZt6jqCLkJaR7uiK3F
 WM0EC3pW/YVsXVJe5l5cFt5TMAB/0EQFef43Rv8frWg+MY42ZMx02whfg74Pn/3ACLtArBTTVvW4
 f6AS/fyeuD0WmhUisu59jBvnAZfGjwH+bMreim+DxGYhPAgpqTgL+b3lCHepdFtmoyXNeNKmhrSi
 veyqIlTJXGLN5NPD5WodXDVx1Soagin6AHQUC+5uvhh7ayaTpE4Yq6EAtrlvenvOXeUbhKl433TT
 sSbu3Z45eoMWMXiZrfAu0xyGmtnRqSBZevXMc4kuUyOFZSr33H0qrAuft8PcalI7JqUc7coh31uJ
 TQasl7uujoEHtoioRLdNHcqnrSdC8xQ9/x5rzcFgwhkkC3yfvhZwjA1roh3fOtfMW3DHfjkqcgGt
 wdwc19twL6b1gsygT/f9WyN4neEmXPB5uaVz6F+d650cF3kTrUCeZwkPUVaEwC6gA5CVzjx3Cyhl
 PoCtgDCc9WGW0mFDX+/Tk2O38gbxlsYp4X1Huz4f8Jd7ffYdXkSc7MSmL9mM9Y4cE/CwASzYCQPw
 qiJEZ5wFVvJbHMSi37doH/FaGlYwHWmATtoxj4I6Cz5s99t8L1Z6nRwpq0sVprJ8I04hIN/8i8mZ
 wjlZNFjdiuUtTvCSGy9aJR3uObTTlxEkv4hiq3uEB0qrBo4xo67Msdmq5rUrNPiiDBXGZvH6tuz6
 CdgO8u9uP4P4vmFfNqPvcQCPB+ocnJsXVUa5NDPxmzYovrPi0SuxG4iniHrYjn4f8T0soC1b4z+V
 abM+0nIpNc2c1a51iY0y19suOHWZ1ICz9bN93Xgf++WpmES3bparmmRe98h27zxMLdDqWDNQQNjm
 qqGFQDv0ogaL07GKB2rZAbdqPOSZBVsrk2r0x9BzTzLEtyBynSOa2LHJdf31OyesrEVmWT6sJOu7
 KfPCUH0oZJVBJtjTPpjp2ysvrSAvh4D++sR/qLONasZX8IoQrcTT9eBLno1Qw/
X-QQ-XMRINFO: M/715EihBoGSf6IYSX1iLFg=
From: Zheng Junjie <873216071@HIDDEN>
Date: Tue, 24 Dec 2024 01:13:59 +0800
X-OQ-MSGID: <981e6708d31fb96704f52e022b45aafa092e1393.1734972657.git.873216071@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1734972657.git.873216071@HIDDEN>
References: <cover.1734972657.git.873216071@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 3.9 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: * gnu/packages/pcre.scm
 (pcre2)[arguments]<#:configure-flags>: when target loongarch64,
 don't pass --enable-jit. Change-Id: I5c57da334da0d9fe33e3ec7963a4967e5463d125
 --- gnu/packages/pcre.scm | 6 ++++-- 1 file changed, 4 insertions(+),
 2 deletions(-)
 Content analysis details:   (3.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [162.62.57.252 listed in list.dnswl.org]
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.252 listed in sa-accredit.habeas.com]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (873216071[at]qq.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.57.252 listed in bl.score.senderscore.com]
 0.4 RDNS_DYNAMIC           Delivered to internal network by host with
 dynamic-looking rDNS
 3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
 addr 1)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  * gnu/packages/pcre.scm (pcre2)[arguments]<#:configure-flags>:
    when target loongarch64, don't pass --enable-jit. Change-Id: I5c57da334da0d9fe33e3ec7963a4967e5463d125
    --- gnu/packages/pcre.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
    
 
 Content analysis details:   (2.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.252 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [162.62.57.252 listed in list.dnswl.org]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.57.252 listed in bl.score.senderscore.com]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (873216071[at]qq.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

* gnu/packages/pcre.scm (pcre2)[arguments]<#:configure-flags>: when
target loongarch64, don't pass --enable-jit.

Change-Id: I5c57da334da0d9fe33e3ec7963a4967e5463d125
---
 gnu/packages/pcre.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/pcre.scm b/gnu/packages/pcre.scm
index 6f31d3c1d7e..1dbd2180a84 100644
--- a/gnu/packages/pcre.scm
+++ b/gnu/packages/pcre.scm
@@ -112,8 +112,10 @@ (define-public pcre2
                "--enable-pcre2test-libreadline"
                "--enable-pcre2-16"
                "--enable-pcre2-32"
-               ;; riscv64-linux is an unsupported architecture.
-               #$@(if (target-riscv64?)
+               ;; riscv64-linux and loongarch64-linux is an unsupported
+               ;; architecture.
+               #$@(if (or (target-riscv64?)
+                          (target-loongarch64?))
                       #~()
                       #~("--enable-jit")))
            #:phases
-- 
2.46.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#75051] [PATCH 14/14] gnu: elfutils: Fix cross-compiling to loongarch64.
Resent-From: Zheng Junjie <873216071@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 23 Dec 2024 17:15:02 +0000
Resent-Message-ID: <handler.75051.B75051.173497406230979 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75051
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75051 <at> debbugs.gnu.org
Received: via spool by 75051-submit <at> debbugs.gnu.org id=B75051.173497406230979
          (code B ref 75051); Mon, 23 Dec 2024 17:15:02 +0000
Received: (at 75051) by debbugs.gnu.org; 23 Dec 2024 17:14:22 +0000
Received: from localhost ([127.0.0.1]:55914 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPm0b-00083a-JK
	for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:14:21 -0500
Received: from out162-62-58-216.mail.qq.com ([162.62.58.216]:52185)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <873216071@HIDDEN>) id 1tPm0Y-000836-Rw
 for 75051 <at> debbugs.gnu.org; Mon, 23 Dec 2024 12:14:20 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1734974051; bh=Z/i7igEGWbOa/yBF9Gue1t+0Cne+PRwHHo4pmcaHVvE=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=ykMxbbKYngauhm/vh6luKiPHHbxZJZvvgW//fxsTk+hCNeuzYHg7tnjQQ2Lfa/t07
 Iu/+CUQhyx6aYfvNXrybf696gUUPhDAibdTKlQaxk/GQxc6co1Z04KAbCvX2v161kP
 bNrUWXJBlMUtgbbt5EHVS3Q4OEVOnkhmYmiKOZ3A=
Received: from m.tailaa68d.ts.net ([240e:391:ebb:8120:ac72:f386:b183:419a])
 by newxmesmtplogicsvrszb21-0.qq.com (NewEsmtp) with SMTP
 id 38A3BA9F; Tue, 24 Dec 2024 01:14:10 +0800
X-QQ-mid: xmsmtpt1734974050t6q5cessk
Message-ID: <tencent_4A547F783A3AE5B125BDB50E9B64A9C25908@HIDDEN>
X-QQ-XMAILINFO: M58CI+QHpTsk9y5utCB+ZPys/EOIVkzEUeDZh/AlrFYikliYE00Iw6UeYLARrj
 kWVOdLbQqaqe9zqEdRi4oVF6RIIbaElM1+5k86NvWojq08YHjWkDqu3JMIX+IdFIew+Fz/soWTEF
 2IHwmPNzOeDqvHcQBGaIFOdv9dTeoLSh+BCQZ/X8NVz8Ro7aDXcXvbmbKMVbdciJCB8mCBHmUgmd
 0fWX27XAOq52NQ3jqm5gPEZBT1ixWB7hX8mN1TqTqdoqzrz6sY2AJMQBLcotkqNALLe0ovTDOwfG
 HHcd59hQlTloiBedl1TI7+H2L+7pDzk8SQhq/cls2GwbWGTt70RH+KxniMjZiCbthKN/HIsnCYBO
 tqzYLlPveywRqRjhdqzRzg/FdTKljBIRzHXQ8UE233MteeIbdNNgSXkQ4r2zfC/HrbCdDppOKI5N
 cadm3Pouz0t4fVzr4t+yWjDB7sbLP71EJSzSA5tgwAI61PW/gMVl0dSozTF84TePQNUEXNjuKL/D
 U7ODO3gQ+mZNrOOVRHHdZoE7q+UjI4hgQMozIusXL8yNKWaE+d0alUpR04wJmCNqmRF6C7H47Cd0
 0s05XenwvrotufIixD1/EtuMcJ5czCMIL+yAu7b3kR3Fg3WRwA9z7tnicooMOs6o1Z250kUHvXKZ
 MXEZYQ6eA7AEtG9YWuYAjl5yDjOEl+kwxx32U31shVtovzYtLpOhfxibq3AQKB6Oonn74avr13Si
 YvCRwyczwbKuwofg+SQJN8MWJXPFtRB7hm12wsKyMlPCZ8CAR1MGzygAKIN7wgLxh2wGeo6RrmdI
 neYsfqcPSfgCCYYUZvCJVlGVW7bL8dD5TsQJSfteaaxuWGdRxKQ/GRMW+l2Ehtb9IA3UTWDOKJw6
 CELbhpqQZWVm+IhSU/6nRhHr2dk+Es94lz+xMAKcdhfI0B4mY2xoboHODbN02CJ+kHA6u2SyBcrH
 RmmxAKzEtWhxS4xEeeBQ==
X-QQ-XMRINFO: OD9hHCdaPRBwq3WW+NvGbIU=
From: Zheng Junjie <873216071@HIDDEN>
Date: Tue, 24 Dec 2024 01:14:10 +0800
X-OQ-MSGID: <8bf2351696815b348b2b844de66de9a50f7bb0b3.1734972657.git.873216071@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1734972657.git.873216071@HIDDEN>
References: <cover.1734972657.git.873216071@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 3.9 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: * gnu/packages/elf.scm (elfutils)[native-inputs]: When
 cross-compiling
 to loongarch64, add config. [arguments]: When cross-compiling to loongarch64, 
 Add update-config-scripts phase. Change-Id:
 I0a0b4faa8594ecca2344eb4b15392e4355e79e45
 --- gnu/packages/elf.scm | 18 ++++++++++++++++-- 1 file changed,
 16 insertions(+), 2 deletions(-) 
 Content analysis details:   (3.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [162.62.58.216 listed in list.dnswl.org]
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.58.216 listed in bl.score.senderscore.com]
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [162.62.58.216 listed in sa-accredit.habeas.com]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (873216071[at]qq.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.4 RDNS_DYNAMIC           Delivered to internal network by host with
 dynamic-looking rDNS
 3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
 addr 1)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  * gnu/packages/elf.scm (elfutils)[native-inputs]: When cross-compiling
    to loongarch64, add config. [arguments]: When cross-compiling to loongarch64,
    Add update-config-scripts phase. Change-Id: I0a0b4faa8594ecca2344eb4b15392e4355e79e45
    --- gnu/packages/elf.scm | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+),
    2 deletions(-) 
 
 Content analysis details:   (2.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.58.216 listed in sa-accredit.habeas.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [162.62.58.216 listed in list.dnswl.org]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [162.62.58.216 listed in bl.score.senderscore.com]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (873216071[at]qq.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (873216071[at]qq.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

* gnu/packages/elf.scm (elfutils)[native-inputs]: When cross-compiling to
loongarch64, add config.
[arguments]: When cross-compiling to loongarch64, Add update-config-scripts
phase.

Change-Id: I0a0b4faa8594ecca2344eb4b15392e4355e79e45
---
 gnu/packages/elf.scm | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm
index 8f036ab2211..57d26a9f0d8 100644
--- a/gnu/packages/elf.scm
+++ b/gnu/packages/elf.scm
@@ -120,6 +120,18 @@ (define-public elfutils
                             (("run-strip-strmerge.sh") "")
                             (("run-elflint-self.sh") "")))))
                    #~())
+            #$@(if (and (target-loongarch64?)
+                        (%current-target-system))
+                   `((add-after 'unpack 'update-config-scripts
+                       (lambda* (#:key inputs native-inputs #:allow-other-keys)
+                         ;; Replace outdated config.guess and config.sub.
+                         (for-each (lambda (file)
+                                     (install-file
+                                      (search-input-file
+                                       (or native-inputs inputs)
+                                       (string-append "/bin/" file)) "./config"))
+                                   '("config.guess" "config.sub")))))
+                   '())
             #$@(if (system-hurd?)
                    #~((add-after 'unpack 'skip-tests
                         (lambda _
@@ -151,8 +163,10 @@ (define-public elfutils
                               (search-patch
                                "elfutils-libdwfl-string-overflow.patch"))))))
                    #~()))))
-
-    (native-inputs (list m4))
+    (native-inputs (append (if (target-loongarch64?)
+                               (list config)
+                               (list))
+                           (list m4)))
     (inputs (list xz zlib))
     (home-page "https://sourceware.org/elfutils/")
     (synopsis "Collection of utilities and libraries to handle ELF files and
-- 
2.46.0






Last modified: Sun, 12 Jan 2025 05:45:02 UTC

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