From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cLtZOWaaiWA+YwEAgWs5BA (envelope-from ) for ; Wed, 28 Apr 2021 19:24:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0Cj1NGaaiWDEbgAAB5/wlQ (envelope-from ) for ; Wed, 28 Apr 2021 17:24:54 +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 5F3A811F20 for ; Wed, 28 Apr 2021 19:24:54 +0200 (CEST) Received: from localhost ([::1]:60962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbnvg-0006sx-AG for larch@yhetil.org; Wed, 28 Apr 2021 13:24:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbno7-0003Zu-Pd for bug-guix@gnu.org; Wed, 28 Apr 2021 13:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbno6-0002hS-Jg for bug-guix@gnu.org; Wed, 28 Apr 2021 13:17:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbno6-0003Vv-EE for bug-guix@gnu.org; Wed, 28 Apr 2021 13:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48084: ustr fails to cross-compile, even when using cc-for-target Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 28 Apr 2021 17:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48084 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48084@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161963021313487 (code B ref -1); Wed, 28 Apr 2021 17:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2021 17:16:53 +0000 Received: from localhost ([127.0.0.1]:53990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbnnx-0003VS-6x for submit@debbugs.gnu.org; Wed, 28 Apr 2021 13:16:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:36908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbnns-0003VI-1p for submit@debbugs.gnu.org; Wed, 28 Apr 2021 13:16:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbnnm-0003Td-Ov for bug-guix@gnu.org; Wed, 28 Apr 2021 13:16:46 -0400 Received: from andre.telenet-ops.be ([2a02:1800:120:4::f00:15]:38950) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbnnZ-0002Qj-Fu for bug-guix@gnu.org; Wed, 28 Apr 2021 13:16:42 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by andre.telenet-ops.be with bizsmtp id yHGP2400D0mfAB401HGP4P; Wed, 28 Apr 2021 19:16:23 +0200 Message-ID: From: Maxime Devos Date: Wed, 28 Apr 2021 19:16:17 +0200 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-GlstVr5RPAQhMejrxMbw" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1619630183; bh=lTGRqK5bxdtH501BI9sp6eJ+40s8klsBlSmxsca1DFU=; h=Subject:From:To:Date; b=Ye768iQep1Ke5NuzFyEMzUoIW7yS0QzANKwqB2taImZWijzGKYmIJVvFZVll6U5lo NTWNynUJJCGzPCcjR6vSPZ2dWZoyS/E1iRz+QflasiScaRsJ6Pa/E+uwY2Dc1A4by5 gp8vXLK43TcgS9XqyXVEro0gSPlchn/gd7MDXjNPmX3wKWtKFxkJXpKnrUF+bBOKui dwEhC+uEHGkvYWIN9HYC8lilPFEd/1JOrtxg9nXZhGEB6IujZ0BvzK4/AjHsdZwO5a jWTDQBI4KtMW3vOQT9r4SaBagOzVNOyZoZLAWwctvkj/RzSgC0dH3ZKekTTt2WCuJ2 z3ZdiYU30FOkQ== Received-SPF: pass client-ip=2a02:1800:120:4::f00:15; envelope-from=maximedevos@telenet.be; helo=andre.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619630694; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=lTGRqK5bxdtH501BI9sp6eJ+40s8klsBlSmxsca1DFU=; b=c9sulM8uN/nj++csDMDJAFqFPggoSgbbNahN0pZiI9XU9rCM6Q/WG7h+QYrm3dDeLdE3t4 yG5WT1FVc0vV7XAxrXXcTOeqtcvr5j7tHtwTY9byREzc4FT1FQX+UOOE97m+1V9rRQSQ1t U8JTkb5wHvPCgG5qF4+r9Lb/bE4rw15jWH6f8PwFRJ6pf68vQxp44ZtchBepdDxZH50mok NlP/wtrDd8HP+Q5EZeh49AW4iRSJowxlCt+7N1bF4L3v/OM6KbOt3S3hj0MVvdITh0m9ZU Winr4qwia5WDmvKDCophkw2+bfu+6GZiyP63lmnYIrcWsxZ3Kh7e/gyrI/VRZg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619630694; a=rsa-sha256; cv=none; b=c52A6ijVFeAVP91xLZkZTDDG1HDc79igIDwHHnwSyEOZYYW4kxibnt5+HP4iePRlmul/1W 3SyYq0z3FTLtFTFsj7pGSBNevxbJ2jCv8FgXU+bgEMQLqumvPYEADwVk1oTRahWzsHGhhA pWL0zSN8sQPnPskX9mJ/E8Vl43UJ5MPdabafj6+isKN6hQLh4/mhcg1jHtuTQdwfHaKXfr fyURhkFbmWAY3GmNgZntFe5LdoxwN6dPxupYxjlxXnY+XOFWe1S1oZYQj0TCNfmlWRfDcm n+nbV0teAVC923ZqQKevegXZLI2UQ8UCzSvTkJaEH7awiIzKVWkDIV3biLdZug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=Ye768iQe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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-Migadu-Spam-Score: -3.45 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=Ye768iQe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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-Migadu-Queue-Id: 5F3A811F20 X-Spam-Score: -3.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: yuhpJVUtcQmy --=-GlstVr5RPAQhMejrxMbw Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Severity: minor This is without transparant qemu emulation, on a x86-64 Linux box. Command: ./pre-inst-env guix build ustr --target=3Daarch64-linux-gnu. (First patch ustr to use "CC=3DTARGET-gcc"). The package fails to build. Some parts of the log that seem relevant: (during configuration) sed -e "s,@HAVE_STDINT_H@,$have_stdint_h,g" -e "s,@USE_ASSERT@,$dbg1,g" -e= "s,@USE_EOS_MARK@,$dbg2,g" -e "s,@HAVE_64bit_SIZE_MAX@,$sz64,g" -e "s,@HAV= E_RETARDED_VSNPRINTF@,$vsnp,g" < ustr- conf.h.in > ustr-conf-debug.h /gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh: lin= e 1: ./autoconf_64b: cannot execute binary file: Exec format error (during compilation ustr-main.h:204:34: error: #if with no expression #if USTR_CONF_HAVE_64bit_SIZE_MAX Greetings, Maxime. --=-GlstVr5RPAQhMejrxMbw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYImYYRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7gQkAQCR6fKo0LLW2v38sbgXrCQAhfpt KZB71NucfqzYu8s8BwD8DZ/U4167h7kBV5Ajj0Hio3EFsObzzbScIcNC8dJH+gU= =zTP4 -----END PGP SIGNATURE----- --=-GlstVr5RPAQhMejrxMbw--