From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 IIxwOPCZaWcyAgAA62LTzQ:P1 (envelope-from ) for ; Mon, 23 Dec 2024 17:12: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 mp1.migadu.com with LMTPS id IIxwOPCZaWcyAgAA62LTzQ (envelope-from ) for ; Mon, 23 Dec 2024 18:12: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=Iadw+WBR; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b=w1RoEdW8; 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=1734973936; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DDNV53HXH0bvNDPNe8HPA/bLxXDXaIvfzGbc6+tS1XU=; b=m54dLaP11135JnOL1Ho4jVr3fS+zFtm0E7+kwRwQKMdEsKvWYpCFgufQRx/yxh3oQyxnjD bMxpwIX4gq5q7Oqm63DhAeFb8Ji3zutqyBzMyiAGJ7QiAF6cjRI84FDt8ZryjDzXdK3Ep0 dD+bFNQunL3v8ZnDEuYTpzPjMdp5HTAmWSu2jz6t+P7Gy5V9DEN8CfXSBNhm+sDRj9QHMo T3blAW26kIGVyogXFqXvrZyT4IudjxiN1+oon9JPyifBYvw1C1+nnaNvF01NBaYoWyCzjQ RJsy6zZad7cFF6x0O+AAPCvWDz/6HJPg0V0zhisV620bJ5WjQMknks7kETbwTg== 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=Iadw+WBR; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b=w1RoEdW8; 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=1734973936; a=rsa-sha256; cv=none; b=hzfZ2XjoTXUJKOvfibLo2HdE6Ut6op6OpqpcSdUrg7UqmjUUCAFmQVwOXdBfPpO+Xr5q27 Ynv5lcPbj3YTHWYDK7/+wHM1kt8HYfNMoAPM0230SeFBv00faKDwJo8Q27JEtakcCPI6aD v2XTB3raWVlsn7HJXJrQjicNh0ApvJ0gOG/UtWvUTug28No4L2h1R4Pvtlh/k0S+Ay2G43 5NLjrbCSGypKyH5SfrD1xAh911lx4xAtDYCIdao8JX0WIEdYUxs2FiyXmqyKUpNfBRm6N/ rSstUL2DLcIUUoKs37HtjpBIIgaSFAWlorfM6qllZNuzY6qzVSBNJBQ2lz9ZqQ== 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 9398A89116 for ; Mon, 23 Dec 2024 18:12:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPlyP-0007eO-UC; Mon, 23 Dec 2024 12:12:05 -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 1tPlyN-0007di-M7 for guix-patches@gnu.org; Mon, 23 Dec 2024 12:12: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 1tPlyN-0001EZ-9t; Mon, 23 Dec 2024 12:12:03 -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:References:In-Reply-To:Date:From:To:Subject; bh=DDNV53HXH0bvNDPNe8HPA/bLxXDXaIvfzGbc6+tS1XU=; b=Iadw+WBRjRkSv6nUZyiwOYPwKafp/Sjebj90PMmHQQ2AKOlVmn38H3ag189SaW9QTphorH3/voVubrsKrJ9g5Tbvp49sLJEZsYqo3bcmt1fZsmlt7AMbcSJ13vx30SQsWBPxiK/a2ZYhcwf4KWRzgNuFx3jg3vo1nmjWyAz9xzoIKJtzknoUMiMlZ6zlqnyIM5DJb5IFXLYZ4dLuZYvmtO1ph0dNDWM1/iAehOxPVWjeYCibUh/PyCUOmjJ9TrzKitOfoVTuIPOsPYvVC+nsyCNoxWZ4mI6Buts1UYH92m+exz6JXMGtIIrniN8ZKTNU16Kr+N41X32MG810lU3Uow==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPlyM-0007wu-As; Mon, 23 Dec 2024 12:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75051] [PATCH 04/14] gnu: cross-base: Add cross-compiling support for loongarch64. Resent-From: Zheng Junjie <873216071@qq.com> Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, janneke@gnu.org, ludo@gnu.org, guix-patches@gnu.org Resent-Date: Mon, 23 Dec 2024 17:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75051 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75051@debbugs.gnu.org Cc: Andreas Enge , Janneke Nieuwenhuizen , Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-Xcc: Andreas Enge , Janneke Nieuwenhuizen , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 75051-submit@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 ) id 1tPlxQ-0007vA-QU for submit@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@qq.com>) id 1tPlxN-0007ue-W4 for 75051@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-Q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WPUhxQsoeAVDbp3OJHYyFg= Date: Tue, 24 Dec 2024 01:10:43 +0800 X-OQ-MSGID: <5102857426b19a4f23e93270dc3e46bcf66f5e9a.1734972657.git.873216071@qq.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 9398A89116 X-TUID: DX3OiyoMtedU 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