From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OBdFKh24JmJL5AAAgWs5BA (envelope-from ) for ; Tue, 08 Mar 2022 02:57:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AGqlJx24JmJ16gAA9RJhRA (envelope-from ) for ; Tue, 08 Mar 2022 02:57:49 +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 353F8F0A3 for ; Tue, 8 Mar 2022 02:57:49 +0100 (CET) Received: from localhost ([::1]:48402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRP6h-0005AE-OF for larch@yhetil.org; Mon, 07 Mar 2022 20:57:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nROxG-0003kX-Ht for guix-patches@gnu.org; Mon, 07 Mar 2022 20:48:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:32769) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nROxG-00070u-8l for guix-patches@gnu.org; Mon, 07 Mar 2022 20:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nROxG-0002zE-1Z for guix-patches@gnu.org; Mon, 07 Mar 2022 20:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54235] [PATCH 2/3] gnu: Add ck. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Mar 2022 01:48: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: Maxime Devos Cc: 54235@debbugs.gnu.org Received: via spool by 54235-submit@debbugs.gnu.org id=B54235.164670403711285 (code B ref 54235); Tue, 08 Mar 2022 01:48:01 +0000 Received: (at 54235) by debbugs.gnu.org; 8 Mar 2022 01:47:17 +0000 Received: from localhost ([127.0.0.1]:54899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nROwX-0002vw-41 for submit@debbugs.gnu.org; Mon, 07 Mar 2022 20:47:17 -0500 Received: from mail-qk1-f175.google.com ([209.85.222.175]:37635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nROwV-0002vg-NQ for 54235@debbugs.gnu.org; Mon, 07 Mar 2022 20:47:16 -0500 Received: by mail-qk1-f175.google.com with SMTP id s16so5403114qks.4 for <54235@debbugs.gnu.org>; Mon, 07 Mar 2022 17:47:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=hPzkVMKNCzN7KX9o9alwNbSI5OYnPdhH1EqVWL7I2XA=; b=os6OqNHHHNPD9zLOjIo8PjevwqqhiaXsG6ESLaWuU3ECsPiCutLDSOSGRisstplI53 99wgVbi2v0/RV96WVoTq8YttDQ7or45LQ5B4RYMuNNSb0FftNCytXo0hrdEGPeAMBY3t hQbggg9s/9/yDbcmne4aiBuxkA3hb2TPcn8AvXmxTDS2kXbI7ILlHDcaB7K7oKanEW5A l6/NRAcnumWLJK25xx2XMcbW8HH0xbZCMzZLOQoxRXThDgoIh6EsTqTIMHxkdSwvFNfC r0owdhW8VibFZxzUel4YegVmd8wmZ/jw/0C+NSGCbPO2s7dMzqyH4k07BbnXT6iYRDSw DEnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=hPzkVMKNCzN7KX9o9alwNbSI5OYnPdhH1EqVWL7I2XA=; b=vpdZ5c+E6qIl6ecEhxoNnoCt2A6X9CanfBkG6pmZjoRmVyL0PpIIUBywUPRCdQKeb5 6nZiOA/D/hZLVqQN51Jrb6kpSD90izagDdTCMcr+GQ2AnwvkZvXfqPI7EHnnwaB11ExK rTjw9dkufE1BYxH99AoqesnEFBbM2UI1Qkx4aloztA2FiheLhWyShnaZLrGSx7w0p34H Gwr//mr1SaxD9RWbV9XN4XcYB6kHuqxYNV3WCN6s3lYXgfyN1mq93VPJ8/IPLm2JMZ+K ILhwruNRRBX79oJSOrtXC0MM+Ispc+hktojjBajpjX6HXAFK+4Njf5wbBEVQGN9IJ0Gr kwrQ== X-Gm-Message-State: AOAM530ZPCLeeXCwVtTvzsGyuuXlkg8+b7waIf1YuSUUVzKfwIIiAAzZ +GMMA3yCsDU/bJy6soxCUUhxo5wHekE= X-Google-Smtp-Source: ABdhPJwB09S1WNJn/h4B30zGGCE2gMTd0I8ubFHQt3mmOfxzBd0NEGGK5+pOtVAUrP7qxrhXkW1qaw== X-Received: by 2002:a05:620a:706:b0:648:bea3:c6e5 with SMTP id 6-20020a05620a070600b00648bea3c6e5mr9067790qkc.343.1646704029739; Mon, 07 Mar 2022 17:47:09 -0800 (PST) Received: from hurd (dsl-205-151-56-54.b2b2c.ca. [205.151.56.54]) by smtp.gmail.com with ESMTPSA id o3-20020a05622a008300b002e06a103476sm1954162qtw.55.2022.03.07.17.47.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Mar 2022 17:47:09 -0800 (PST) From: Maxim Cournoyer References: <20220303140558.29261-1-maxim.cournoyer@gmail.com> <20220303140558.29261-2-maxim.cournoyer@gmail.com> <87bkyhvbdu.fsf@gmail.com> <285844ee246d8678ab563af9372d3245303dbb28.camel@telenet.be> Date: Mon, 07 Mar 2022 20:47:08 -0500 In-Reply-To: <285844ee246d8678ab563af9372d3245303dbb28.camel@telenet.be> (Maxime Devos's message of "Mon, 07 Mar 2022 21:57:35 +0100") Message-ID: <8735jtusf7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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=1646704669; 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=hPzkVMKNCzN7KX9o9alwNbSI5OYnPdhH1EqVWL7I2XA=; b=XW8zQFJfLN05oYsZZsTjVyoiFEzAxdCLqq7swJt6NO+JI3TF35Gq5tXCFAN0/Ldqw0SJJE Or0oxZad6bU8pLW5cCOgkwgsbT6c2DILAqJbwNXXcYDG4mV29wotqOsMJTOn0AsA9flWwa vnwug6a2OTHtkOOglYQPLdQ9Ufsn4HpUXPi/6QOjn2/b28yYVTLyPJZx/EE7fk4hhVpsR7 4nSYy6pr60FO5C8q/EuJNDFHpGNYSh3i3tFHlZeip4JRLLd0yql5LN0Mqg49w902R/7adz mwmNBbb3xbaLlVGX6Pyao89uj0uUXTl6hcDe3+xU9rLczGTQZWEAm+72zPIB0Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646704669; a=rsa-sha256; cv=none; b=p75y0w8tvhqMsDaFXlD/rgkdakTAIq9HGPkFc0C++gPDpWLkSR0jsR17dB1eRyNhn/b9Zc 4iAmRc2/DYaSDNChxNbrn4cq8GPZ2xinEKk4b4dxMzoOLp8o9nyD4ZBWx64gfxImWlry6O eH9ISo2290F6vtI+X3bLldYz6I6pCrWP2B4TVMWbVf5bw56TbFzXKvhObTxo7Oxx+EgkLG MulI7lP0s8VPlublg68+3dNzs1y5Wdl3r9jb7HgPlUPPfNJQ/zRxtPGu46wiaMt8JqATiq kiewHY9a9qrHYOn+Nso3neOn0A/V4Rs+aNgU+/iiOTWubs/moLfJt0WLuVjOkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=os6OqNHH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 4.88 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=os6OqNHH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 353F8F0A3 X-Spam-Score: 4.88 X-Migadu-Scanner: scn0.migadu.com X-TUID: UZsb9gzNcZz9 Hi Maxime, Maxime Devos writes: > 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: >> >> ./pre-inst-env guix build --target=arm-linux-gnueabihf ck >> [...] >> done with offloaded '/gnu/store/m1gv4a1q9cv3ig9v4bymb9wd9l6g93y3-ck-0.7.1.drv' >> successfully built /gnu/store/m1gv4a1q9cv3ig9v4bymb9wd9l6g93y3-ck-0.7.1.drv >> /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'. Good catch, you are right: --8<---------------cut here---------------start------------->8--- $ file /gnu/store/n6ipif548pxk0319kpchpxa7h5z6pzcm-ck-0.7.1/lib/libck.so.0.7.1 /gnu/store/n6ipif548pxk0319kpchpxa7h5z6pzcm-ck-0.7.1/lib/libck.so.0.7.1: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped --8<---------------cut here---------------end--------------->8--- I'll be sending a V2 once I've fixed cross-compilation. Another -1 for custom/borked configure script, eh! Thanks, Maxim