From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ZkkvMivXiWCkTgEAgWs5BA (envelope-from ) for ; Wed, 28 Apr 2021 23:44:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KNHPLCvXiWBNJAAAB5/wlQ (envelope-from ) for ; Wed, 28 Apr 2021 21:44:11 +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 4D1AC10441 for ; Wed, 28 Apr 2021 23:44:11 +0200 (CEST) Received: from localhost ([::1]:60154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbryb-0002tJ-CA for larch@yhetil.org; Wed, 28 Apr 2021 17:44:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbryU-0002tD-4W for bug-guix@gnu.org; Wed, 28 Apr 2021 17:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42735) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbryT-0003G6-SQ for bug-guix@gnu.org; Wed, 28 Apr 2021 17:44:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbryT-0003hG-Pc for bug-guix@gnu.org; Wed, 28 Apr 2021 17:44:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48086: libtool refers to native bash instead of a cross-compiled bash Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 28 Apr 2021 21:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48086 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48086@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161964618914142 (code B ref -1); Wed, 28 Apr 2021 21:44:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2021 21:43:09 +0000 Received: from localhost ([127.0.0.1]:54281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbrxd-0003g2-E9 for submit@debbugs.gnu.org; Wed, 28 Apr 2021 17:43:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:33532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbrxb-0003fu-27 for submit@debbugs.gnu.org; Wed, 28 Apr 2021 17:43:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbrxa-0002r4-Ih for bug-guix@gnu.org; Wed, 28 Apr 2021 17:43:06 -0400 Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]:46964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbrxV-0002bJ-7Y for bug-guix@gnu.org; Wed, 28 Apr 2021 17:43:06 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by baptiste.telenet-ops.be with bizsmtp id yMiu2400b0mfAB401Miv0G; Wed, 28 Apr 2021 23:42:55 +0200 Message-ID: <1cc7dfe8243ad4618be455688ba1e12b8ee3deed.camel@telenet.be> From: Maxime Devos Date: Wed, 28 Apr 2021 23:42:26 +0200 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-SMf83yJ5ivaikrwU8jIr" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1619646175; bh=XRny4ZUvxDQCvxh9UgrlofNrnyUmqnDSn/MxSEjfTxY=; h=Subject:From:To:Date; b=ZLyqWniksf5VyHzjOEfm8Slcuqwnpv1CmxlzulQV9eGgIhiGXVNh+tASQ6b9xmBPl pZ2bTxjWwRK6wQ+WqGoNPyv9hAmnACKWG+x2TVzDquBnOJj8DAQRW4KFgzf7XKW7eL WB7XOLTF420D49nur5Xf/k5/fI0N5qBa+rh0BfzB79l4TRONwelXXRkp9Z9YD1LQi8 T8m5BDdZYRTb+1FF9lBPNU1pW4qKa5kyfl7n6zodM9CGvjvWjx/ihECg1jueUTawCL n3hmpMwVefTeaGgO6xvsIZDJ4rdQozd3DUW4bwyeg5iD99g4D5x4+Ysc4lqqOc9rQ6 bl9YEw3gQD/hQ== Received-SPF: pass client-ip=2a02:1800:120:4::f00:13; envelope-from=maximedevos@telenet.be; helo=baptiste.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619646251; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=XRny4ZUvxDQCvxh9UgrlofNrnyUmqnDSn/MxSEjfTxY=; b=i/e5NZRAho9uC+FVCqNVCd4/vPKgZpxxB8B/qhUxVUiWEDb+Ur0u+oTrMZcDmYD9rc94OB s2oWT/2cn9EXJ5Ol5Ag7tZ8LsIs6hZS5ODjucovho5o/aS4QVKyhiElUxOUf3RqqF2QFGc NPPNql9Yu1yHIeMF9RsOm5oGaQThlyZvzPzcVpXZUvQMGzDf7+BfXyd9QiRkZPhvTUdXGk qMwIr0sJ6r6CBQLxhFuvYkz65Lwp+jwmszvJ89F0ltBk2jFXsmKIHVkhPGOqazqIbJvXms kJCe6t4sQj4satjFPKur7hHePqvnpdxAxQe3AY3zvNRXNbiJkUKQML9l05zxiQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619646251; a=rsa-sha256; cv=none; b=JhpP9GJqjAlIqZF7RHRtrN5f4m/gQ7z2Y33Hm1hV0eHgxVAXMQT+53qNQRw5ryMnz1Puc+ Esqc8rV+4I0OQrxbh8ZJuq6ciLb3sFAsBuSBsXPcpQWhitDvjeBzyxl/z7PVE8JIhyCyHJ Ty5DhAbhyI+kgpHtUSIrJVG7aGm4m5t+HP2kWr+sc1OP8lNhMFssq2f08tbE1MlL7pSJF5 TjK/WOS8LipEWsifHEUymxor24l3t4/V8QUIIcBDLuRb5W/7vk6t1P1TsXBgSz5l5OakYo jospVJN2ieoRCtARurdx1h7fovi4Et8nqAYNTVY6+q8K5hdqnSTkrMuE2OXVCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=ZLyqWnik; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.45 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=ZLyqWnik; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 4D1AC10441 X-Spam-Score: -3.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3My78WC6NsJJ --=-SMf83yJ5ivaikrwU8jIr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable severity: minor To reproduce: $ guix --version > guix (GNU Guix) f97e220b45aba1c10f155e760667df7ef4cae382 > [...] This is on a x86_64-linux-gnu, without transparant qemu emulation. $ guix build libtool --target=3Daarch64-linux-gnu > /gnu/store/yspdgc9wk8ap20729f6a7k0f640r6h7c-libtool-2.4.6 $ head -n 1 /gnu/store/yspdgc9wk8ap20729f6a7k0f640r6h7c-libtool-2.4.6/bin/l= ibtool > #! /gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/ba= sh $ objdump -h /gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.1= 6/bin/bash > /gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash:= \ > file format elf64-x86-64 > [...] It seems the "libtool" script refers to a native bash, instead of the cross= bash, even though I used --target=3Daarch64-linux-gnu! What I expected: a libtool package that I could run in a aarch64 VM. Why? One possible use case, replacing "aarch64-linux-gnu" with "i586-pc-gnu= ": (cross-compiled) childhurd images that have a (cross-compiled) GCC, binutil= s, autoconf, automake, make, ... in the system profile, ready for Hurd hacking= . There are also some other problems when using libtool in as a cross-compile= r, but unless you're using libtool in a Canadian cross, these are separate iss= ues, so I'll leave those for a separate bug report. Greetings, Maxime. --=-SMf83yJ5ivaikrwU8jIr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYInWwhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qd9AQDFv5Bfdpvz6EFcOfm2i3uQq6Rv 6ITHfJi6kNafEO1GngD+O4G1igvdkmWjyY/p8LDugLe4e57SEkwO1hK99NTLUQc= =v+CU -----END PGP SIGNATURE----- --=-SMf83yJ5ivaikrwU8jIr--