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 aDorAFLDiV96agAA0tVLHw (envelope-from ) for ; Fri, 16 Oct 2020 15:59: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 mp2 with LMTPS id CLOFN1HDiV/4HQAAB5/wlQ (envelope-from ) for ; Fri, 16 Oct 2020 15:59:13 +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 8C3779406A2 for ; Fri, 16 Oct 2020 15:59:13 +0000 (UTC) Received: from localhost ([::1]:34420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTS8O-0001tg-CJ for larch@yhetil.org; Fri, 16 Oct 2020 11:59:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTS8F-0001sb-B5 for bug-guix@gnu.org; Fri, 16 Oct 2020 11:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTS8E-0005YF-EP for bug-guix@gnu.org; Fri, 16 Oct 2020 11:59:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kTS8E-0003O7-EJ for bug-guix@gnu.org; Fri, 16 Oct 2020 11:59:02 -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: Fri, 16 Oct 2020 15:59: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?= , 44000@debbugs.gnu.org Received: via spool by 44000-submit@debbugs.gnu.org id=B44000.160286390112973 (code B ref 44000); Fri, 16 Oct 2020 15:59:02 +0000 Received: (at 44000) by debbugs.gnu.org; 16 Oct 2020 15:58:21 +0000 Received: from localhost ([127.0.0.1]:60640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTS7Y-0003NB-Oz for submit@debbugs.gnu.org; Fri, 16 Oct 2020 11:58:20 -0400 Received: from mail-ed1-f43.google.com ([209.85.208.43]:41356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTS7X-0003Mx-G3 for 44000@debbugs.gnu.org; Fri, 16 Oct 2020 11:58:19 -0400 Received: by mail-ed1-f43.google.com with SMTP id l24so2964841edj.8 for <44000@debbugs.gnu.org>; Fri, 16 Oct 2020 08:58:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=Q6z0uGm9neZHrv0y/iofyxEVDJ95xz1c5oDatrONhNg=; b=cuzjiK8w8G2C84tkMqn8HCKtxRG7y4O59fsGDwmVavrCpb0mzx9AgtxK6MTdW8W7x6 oB7L35uxGP8saAAwotOFtgnjEGR17EsFBBjooqX2Buvh3c2sw+6548uns4xgSKBtiNN/ dn0cDOr3eHgriY81GHQF8/6cuzduKJHtUbzRp2ju2vKO18e+0RvFAOeM8oPp/qLw8frl HGokIiTNrsnmMxKIHcES5ctjzSrjzGO3DO7BYpwqwGkcAaNPIHAUiQclBnxE1Z/KixB0 YZViW0RLf0+2M3/KOwkEGDHw3SrZnWUqvwKMS5ByYLpvvpAp28WedXjLrxkOh5w0xAE+ SSBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Q6z0uGm9neZHrv0y/iofyxEVDJ95xz1c5oDatrONhNg=; b=RQ7uMUCfQlMpdctRpnhVelytK1gzYS7ISdOEom1TUKVh+V50Ew3lKS6BXogT/i+lsO /r8TClNgp3recNtwvWmbWjLDhSWk41OZ2gf6kwblUEniQU0PzA/9J/uVgewR6pntOL+H 6x6bRiKgSc3c7ZyAR2qb3kdqQFSB45BH6KxHav/PFG9h/GJYXxKZXVbXU+lOykrhagZx u/EZCP9hZCsnUnebnVL1QU0gy62ruq9CPkJJHv0v+lT6cRhqpb+L6bTn96FUg8ihuuNx Z4jjuiue4JdFlV6FW4sV4S7hzk9QaJ88op+purGT2JhHTDQ52i8Tl6DsVEVhrG6aK7/S XmRg== X-Gm-Message-State: AOAM5332E6rzv0Rna/itnfxPryFluatFnz0MQdNP08g9cf2y7qJWY2YT gr1JfHba7CZPZpFxqrRkr9gtDiIBh5E= X-Google-Smtp-Source: ABdhPJw/UJspAfAaQIc0sMb2O5TDZ+OwckdYczSdXkefcyW4TmfLiK2v0trhE2WjZB5fbLOAlVaT7w== X-Received: by 2002:a05:6402:1c04:: with SMTP id ck4mr4907642edb.274.1602863893083; Fri, 16 Oct 2020 08:58:13 -0700 (PDT) Received: from [192.168.16.145] (mail2.compnetgmbh.de. [37.24.177.210]) by smtp.gmail.com with ESMTPSA id i18sm1972603ejr.59.2020.10.16.08.58.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Oct 2020 08:58:12 -0700 (PDT) References: <87v9fccuml.fsf@inria.fr> <871ri0c4u8.fsf@gnu.org> From: Taylan Kammer Message-ID: <1325d1c4-e047-76e5-2180-672fef7238b9@gmail.com> Date: Fri, 16 Oct 2020 17:58:11 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <871ri0c4u8.fsf@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.3 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=cuzjiK8w; 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: SiU7o8TgFCnf On 15.10.2020 09:42, Ludovic Courtès wrote: > Ludovic Courtès skribis: > >> The problem is that the ‘cond-expand’ used to define ‘arch32bit?’ is a >> expansion-time thing when (cross-)building Bytestructures itself, so >> it’s 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 ‘guix pull’ in my childhurd :-)). > > Let’s 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. > > Ludo’. > - Taylan