From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4GEvFhGYaWdQhAAAqHPOHw:P1 (envelope-from ) for ; Mon, 23 Dec 2024 17:04:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4GEvFhGYaWdQhAAAqHPOHw (envelope-from ) for ; Mon, 23 Dec 2024 18:04:17 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cGl1I8Ks; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b="tTfyCr/l"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734973457; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=BJ7EIJO/9t38MggTanPQvU7SjoDuT470q+rV1QTc7zg=; b=J7LRItpJDUOniFVEf3hrf0T6vHs9QOeFxe1P3TRxD73JLvzSMLp3Ye8T8MwYL10nUYQxl1 IOke5ip+Bo8CyUvL7maXJUIAWvIwSnhmDNIUj8tec59EbL5BMmjOt7yfNXO0VS6xNRTKqf NT7mwvR09mHHc2wam55b20kOkSKHGnQ08oK4kgn9nG4bcgWdY7Lxr/OSq41m5p6tNQoA+t SvPhVC8Z1SME1N4vjet/U0bNtjw2vRyFtuisAdkRJAhpS0+f8wO4xssw/yCkxNT6UZndoP E7CI2gc33J2J6o3pcQco4HVfESoB5GB16w9X/fP6i9hwIjYSTqOLXVw9y4FTRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cGl1I8Ks; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b="tTfyCr/l"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734973457; a=rsa-sha256; cv=none; b=ELPk1kUDIKV3bIoA1bixdKMjQ2xeL6/VYpe7IGk6dbKo5jycZ64YPJxorJZCJdVzm8IhAy l9l7lpemkimMDEWU3Nwde8j9OH9hVvebjkKrauCY81LTF4ft9YfRaveJjZZcB76RA4P2J6 bxQbdjcfoEZud0TzPKpiMAC4GVEqaiZjJhqu+p8AjicZpRwFIZFkvl39fBZvwOMzrTiD2X XPVuT1wVpaodFm1jJvvTh9dwfEeNrU9zs9hJAqu0wl0I4di9Lh3NiGwUEy25ake4lMqDxF ktGj3kmjs+1ckfmfqgJhBLsx5SwJncqntUvZbQzA/YG3xeGDoV1BpWAIalPSPw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2196E88B9D for ; Mon, 23 Dec 2024 18:04:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPlqg-00066y-2t; Mon, 23 Dec 2024 12:04:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPlqc-00066i-NN for guix-patches@gnu.org; Mon, 23 Dec 2024 12:04:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPlqc-0008MN-F8 for guix-patches@gnu.org; Mon, 23 Dec 2024 12:04:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=BJ7EIJO/9t38MggTanPQvU7SjoDuT470q+rV1QTc7zg=; b=cGl1I8KsvsMivbm8fGV7NsJt/ljAC+m0OCrHFzA/GQQsgp0R74IBtWk/XzA53jnE+epe4z/Y/nQMe3vrfJMAFxRtATGWIw7GRmicjaopHtykBzFyByqtB1DjRFHApKRc+3Oghc5LZn4Qm/2HGvm0HnpniMNRAtWGEj9d+1ytlXRIfs3SVet0wjG9UJfxhAD0iShQaNUbu21JZ/1n8MV5dvup9dT5yg4d1PsmkJC6qFrFsivhTuV7XeOg4BqH46QTgRnoo4NRPgHrKZWqvyEBMbGGylaSb2hG8BzaHohc35pMgZx5zboxPFXQPb4oOhqvdJxrurINcK2BZZc9Xavtzg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPlqc-0007WV-6j for guix-patches@gnu.org; Mon, 23 Dec 2024 12:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75051] [PATCH 00/14] Add loongarch64 platform support. Resent-From: Zheng Junjie <873216071@qq.com> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 23 Dec 2024 17:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75051 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75051@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@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 ) id 1tPlqQ-0007W2-C7 for submit@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@qq.com>) id 1tPlqN-0007Vq-G9 for submit@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@qq.com>) id 1tPlqK-00060V-Qd for guix-patches@gnu.org; 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@qq.com>) id 1tPlqA-0008G7-6K for guix-patches@gnu.org; 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: 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= Date: Tue, 24 Dec 2024 01:03:10 +0800 X-OQ-MSGID: 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@qq.com; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Zheng Junjie <873216071@qq.com> X-ACL-Warn: , Zheng Junjie via Guix-patches From: Zheng Junjie via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -3.21 X-Spam-Score: -3.21 X-Migadu-Queue-Id: 2196E88B9D X-TUID: WeKVfYgdap92 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