From patchwork Fri Mar 21 08:53:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 40554 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7AF6127BBEA; Fri, 21 Mar 2025 08:55:38 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 05CC127BBE2 for ; Fri, 21 Mar 2025 08:55:38 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tvY9k-000730-39; Fri, 21 Mar 2025 04:55:08 -0400 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 1tvY9i-00070k-3R for guix-patches@gnu.org; Fri, 21 Mar 2025 04:55:06 -0400 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 1tvY9h-0001gI-JW for guix-patches@gnu.org; Fri, 21 Mar 2025 04:55:05 -0400 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=ta3zsjJ8hNBVEsjXky7VgLhH7N0K3ypdaQyDOQiPLSQ=; b=Vtj4VeZkBCQJPnnUoam0jtGyerD/NfuGNtN6Swr/Ao7S6DHEzliodlDUgjQ3dlNPAT2d9PcDyoF1xwGPzkHKqyIVsYt6vSTSxSwCczgGFVQa3xbVJ00DJk8CDQMLIfiO1snPr4j/h4lOQR0cmdsim2wjtoV4d9hjuhvW/3LZqLFCZ0TZpUzhHS/q4Jbsp7P6oMw9XMLHJNOOOM8MlVfSI7RRotdxRnOwMh6Il9KK0lhgHW1cQvHHOyu/FKHvsFa5GvRQHnL5ZNRQpMPSE0gfr30HPB4Mb/lf8TwTIA6/Qnn1BrMgYLzX+yKt0HAD4OtrhVW+kEElk3Ewo9yhr42H5Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tvY9h-0001Cg-EN; Fri, 21 Mar 2025 04:55:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77148] [PATCH 8/9] gnu: edk2-tools: Update to 202502. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, vagrant@debian.org, guix-patches@gnu.org Resent-Date: Fri, 21 Mar 2025 08:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77148 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77148@debbugs.gnu.org Cc: Efraim Flashner , Maxim Cournoyer , Efraim Flashner , Vagrant Cascadian X-Debbugs-Original-Xcc: Efraim Flashner , Vagrant Cascadian Received: via spool by 77148-submit@debbugs.gnu.org id=B77148.17425472764314 (code B ref 77148); Fri, 21 Mar 2025 08:55:05 +0000 Received: (at 77148) by debbugs.gnu.org; 21 Mar 2025 08:54:36 +0000 Received: from localhost ([127.0.0.1]:35054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tvY9D-00017P-Ki for submit@debbugs.gnu.org; Fri, 21 Mar 2025 04:54:36 -0400 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:59610) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tvY8U-00011D-2F for 77148@debbugs.gnu.org; Fri, 21 Mar 2025 04:53:52 -0400 Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-ac34257295dso363904466b.2 for <77148@debbugs.gnu.org>; Fri, 21 Mar 2025 01:53:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742547224; x=1743152024; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=ta3zsjJ8hNBVEsjXky7VgLhH7N0K3ypdaQyDOQiPLSQ=; b=H1sut+GesFp2+gZCyXBSDXeNitHcsBIija4VHBynDAvxXyV8/qDX03Ox0UNfGH7cZa LSLuPqg8laveRtOFpYE8w3CUdJisUV0HHn5Dm44mWkUKZ0OR/SznV14tkAM5f4v6n8jE tX+cAsLSzM8WjzJ8jAHhU0rAw/JOoZ6NJU5KQgN6jljf5cTcM5GApiEwvpVNkse9Pnxg hTZAnxw5+qNg/epdClIZNbNf3wvGZjBKLnDK6nwPRKT0It2+gKxGFNPR7ujlhO/GE2rJ W49NdAO21hYgobxj2m42paaFTaeOrTz9lg5ePptB656SEuX8WIYrVt2waH4WcW1/iOfk p0og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742547224; x=1743152024; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ta3zsjJ8hNBVEsjXky7VgLhH7N0K3ypdaQyDOQiPLSQ=; b=sg5s289j/vnY/eF71/fbwyDunrcyiXe0FmpPh1k78Hj6nZka0X8zG/DiC4NCBL6LqA 8KJ/aigwFeWHmrygnf6XZDmcC9BDayCFkP9S2vjEG8mvmXZqNdaWDtQdTuYRLTKYksNC 3ikpSMIgau0dCKM40XjiCmeILM/eq96i3ICoEslEa8TizezDbteLplbeR6Xa/dQ5nb8T WJMPdf3sIRuRMgqyqc3jechl05yMByygN+WqTE5vPtFa9tjMaY1HX3oktgiTXMUxDheU G3QI+VAZyHskP/u3dOIOPfsF11qE7pvEQJl3fbpgciP8Zy9S485j+LSqSS4IhhJTVjGX 5ysg== X-Gm-Message-State: AOJu0YwVdchGfSGPtX8IWTuUB1aYrqATWjGtG4XUbMCnOwG775jlE4NW SG6bnAFDi0OjEb2JZIurlIGHRpojYNKk5ulumoTBIFa61HiDObkTW2lirns/ X-Gm-Gg: ASbGnctJW/cOYH8KR3/zSIxTFxOSeREg61jvx8qId0zkvmGLgPvY3eATxfzz90b9AIR j6ruGfSB/uNOc0iRuK4oiF2Hhhxsn4s6DwwFCVu3ft5QhC6Rp5cnIrtW7xgYgtfzyTwbY44QrTg weuDrVMspCS1JYIu2xmm/aai6+21L0zDYeZxe4yxVB8J5DzZ0zgDlzP90/rwRiAi9/A1JhU0pNn PuT+JP/M7LrSflSODu0YIlTlz6ZigehtigrbDCabhrqYj62hmaObXegtgmCdZQAsubgI9WXZUvV Ml2/a5luagrh1LManWsGhfzulud4X7m/FxiqzXkkRaXb1otT X-Google-Smtp-Source: AGHT+IGpLp5FSvWaRnckqq5DoT7v4VMtBTKnaXBwK5nmy9e1eSZDZRrDJJ0T8l7Ss4qNR1IZ7aO5dw== X-Received: by 2002:a17:907:2cc7:b0:ac2:7d72:c2aa with SMTP id a640c23a62f3a-ac3f25833fdmr212542266b.51.1742547223553; Fri, 21 Mar 2025 01:53:43 -0700 (PDT) Received: from localhost ([31.210.181.32]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ac3efbdc7d0sm110027366b.133.2025.03.21.01.53.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Mar 2025 01:53:43 -0700 (PDT) From: Efraim Flashner Date: Fri, 21 Mar 2025 10:53:09 +0200 Message-ID: <24890fd7c8327bd2af4923b7adb09ab49458452d.1742546953.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.48.1 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/firmware.scm (edk2-tools): Update to 202502. [arguments]: When building on armhf-linux add a phase to adjust the compiler flags. Change-Id: Ia0586cb748194e4ec0fa35c2a04cee64f1ad6521 --- gnu/packages/firmware.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index 0becefb3b08..fe2956fbfdf 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -947,7 +947,7 @@ (define-public slof-qemu (define-public edk2-tools (package (name "edk2-tools") - (version "202402") + (version "202502") (source (origin (method git-fetch) (uri (git-reference @@ -958,7 +958,7 @@ (define-public edk2-tools (file-name (git-file-name name version)) (sha256 (base32 - "0y7jfpijgi099znhzjklnsczn0k0vm1d1qznq9x2a2sa0glydsin")))) + "026h7hadzj1zflgf4qzdby3gmgcqh3m5rvn2yr92jjwn4z8c51la")))) (build-system gnu-build-system) (arguments (list #:make-flags @@ -1047,6 +1047,13 @@ (define* (make-ovmf-firmware arch) "riscv64-linux-gnu-") (setenv (string-append #$toolchain "_LOONGARCH64_PREFIX") "loongarch64-linux-gnu-")))) + #$@(if (target-arm32?) + #~((add-before 'configure 'fix-armhf-flags + (lambda _ + (substitute* "BaseTools/Conf/tools_def.template" + (("(DEFINE GCC_ARM_CC_FLAGS.*)-mstack-protector-guard=global" _ gcc-arm) + (string-append gcc-arm "-fstack-protector-all")))))) + #~()) (replace 'configure (lambda _ (let* ((cwd (getcwd))