From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CEMiGulxJmKvgQAAgWs5BA (envelope-from ) for ; Mon, 07 Mar 2022 21:58:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SMe1F+lxJmKX6wAA9RJhRA (envelope-from ) for ; Mon, 07 Mar 2022 21:58:17 +0100 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 18697475AF for ; Mon, 7 Mar 2022 21:58:17 +0100 (CET) Received: from localhost ([::1]:55738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRKQq-0008TY-8L for larch@yhetil.org; Mon, 07 Mar 2022 15:58:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRKQc-0008Qy-5h for guix-patches@gnu.org; Mon, 07 Mar 2022 15:58:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60822) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRKQb-0005uc-SI for guix-patches@gnu.org; Mon, 07 Mar 2022 15:58:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nRKQb-00046Y-R8 for guix-patches@gnu.org; Mon, 07 Mar 2022 15:58:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54235] [PATCH 2/3] gnu: Add ck. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Mar 2022 20:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54235 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 54235@debbugs.gnu.org Received: via spool by 54235-submit@debbugs.gnu.org id=B54235.164668666415749 (code B ref 54235); Mon, 07 Mar 2022 20:58:01 +0000 Received: (at 54235) by debbugs.gnu.org; 7 Mar 2022 20:57:44 +0000 Received: from localhost ([127.0.0.1]:54719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRKQK-00045x-Jr for submit@debbugs.gnu.org; Mon, 07 Mar 2022 15:57:44 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:34818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRKQI-00045m-7K for 54235@debbugs.gnu.org; Mon, 07 Mar 2022 15:57:43 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id 3Yxg2700D4UW6Th01YxgtY; Mon, 07 Mar 2022 21:57:40 +0100 Message-ID: <285844ee246d8678ab563af9372d3245303dbb28.camel@telenet.be> From: Maxime Devos Date: Mon, 07 Mar 2022 21:57:35 +0100 In-Reply-To: <87bkyhvbdu.fsf@gmail.com> References: <20220303140558.29261-1-maxim.cournoyer@gmail.com> <20220303140558.29261-2-maxim.cournoyer@gmail.com> <87bkyhvbdu.fsf@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-gvzAOLTW7dd3A/bPbuLL" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1646686660; bh=oU9udr757gRalSM9B0Ao+ooft8G1w6I4QoHY7X9g9cU=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=HoaLm+fTfDKuBb8Sah0Lef+uIFaqLtRpD3Gf66oPenUusiguGSL6dRobZ0ix7fLxg 2qRdaDHC+eSO26feUlgphjGGtSoic9rghmD5m5WaESh6yUyjOJlkc1U0GW2IxLEhr4 xfQeDsq7ozbdbxXYRgE13BLzMtkJ0Spb1r1lyVNFma6Cckcn5xR1hom8ni4KSLquL7 nKwegP6GgYKQ4MNzukIIQygwy++pB1dGH68i24CDHLT1VxVoXYrXo4tBohVQ/K/HMN 7Bmnm55qn6vMarLbH4DqbZXgTYPiz0uOd0XChABHQWSwB+5tFpra3UMVxWu+2+3WM8 rEtO0lylzulMg== 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646686697; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=oU9udr757gRalSM9B0Ao+ooft8G1w6I4QoHY7X9g9cU=; b=sKqpS/basWG/tAKFdyBSCTI66wea8XlBlDcbSgbFta2DBsCeSzHNUw9CHVZ/T3yQBx1om2 ihHyx+eIyn4MdJyZQf2tIe5E9cyvJUNRTXRZsNeCq03pSMMUUtUBltC4JXgFIpIDdiqAN+ ckZ6j9x5FoyVoOIzFWTgYe4Vt+EaErUH4il/NHrxe4WjxBPvCdvuzlWIVLG+JqdlAiaSDT ib5hcO7Zm1ogKDKiD0np/E5EtC+o/9Gq26b/FYzDvF00vPAAabZaVmf2tEShlkOXCrvVfv XTTK4F6Zyr6x8zwy4zMOA8JBdHCKpH1QLAVJUac2JVGjP0nej3mwjtffighr/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646686697; a=rsa-sha256; cv=none; b=onhseZk5Vhx9vTmo47ycSWq9aDguFTwdyKw3gY/J/dpnCIdP3Ij8Ntmo+4XqTJcMwQ9gcJ xpEY+upWGOFbsDbdc0kA8mSQ5N0Azz6MesyyJHhr2a9PJyzHDyOuabxTs6ZGeh6ZunYY7I ew4magh+TV8RNG2KximAB6KthC5ETiSu5VAoBvnCyeIB9Fu/tNuDp6PDrMIWkE1grhdgyU 6YZgV2o2u/QR1L7p6Z/yEgf6Bmc7C3WWJ575e081OFKHhqabP9HlcLs5zTlutv7AQuTPKN eJbGOrm1IY2j2P0xbomkHpl5Quh6LjuxpgPWQEELPpKYScxXR9yP1wEQmolsEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=HoaLm+fT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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" X-Migadu-Spam-Score: 2.38 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=HoaLm+fT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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" X-Migadu-Queue-Id: 18697475AF X-Spam-Score: 2.38 X-Migadu-Scanner: scn0.migadu.com X-TUID: FQIT1cOoRwE6 --=-gvzAOLTW7dd3A/bPbuLL Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Maxim Cournoyer schreef op ma 07-03-2022 om 13:57 [-0500]: > It seems to be handled alright as it is; at least I was able to build > with: >=20 > ./pre-inst-env guix build --target=3Darm-linux-gnueabihf ck > [...] > done with offloaded '/gnu/store/m1gv4a1q9cv3ig9v4bymb9wd9l6g93y3-ck-0.7.1= .drv' > successfully built /gnu/store/m1gv4a1q9cv3ig9v4bymb9wd9l6g93y3-ck-0.7.1.d= rv > /gnu/store/n6ipif548pxk0319kpchpxa7h5z6pzcm-ck-0.7.1 Unfortunately, that is a rather unreliable check. This only checks that 'ck' could be compiled, but it does not check that 'ck' was actually compiled for arm-linux-gnueabihf instead of (%current-system). It might still be the case that 'gcc' is used instead of '$TARGET-gcc' Could you run 'file' against /gnu/store/[...]/bin/* to verify things? On my x86-64-linux-gnu system, for a native binary, I get: a.out: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc- 2.33/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, not stripped I'm not sure what you would get for an arm-linux-gnueabihf but it probably should not include '64-bit' or 'x86-64'. Assuming you have QEMU emulation _disabled_, you can also try running the binary on your (presumably non-arm) system and verify that it fails to start. Greetings, Maxime. --=-gvzAOLTW7dd3A/bPbuLL 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+4iGRcl7gUCYiZxwBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ivyAQDHIwocbFfx1MyOdPMLut77aIxx eTLw6/eR7oQzTZ+B0gEA/UvnExqXIgfmryIAcxMk3lb7mIlboR7VRSRiAcspKws= =9V67 -----END PGP SIGNATURE----- --=-gvzAOLTW7dd3A/bPbuLL--