From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2CzDAAhVUGD7JwAA0tVLHw (envelope-from ) for ; Tue, 16 Mar 2021 06:49:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EAksOAdVUGAvaAAA1q6Kng (envelope-from ) for ; Tue, 16 Mar 2021 06:49:43 +0000 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 6FD95DB15 for ; Tue, 16 Mar 2021 07:49:43 +0100 (CET) Received: from localhost ([::1]:58734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lM3WQ-0004ry-Kd for larch@yhetil.org; Tue, 16 Mar 2021 02:49:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lM3Up-000368-MM for guix-patches@gnu.org; Tue, 16 Mar 2021 02:48:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54620) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lM3Up-0005YD-EB for guix-patches@gnu.org; Tue, 16 Mar 2021 02:48:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lM3Up-0001fM-DA for guix-patches@gnu.org; Tue, 16 Mar 2021 02:48:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47182] [PATCH 06/18] gnu: binutils-final: Provide bash for binary on powerpc-linux. Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Mar 2021 06:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47182 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47182@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 47182-submit@debbugs.gnu.org id=B47182.16158772326217 (code B ref 47182); Tue, 16 Mar 2021 06:48:03 +0000 Received: (at 47182) by debbugs.gnu.org; 16 Mar 2021 06:47:12 +0000 Received: from localhost ([127.0.0.1]:37904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM3Tz-0001bv-G9 for submit@debbugs.gnu.org; Tue, 16 Mar 2021 02:47:11 -0400 Received: from mail-pl1-f181.google.com ([209.85.214.181]:38354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM3Tp-0001ZR-LO for 47182@debbugs.gnu.org; Tue, 16 Mar 2021 02:47:04 -0400 Received: by mail-pl1-f181.google.com with SMTP id s7so16479645plg.5 for <47182@debbugs.gnu.org>; Mon, 15 Mar 2021 23:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mCgfOotGcdYTEew0k371CAxUFvruEfYAIRiJ3PtePdY=; b=fTKJzLek7ufqy8WEw5AI94GqytgGI0Lm7FZkeYoB99KPCOzAHj8L9q4xGhOpnHF3in N+c6AXafBPNhJl5rApb1Eyy6uIQ1CiFYY9Yr1zmzlqwi0jOnMnPuadVMqnIHEf3nMdp5 K9JCXLmtYDKg/qs3gosI2kI9G4a4EPXEfusB1FDrDvq0wr5o3+h6Y5wo/U1lz4vW61ms p1HF0f8Am9mlArgXVZSJWDcV/0ulgQGGnqNkPk6FjitcMX37hYt4yXFRPji7QJJuqif2 0LezjQjVUfMAUqAM8e2KWOxpRlxWS1amPfKMQ3vQ5mDWKDiqqgYT4G/sYJMym1139Wg5 RvWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mCgfOotGcdYTEew0k371CAxUFvruEfYAIRiJ3PtePdY=; b=tVDMxAyMPoPsYPW872pxoSabvIJSm9EmG23bdaGzmCXKFq23Jhu8Ae3nJNnFFysVtp B93h2tWpN+2Dc6ar4dtF2YMmNY2C1a0bIwS9AdV2R16LnKGSV+eNSSTZ5KPkwWf7ZE9g jl8cSGiNJ7aO+//3ksy3AJlra9W70Y4HumF9jMiepp5sGBMT4zavei4NLxvU8YmE5bSr /kCd0VQt6EW6BD+QwpXc6YJWFGNkG8WSNwkdTYFQIGoB/xO/DVEi0+9gJwxD4uY/QcLh JB+vUyWN98ZHeM/+tXcQ8O8YMgVUBmbLh1JnBQFarDYVezTksD1+kVoq5qKPs30HJD3g KGmA== X-Gm-Message-State: AOAM532/IBqNuRBmMoy5nmQFQWigEyNjihIvwKoDLHNtm0AJ7d6JSS3W prIslLkV3tzJPdvIwhV+uurrnfjLgq9OPw== X-Google-Smtp-Source: ABdhPJzZFj7cB0bYysF8YywVNeWYtFaPASnJbxLLjYBlgGJ6IwZ7u/kPBSjg9MJpwVh6eblwPNWEPA== X-Received: by 2002:a17:90a:f82:: with SMTP id 2mr3389431pjz.196.1615877215605; Mon, 15 Mar 2021 23:46:55 -0700 (PDT) Received: from garuda-lan.lan (c-24-18-44-142.hsd1.wa.comcast.net. [24.18.44.142]) by smtp.gmail.com with ESMTPSA id r186sm15541160pfr.124.2021.03.15.23.46.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Mar 2021 23:46:55 -0700 (PDT) From: Chris Marusich Date: Mon, 15 Mar 2021 23:44:59 -0700 Message-Id: <20210316064511.2891553-6-cmmarusich@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210316064511.2891553-1-cmmarusich@gmail.com> References: <20210316062805.2890883-1-cmmarusich@gmail.com> <20210316064511.2891553-1-cmmarusich@gmail.com> 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615877383; h=from:from:sender:sender: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=mCgfOotGcdYTEew0k371CAxUFvruEfYAIRiJ3PtePdY=; b=YGGWfFyxf2DPKKP3WRVHGZWIBfDyUSMj24sdAkGyfZS18E9E6Hxcdvy+ZyXMLDG9vquamP aciSV+nlhmE2JQz//zzKVMakWreVesmgI5FFahc387ozKaLXmsCUUzlk9cZ5espVGo0f+R k+3VIW6TIwjOyGbAnUvg2EkyCYkpAtEKLbeQbsWp5zLGzEpPvOyw9CkkUK4o3FBn/KOUvF wYrm14JHDJ2Jtatgoo7p6QDX1alY0PhnD4hVus1Zp5qOJfTBlMPDWow3x33jR61AgiNlRl nH8QK+rqBlCHGUbK2sA892zl5CDtMfrBg5X6KGsjBBD3UaAWi0WQ3rIKmayv9g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615877383; a=rsa-sha256; cv=none; b=Wc7R7U7mkM+F0oAo+uIeam0ofrtmLIOYL58DMSk/AiYrGT+Bhs2chLi5qf+6czX+EaPV38 jg+/40NG7E2gjjz10aShOp2eJKgESb022m40D7FVXhLWe+vGFAoJTaHsislHKODjS83Oha rzKuvOWHJmpbuUhiugmUUU3OYCSCfjSDEEavxY0JnZkSUpL6NeMFtgWVB+ckyU3wlaYM1V XxiCnnpXddzJkEHDcLINgqKxEmDWFBZAoL1zdk2OiZVWIsdRwg/gvQqLqFdpba9CKh7eTq UxK/uJ84/EF13XraD3GOZg4YPknVkCIoblNR1jTpxAkU7QSMpRgT3v3beik67g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=fTKJzLek; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=fTKJzLek; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 6FD95DB15 X-Spam-Score: 3.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: EBieffyApEwd From: Efraim Flashner * gnu/packages/commencement.scm (binutils-final)[arguments]: On powerpc-linux allow a reference to static-bash-for-glibc. [inputs]: On powerpc-linux add static-bash-for-glibc. --- gnu/packages/commencement.scm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 86bc7a602da..c0732bbf62d 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -3514,9 +3514,19 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" (arguments `(#:guile ,%bootstrap-guile #:implicit-inputs? #f - #:allowed-references ("out" ,glibc-final) + #:allowed-references + ,@(match (%current-system) + ("powerpc-linux" + `(("out" ,glibc-final ,static-bash-for-glibc))) + (_ + `(("out" ,glibc-final)))) ,@(package-arguments binutils))) - (inputs (%boot2-inputs)))) + (inputs + (match (%current-system) + ("powerpc-linux" + `(("bash" ,static-bash-for-glibc) + ,@(%boot2-inputs))) + (_ (%boot2-inputs)))))) (define libstdc++ ;; Intermediate libstdc++ that will allow us to build the final GCC -- 2.26.2