From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wIYTFMioLmAKEwAA0tVLHw (envelope-from ) for ; Thu, 18 Feb 2021 17:50:00 +0000 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 wDfQD8ioLmCPBQAAB5/wlQ (envelope-from ) for ; Thu, 18 Feb 2021 17:50:00 +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 DE68631C71 for ; Thu, 18 Feb 2021 18:49:59 +0100 (CET) Received: from localhost ([::1]:57246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCnR8-00074r-Rm for larch@yhetil.org; Thu, 18 Feb 2021 12:49:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCnQT-0006tS-Bt; Thu, 18 Feb 2021 12:49:17 -0500 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:56192) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCnQL-00023n-J4; Thu, 18 Feb 2021 12:49:14 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 032631AA2F; Thu, 18 Feb 2021 09:49:05 -0800 (PST) From: Vagrant Cascadian To: Jan Nieuwenhuizen , guix-devel@gnu.org Subject: Re: Update on wip-arm-bootstrap In-Reply-To: <87blco9v58.fsf@gnu.org> References: <87blco9v58.fsf@gnu.org> Date: Thu, 18 Feb 2021 09:48:32 -0800 Message-ID: <87h7m91d3j.fsf@yucca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bug-mes@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.03 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: DE68631C71 X-Spam-Score: 0.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: mYQYbEM+Kie1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2021-02-13, Jan Nieuwenhuizen wrote: > Let's try to bisect where the problem is; we now have tree first > candidates: gcc-core-mesboot0, glibc-mesboot0 and binutils-mesboot0. > Luckily, Debian "woody" carries an almost compatible set. Doing > someting like > > --8<---------------cut here---------------start------------->8--- > guix environment --ad-hoc binutils patchelf wget > wget http://archive.debian.org/debian/pool/main/g/glibc/libc6_2.2.5-11.8_= arm.deb > ar x libc6_2.2.5-11.8_arm.deb=20 > tar xf data.tar.gz=20 > wget http://archive.debian.org/debian/pool/main/g/glibc/libc6-dev_2.2.5-1= 1.8_arm.deb > ar x libc6-dev_2.2.5-11.8_arm.deb=20 > tar xf data.tar.gz=20 > wget http://archive.debian.org/debian/pool/main/b/binutils/binutils_2.12.= 90.0.1-4_arm.deb > ar x binutils_2.12.90.0.1-4_arm.deb=20 > tar xf data.tar.gz=20 > wget http://archive.debian.org/debian/pool/main/g/gcc-2.95/gcc-2.95_2.95.= 4-27_arm.deb > ar x gcc-2.95_2.95.4-27_arm.deb > tar xf data.tar.gz=20 > patchelf --print-interpreter usr/bin/as > /lib/ld-linux.so.2 > patchelf --set-interpreter $PWD/lib/ld-linux.so.2 usr/bin/as > usr/bin/as > Illegal instruction > --8<---------------cut here---------------end--------------->8--- > > Hmm...does it? Using gdb, the problem looks... > > --8<---------------cut here---------------start------------->8--- > Program received signal SIGILL, Illegal instruction. > 0xb6ff3b6c in writev () from /home/janneke/src/debian/lib/ld-linux.so.2 > (gdb) disas /r > Dump of assembler code for function writev: > [..] > 0xb6ff3b58 <+28>: 05 20 a0 e1 mov r2, r5 > 0xb6ff3b5c <+32>: 07 10 a0 e1 mov r1, r7 > 0xb6ff3b60 <+36>: 00 80 90 e5 ldr r8, [r0] > 0xb6ff3b64 <+40>: 06 00 a0 e1 mov r0, r6 > 0xb6ff3b68 <+44>: 92 00 90 ef svc 0x00900092 > =3D> 0xb6ff3b6c <+48>: 00 40 a0 e1 mov r4, r0 > --8<---------------cut here---------------end--------------->8--- > > ...pretty familiar. So, what's going on here? Do the "woody" > binaries not run on novena? My guess would be OABI (debian "arm" architecture) vs. EABI (debian "armel" or "armhf" architectures). The hardware may likly support OABI, but the kernel may need a compatibility layer enabled. https://wiki.debian.org/ArmPorts live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYC6ocAAKCRDcUY/If5cW qiyfAQCWn1hlLANxQEMly4w76mpmHMqsqTeZjfN3d51DxBLkIwD+K/b2m7VaKCvW HhvGGdkCc24dDTkZp1l1mYczpuLG4Qs= =x192 -----END PGP SIGNATURE----- --=-=-=--