From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cFoOIqcBGWANVwAA0tVLHw (envelope-from ) for ; Tue, 02 Feb 2021 07:39:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KAGlHacBGWBGXgAA1q6Kng (envelope-from ) for ; Tue, 02 Feb 2021 07:39:19 +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 0DAB0940481 for ; Tue, 2 Feb 2021 07:39:19 +0000 (UTC) Received: from localhost ([::1]:50804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6qHN-0007Qu-TA for larch@yhetil.org; Tue, 02 Feb 2021 02:39:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6qHD-0007OZ-Bb for guix-devel@gnu.org; Tue, 02 Feb 2021 02:39:07 -0500 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]:41851) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6qHB-0001O8-MJ for guix-devel@gnu.org; Tue, 02 Feb 2021 02:39:07 -0500 Received: by mail-pg1-x531.google.com with SMTP id i7so14331837pgc.8 for ; Mon, 01 Feb 2021 23:39:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:user-agent:mime-version; bh=Ols5x4QgySirWB47+Or03MQvPsLJSpsfuOBMa76MJk4=; b=umvwBHFNHMq2hGdybsMm4vZOJHYk6dOi+c6XOWE78giyunOOA7+VA0BWDh3SM9lMR/ WqVI/xIXbMWo9tqf7F5iTZZT+kTak8HXV+3VU+y8MfTVB3/f0YWcGJaHxo/zL3p2Y9Ht 2V1EcEWuY0LYbsm0PF5GUB7ToghdP0ozUFB35Pz4xQzTsu2meBsgiJeeYf/7jhySdF+P Hxc6NSzTFxScL3IaOw37x56agCNpEJ+luXZlE4Gqz7+VV9VSucTGJiHLjEzaDls2ppRP yRnVWjPYvYTKUn76HSQBjtQjbmPcX5MEbXlYT7/z2KWqyBf/Jz4u6/9DDdQJByQkt7if EcFA== 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:user-agent :mime-version; bh=Ols5x4QgySirWB47+Or03MQvPsLJSpsfuOBMa76MJk4=; b=GgaHxXNQWEMoGmND18hFF7KAyr/VIcRE7HwJNm1hP4FbdMQYUjB4m18siT2EwWtltj 0L9ZFR1KjIC4OwOWOzH7eQg6A6yiHi3JP41aMl6jkd8jp0kPZDOAL46iMGXFGsuKtBDD LoITS4JOEXVUcejeg5Qy8v/oaUO5x9jTJW1hqam3hNYhyfb3jzoL0Bh9XVxDnV0Kq883 tcp5iwSXoykm0o9K4zDZmyXmC9SW+PqYXZtgwzSlfFdnIj2T2VQxjuqGN3Ya6IslYC6Q OEB6CfJMqd/OZwEAlazBmDH6B6oGNQFkiSPVQotYIF7ht8F0zhDGCOfIimDwSjgD08PE dVWg== X-Gm-Message-State: AOAM531kHbw/fnj54KzTeHq+Egs69pGFX+wF/bA4oSj+KQj181ITMoJa Pbw4F9DkiGkOBaTQHGKrb/gCTAzQCMSmww== X-Google-Smtp-Source: ABdhPJxxgFHdHCX6Ty3D9c/t6sX2nSu+N/hqxtWkK/2E75ZId+HulonGCjALs89mrks1kVrLxFuRLQ== X-Received: by 2002:a05:6a00:16c7:b029:1bc:6eb9:ee47 with SMTP id l7-20020a056a0016c7b02901bc6eb9ee47mr20635431pfc.0.1612251542157; Mon, 01 Feb 2021 23:39:02 -0800 (PST) Received: from garuda-lan (c-24-18-44-142.hsd1.wa.comcast.net. [24.18.44.142]) by smtp.gmail.com with ESMTPSA id j6sm20384405pfg.159.2021.02.01.23.39.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Feb 2021 23:39:01 -0800 (PST) From: Chris Marusich To: Efraim Flashner Subject: PowerPC: reference to static-bash-for-glibc in binutils-final Date: Mon, 01 Feb 2021 23:38:57 -0800 Message-ID: <875z3aor5a.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2607:f8b0:4864:20::531; envelope-from=cmmarusich@gmail.com; helo=mail-pg1-x531.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.66 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=umvwBHFN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 0DAB0940481 X-Spam-Score: -2.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: iU3FT7FhaxSN --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Efraim, The other day, I asked on IRC why it's OK for binutils-final to refer to static-bash-for-glibc on powerpc architectures, like in commit 2da8fcfdee7cfde8110a68806f3c4d497f217fe5, but it isn't OK on other architectures. You said, "there's an extra file that's a bash script specific to powerpc machines. I suppose we could just un-patch-shebang it back to /bin/sh". Thank you for taking the time to respond! When I build binutils-final on powerpc64le-linux, I get this message: output (`/gnu/store/n2ivj40h30wa55qwp9dazzfywqb6s6vz-binutils-2.34') is not= allowed to refer to path `/gnu/store/vnshq5g4ghhbr6c3s69q9p8fp6hr0gpx-boot= strap-bi naries-0' Looks like the file in question is embedspu, and it does refer to sh like you said: marusich@suzaku:~$ grep -r /gnu/store/vnshq5g4ghhbr6c3s69q9p8fp6hr0gpx-boot= strap-binaries-0 /gnu/store/n2ivj40h30wa55qwp9dazzfywqb6s6vz-binutils-2.34 /gnu/store/n2ivj40h30wa55qwp9dazzfywqb6s6vz-binutils-2.34/bin/embedspu:#!/g= nu/store/vnshq5g4ghhbr6c3s69q9p8fp6hr0gpx-bootstrap-binaries-0/bin/sh Well, what's that script, anyway? The first lines say: #!/gnu/store/vnshq5g4ghhbr6c3s69q9p8fp6hr0gpx-bootstrap-binaries-0/bin/sh # Embed an SPU ELF executable into a PowerPC object file. OK, so yeah, it's probably necessary on various PowerPC architectures, that seems clear now. But would changing this to /bin/sh actually work? If we changed the reference to /bin/sh, wouldn't it cause problems in build environments, since /bin/sh isn't available there? Anyway, I'm fine with making a change like 2da8fcfdee7cfde8110a68806f3c4d497f217fe5 for powerpc64le-linux, since it clearly seems like a necessary reference on that architecture. That's probably what I'll do. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmAZAZEACgkQ3UCaFdgi Rp3ddRAAmcQEaLW4F/s6w94gnqhHRrpBcyvwUxrlEhPztO+aREBCi2ET5Kg5UOxu WEQE5gokOtf8tz/a/1M5GiF4tM7zDD28zXZ0ogGS3kUupxO6yIRkbXIyQiWAaRNS 1m/iGkqMHi9lCrbYBhKS4dN7TUjgbdZmIMeKVcpfL6oLxBpQeHkt9RuYOGX8OMib ydrLMj3P4JKCrg0VNCl4FjDXhRUooSZjwkn6dOEH81NPERXUvqEPKL72wjWW2vvH QaAkjI/szFAejWiyajqpv6FSpAUPREGOevH+GiTuHajpCkVMme6sIRS6/94RvkQi F8n16eIMos8q9VJIB0wDkpsQwzj8c/bNa8PhxVBciDD91wken1zReljMeHbRERe0 1oB4WIfxKlxCacT2WSrgLf4J+puMlJzy484vacv1wTROTKgv9EL6uTphXjyHpS8Q twxJ5BRRraNlcYGjopbcmQLUdg/S9VZbPB4pSUghNIukl8uqrWEIbagMV9MHXwpq QTGT92CeOoUOB9XCGC5EEOadwFJxt9S/mKWDrgvEXz7KLtY5mD/BTMxVHIXy5tCT i6Z7+FrJdnVNOfZnJ6ZyzOPQn9t4F3tzshvPkFwRVTSnjXjd1EO5+PYSZYBnZTyY 9BdLbcSNE1JHY4c1VD01fQmHVjFmC11ADQmsAMcid7IKbq8YJLc= =uQ8F -----END PGP SIGNATURE----- --=-=-=--