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 QPJDKjqosl+PbwAA0tVLHw (envelope-from ) for ; Mon, 16 Nov 2020 16:26:34 +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 AKYkJjqosl/zSwAA1q6Kng (envelope-from ) for ; Mon, 16 Nov 2020 16:26:34 +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 21E859401BF for ; Mon, 16 Nov 2020 16:26:34 +0000 (UTC) Received: from localhost ([::1]:42298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kehKq-00016u-UW for larch@yhetil.org; Mon, 16 Nov 2020 11:26:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keh5u-0002YV-Tj for bug-guix@gnu.org; Mon, 16 Nov 2020 11:11:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45291) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keh5r-0000L6-7p for bug-guix@gnu.org; Mon, 16 Nov 2020 11:11:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1keh5r-0001zl-3j for bug-guix@gnu.org; Mon, 16 Nov 2020 11:11:03 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 16 Nov 2020 16:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44000 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Taylan Kammer Received: via spool by 44000-submit@debbugs.gnu.org id=B44000.16055430477568 (code B ref 44000); Mon, 16 Nov 2020 16:11:03 +0000 Received: (at 44000) by debbugs.gnu.org; 16 Nov 2020 16:10:47 +0000 Received: from localhost ([127.0.0.1]:56832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keh5b-0001xx-8c for submit@debbugs.gnu.org; Mon, 16 Nov 2020 11:10:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keh5Z-0001xL-7A for 44000@debbugs.gnu.org; Mon, 16 Nov 2020 11:10:46 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35884) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keh5T-000083-Nw; Mon, 16 Nov 2020 11:10:39 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48920 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1keh5T-000471-9W; Mon, 16 Nov 2020 11:10:39 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87v9fccuml.fsf@inria.fr> <871ri0c4u8.fsf@gnu.org> <1325d1c4-e047-76e5-2180-672fef7238b9@gmail.com> <87mu0kn3wh.fsf@gmail.com> <87blgy39q7.fsf@gnu.org> <87ft66umhj.fsf@gmail.com> Date: Mon, 16 Nov 2020 17:10:37 +0100 In-Reply-To: <87ft66umhj.fsf@gmail.com> (Taylan Kammer's message of "Thu, 22 Oct 2020 20:47:04 +0200") Message-ID: <87o8jxuvsy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44000@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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-Spam-Score: -1.51 X-TUID: ubREzz+oAGCl Hi Taylan, Apologies for the delay, it seems I hadn=E2=80=99t noticed your reply. Taylan Kammer skribis: > Yes, you're right. I've made another release (1.0.9), where I use > > (environment '(guile) '(bytestructures guile numeric-data-model)) > > for the 'base-environment' binding in case we're running on Guile. > > It now gives me correct results locally (woe on me for not having > properly tested the previous one) so I think it should definitely work > when cross-compiling too, since the 'eval' is sure to be executed at > run-time and not compile-time... 1.0.9 seems to help my rather involved use case (Guix cross-compiled to GNU/Hurd from x86_64-linux, then running =E2=80=98guix pull=E2=80=99, which= depends on Guile-Git, which uses Bytestructures) but it still eventually crashes: --8<---------------cut here---------------start------------->8--- ludo@childhurd ~$ /gnu/store/mxi1za8gdq77438ywgzdzy2zywb9nk76-guix-1.2.0rc1= -1.3ba6ffd/bin/guix pull Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... receiving objects 25% [############# = ]Illegal instruction --8<---------------cut here---------------end--------------->8--- The problem may well be elsewhere though. However, at the REPL I can no longer access the =E2=80=98numeric=E2=80=99 m= odule: --8<---------------cut here---------------start------------->8--- ludo@childhurd ~$ /gnu/store/mxi1za8gdq77438ywgzdzy2zywb9nk76-guix-1.2.0rc1= -1.3ba6ffd/bin/guix repl GNU Guile 3.0.4 Copyright (C) 1995-2020 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guix-user)> ,m(bytestructures body numeric) While executing meta-command: error: environment: unbound variable scheme@(guix-user)> (@@ (bytestructures body numeric) arch-32bit?) While compiling expression: error: environment: unbound variable --8<---------------cut here---------------end--------------->8--- Thoughts? Thanks, Ludo=E2=80=99.