From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mMtnEVIfiF/pKwAA0tVLHw (envelope-from ) for ; Thu, 15 Oct 2020 10:07:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6IVDDVIfiF9AYQAAbx9fmQ (envelope-from ) for ; Thu, 15 Oct 2020 10:07:14 +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 F092594023C for ; Thu, 15 Oct 2020 10:07:11 +0000 (UTC) Received: from localhost ([::1]:38364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kT0A9-0007OF-Ho for larch@yhetil.org; Thu, 15 Oct 2020 06:07:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kT0A2-0007Nc-KE for bug-guix@gnu.org; Thu, 15 Oct 2020 06:07:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kT0A2-0004wV-8Z for bug-guix@gnu.org; Thu, 15 Oct 2020 06:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kT0A2-0006vy-29 for bug-guix@gnu.org; Thu, 15 Oct 2020 06:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong Resent-From: Jan Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 15 Oct 2020 10:07:02 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 44000-submit@debbugs.gnu.org id=B44000.160275639626618 (code B ref 44000); Thu, 15 Oct 2020 10:07:02 +0000 Received: (at 44000) by debbugs.gnu.org; 15 Oct 2020 10:06:36 +0000 Received: from localhost ([127.0.0.1]:54393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT09c-0006vF-5C for submit@debbugs.gnu.org; Thu, 15 Oct 2020 06:06:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT09a-0006v3-AP for 44000@debbugs.gnu.org; Thu, 15 Oct 2020 06:06:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47457) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kT09U-0004t7-80; Thu, 15 Oct 2020 06:06:28 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=40146 helo=dundal.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kT09T-00017M-Jn; Thu, 15 Oct 2020 06:06:28 -0400 From: Jan Nieuwenhuizen Organization: AvatarAcademy.nl References: <87v9fccuml.fsf@inria.fr> <871ri0c4u8.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Thu, 15 Oct 2020 12:06:24 +0200 In-Reply-To: <871ri0c4u8.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 15 Oct 2020 09:42:55 +0200") Message-ID: <87imbbls67.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: scn0 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: FZtntZlqaQiG Ludovic Court=C3=A8s writes: Hi, > Ludovic Court=C3=A8s skribis: > >> The problem is that the =E2=80=98cond-expand=E2=80=99 used to define =E2= =80=98arch32bit?=E2=80=99 is a >> expansion-time thing when (cross-)building Bytestructures itself, so >> it=E2=80=99s incorrect from cross-building from 64-bit to 32-bit. >> >> I believe that changing it to: >> >> (define arch32bit? (memq data-model '(ilp32 lp32))) >> >> would fix it because then the test would happen at run time. > > I confirm that the attached patch for Bytestructures solves the problem > (running =E2=80=98guix pull=E2=80=99 in my childhurd :-)). Wow, beautiful! > Let=E2=80=99s see whether it needs to be adapted for inclusion upstream. Yes, sure. Greetings, Janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com