From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4ElVOqsti1/CcwAA0tVLHw (envelope-from ) for ; Sat, 17 Oct 2020 17:45:15 +0000 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 aKkNNqsti19oWQAAB5/wlQ (envelope-from ) for ; Sat, 17 Oct 2020 17:45:15 +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 3542F94023C for ; Sat, 17 Oct 2020 17:45:15 +0000 (UTC) Received: from localhost ([::1]:36118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTqGW-00011m-Oc for larch@yhetil.org; Sat, 17 Oct 2020 13:45:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTqGM-00010p-7n for bug-guix@gnu.org; Sat, 17 Oct 2020 13:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTqGL-0002QJ-Tr for bug-guix@gnu.org; Sat, 17 Oct 2020 13:45:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kTqGL-00020o-RZ for bug-guix@gnu.org; Sat, 17 Oct 2020 13:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong Resent-From: Taylan Kammer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 17 Oct 2020 17:45:01 +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.16029566797689 (code B ref 44000); Sat, 17 Oct 2020 17:45:01 +0000 Received: (at 44000) by debbugs.gnu.org; 17 Oct 2020 17:44:39 +0000 Received: from localhost ([127.0.0.1]:35477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTqFz-0001zx-4O for submit@debbugs.gnu.org; Sat, 17 Oct 2020 13:44:39 -0400 Received: from mail-ed1-f45.google.com ([209.85.208.45]:39423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTqFx-0001zi-El for 44000@debbugs.gnu.org; Sat, 17 Oct 2020 13:44:37 -0400 Received: by mail-ed1-f45.google.com with SMTP id t21so5969032eds.6 for <44000@debbugs.gnu.org>; Sat, 17 Oct 2020 10:44:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=IN8YRFNH2dwqANw7N30bV+wa+wz1YVHk0FsIHGxXEPg=; b=C8/3ZXLBhGhw4c4ZBKDs/krQmzhjpaCGLCwp3xTrcYfd2fBuiHGTtvkAxKjI3Yvas6 g+KdlJRQg4aFWE/q8oyaqYKunCu6npb3qeMYW+/yeZfFjp8EF0EKxlR4i/s0kot04IXB g9HCOJmEpnlDKP1mYUWdvxn3KgxbaDDp5lbDZl6TnRjS0ZxpRpiwfAIxZyerBDGmLyot roBdQB5KZVmFhB1EE1GdEONBADlPycQS9MB4qcsXVy8cwgs9g99fAtntN72rXfwFQ75G uSTJMGrrP50gZA6o79m3o3O0DhDQGt0WHEwwxwWPwyRcikDWvVVPdt5s8Qn/f8HNxLhH Y49g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=IN8YRFNH2dwqANw7N30bV+wa+wz1YVHk0FsIHGxXEPg=; b=qNHmcl+nQqkRne/1BQamsTyP2du3Vn4eZhnPtMBlfZI5sBNR2AbgZJqMRksCm8nOig t/fRvvWgkHZQnGhC3KlRg4Ubdyq2b0NRr0+K4kr9nh/BoRa/s1Gh3Dxia8hT6Ujg76ZD t7uwYEKX+w7EvBg0KCI5mqDuHenEPxbicolxLWlnXd9YaxrtfZlNBxkgI+rYLEd+OQz7 KyXvHPbz0JcUbiEEN2J1xSqiyneGeMZP326HhAtJ95MvktWaoeuhvNQrfInHX9Pl5IyS RkuaJQZTsOc030qTX34QhznVRKVD77e45nRGLrYpJyIz7Sa1f0EJzAe6ygnfcpDxAZ19 1P9Q== X-Gm-Message-State: AOAM531WvXBUcjUUzs6htYpZuZiNHY4qQD4DyIKTdU4BK/w/JKJ3+ICD IC7jbT955Yc9ecaTfj2IgDM3LQmX91A= X-Google-Smtp-Source: ABdhPJw14PZodQ7vewy+6T9t6d+EbgIOaxUxx+fzJXpWmuD0+/reN48F1pKOautvzabvChveNW7lwg== X-Received: by 2002:a05:6402:392:: with SMTP id o18mr10365560edv.283.1602956671365; Sat, 17 Oct 2020 10:44:31 -0700 (PDT) Received: from guixsd ([2a02:908:c71:ba60::5de7]) by smtp.gmail.com with ESMTPSA id h17sm5751629ejf.98.2020.10.17.10.44.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Oct 2020 10:44:30 -0700 (PDT) From: Taylan Kammer References: <87v9fccuml.fsf@inria.fr> <871ri0c4u8.fsf@gnu.org> <1325d1c4-e047-76e5-2180-672fef7238b9@gmail.com> Date: Sat, 17 Oct 2020 19:44:30 +0200 In-Reply-To: <1325d1c4-e047-76e5-2180-672fef7238b9@gmail.com> (Taylan Kammer's message of "Fri, 16 Oct 2020 17:58:11 +0200") Message-ID: <87mu0kn3wh.fsf@gmail.com> 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: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=C8/3ZXLB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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-Spam-Score: 1.59 X-TUID: zG0opyepvXcm Taylan Kammer writes: > On 15.10.2020 09:42, Ludovic Court=C3=A8s wrote: >> Ludovic Court=C3=A8s skribis: >>=20 >>> 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. >>=20 >> I confirm that the attached patch for Bytestructures solves the problem >> (running =E2=80=98guix pull=E2=80=99 in my childhurd :-)). >>=20 >> Let=E2=80=99s see whether it needs to be adapted for inclusion upstream. > > Hi Ludo, > > Thanks for finding finding this bug and for the patch. > > I'll try to include a portable version of the fix ASAP. I should have > time for it tomorrow. Hi again, Could you please test whether bytestructures 1.0.8 fixes the issue? Thank you! - Taylan