From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8FbRLQQyz2CVHgAAgWs5BA (envelope-from ) for ; Sun, 20 Jun 2021 14:18:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SLRhKQQyz2AAegAAB5/wlQ (envelope-from ) for ; Sun, 20 Jun 2021 12:18:12 +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 D5151BA5A for ; Sun, 20 Jun 2021 14:18:11 +0200 (CEST) Received: from localhost ([::1]:40026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luwOv-00051l-MN for larch@yhetil.org; Sun, 20 Jun 2021 08:18:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luwOo-00051O-DU for bug-guix@gnu.org; Sun, 20 Jun 2021 08:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49885) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luwOo-0003FV-1F for bug-guix@gnu.org; Sun, 20 Jun 2021 08:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luwOn-0002Rf-J0 for bug-guix@gnu.org; Sun, 20 Jun 2021 08:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49113: aarch64-linux-gnu cross-compiler fails to build [core-updates] Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 20 Jun 2021 12:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49113 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49113@debbugs.gnu.org Received: via spool by 49113-submit@debbugs.gnu.org id=B49113.16241914489357 (code B ref 49113); Sun, 20 Jun 2021 12:18:01 +0000 Received: (at 49113) by debbugs.gnu.org; 20 Jun 2021 12:17:28 +0000 Received: from localhost ([127.0.0.1]:33198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luwOF-0002Qr-Uz for submit@debbugs.gnu.org; Sun, 20 Jun 2021 08:17:28 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:35308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luwOD-0002Qh-0j for 49113@debbugs.gnu.org; Sun, 20 Jun 2021 08:17:26 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by xavier.telenet-ops.be with bizsmtp id KQHP250010mfAB401QHPv0; Sun, 20 Jun 2021 14:17:23 +0200 Message-ID: From: Maxime Devos Date: Sun, 20 Jun 2021 14:17:14 +0200 In-Reply-To: References: <87233e500b6fbde614181369dfdb4535b3471c4d.camel@telenet.be> <7bf9667b405c900fb484521964c10d0a718fab04.camel@telenet.be> <875yybikkc.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-ybn8fWO952c+zjD+g5Ea" 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=1624191443; bh=U7vahxpib/fh22txgUBqZNS1KpUmag9vdN4bSwzJYeM=; h=Subject:From:To:Date:In-Reply-To:References; b=Hw3aGRbDQwKiCK+3x9LdMnREiX58f5O8m4eCX0foEMMzD2yivFNlYPE6rldG3kcb8 MEYfIB7BqbLhJ0cXcoUN1DwnDBNl2CfDp3cl0/NPLEvKH8tu5u20WrPigvyKe17K88 2jyWC3McHFl39TNwRqe1Q2C/jUzan+epyFgM0XD7SU9AKbj7K8qVJQHrp/SDO2rV4W US9wqAm21Xwo987POOeqduJm20QAED/qEG0FvwhrazD1nauket8R14/vT9wnRdonE2 Fx+n7i2uhOc9aN7xD06d64//Ni5g/SziTqDEL8+chN8VaTwY9I+9lmNVFtfyF2ff/h +sGJ6hbXn6L4g== 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=1624191492; 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:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=U7vahxpib/fh22txgUBqZNS1KpUmag9vdN4bSwzJYeM=; b=I5EwBZuDC/KyQQl5l6/kay2kFWkltYCRZ8XwFTUptW/JPe4sjfpqTgxxvkFxmNr2O1Gj0i gn1DzGkpEADc6c/pKmS+dhKaheaIJGf95husY0ajuk3VoSl/dOzGoqoCr/wLK+mqNUovJo 00bvEcn/gB5FolXwNEG64yXpKennx6yvgk4Ffp5RzqvFBq8zZZeqHerzuOfMPVTfjV2ccb XSi21dvs7g/rKAUTCfMcI9WMu/nqKlC7YZVVAC6fYg1lwudxhjUyrxlnpWe88wM7362/P9 0LWs+j6TY+TYfu4rfbpwCfUpNvraRFIiXytpEEZbe4TtlvPfYAqSq7exG03HDA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624191492; a=rsa-sha256; cv=none; b=FnsrT0MUbMOWIKDZIlSMheiZH01eymA34CUl/BQR673Jx8iFLFESwfoDoTnBbmSkK7nwYS kcvHG/a7v4krfbjiXWyJrEPl23vltzywdOPGS08vWwYS4pNjg3S5AgRSHk3rg79nTTVTKR IGujncNpy75D1EdPd1gVgQbn/YE6WBrxvQnt7hGEbyxmKIaLdbk9ZrzAQDKzeSI2c9ZKp5 L4e/ujZKSTHPjVpQtG1ctGN/eQZmJPf3M15htekZwKc/xcpj3qoLHXiEGDNR5XIWn4nG5F PsJKs5Xv0bzRmX+YodfHc+DyVwcCRt0ZAdT8BYP6mFGpE5bDB1y92oD+gOOweA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=Hw3aGRbD; 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.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=Hw3aGRbD; 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: D5151BA5A X-Spam-Score: -3.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: vhQhjoX5YM2L --=-ybn8fWO952c+zjD+g5Ea Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable About 0x00000150 vs 0x00000011: 0x00000150 means D_PAGED | DYNAMIC | HAS_SYM and 0x00000011 means HAS_SYMS | HAS_RELOC Here, (from bfd/bfd-in2.h in binutils sources) /* BFD is dynamically paged (this is like an a.out ZMAGIC file) (the linker sets this by default, but clears it for -r or -n or -N). */ #define D_PAGED /* BFD contains relocation entries. */ #define HAS_RELOC 0x1 /* BFD is a dynamic object. */ #define DYNAMIC 0x40 I believe this is a dead end. Writing "int r(void){return 0;}" to a.c and running "gcc -c -shared -fpic a.c" on my x86_64 and "objdump -x a.o", I see architecture: i386:x86-64, flags 0x00000011: HAS_RELOC, HAS_SYMS start address 0x0000000000000000 (The flags are identical) Greetings, Maxime. --=-ybn8fWO952c+zjD+g5Ea 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+4iGRcl7gUCYM8xyxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vprAQD8iQ6zq2ZjGTO95iJbEyFTmjHw 7/AgR3GUZOzCgnJsKwEAmcjURvoRjAUj06mrmIEdzzky3+a9pezwsHV+pdq8mQc= =RucV -----END PGP SIGNATURE----- --=-ybn8fWO952c+zjD+g5Ea--