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 ms11 with LMTPS id EDLPNDRJM2BQdQAA0tVLHw (envelope-from ) for ; Mon, 22 Feb 2021 06:03:32 +0000 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 kJ6MMDRJM2AHFQAAB5/wlQ (envelope-from ) for ; Mon, 22 Feb 2021 06:03:32 +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 4E7131EBD2 for ; Mon, 22 Feb 2021 07:03:32 +0100 (CET) Received: from localhost ([::1]:51060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE4Jf-0003dD-6S for larch@yhetil.org; Mon, 22 Feb 2021 01:03:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lE4Hk-0001lg-Th; Mon, 22 Feb 2021 01:01:32 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47848) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE4Hi-0006dq-Ll; Mon, 22 Feb 2021 01:01:30 -0500 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=48072 helo=dundal.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lE4Hg-0007K2-Ed; Mon, 22 Feb 2021 01:01:30 -0500 From: Jan Nieuwenhuizen To: Danny Milosavljevic Subject: Re: Update on wip-arm-bootstrap Organization: AvatarAcademy.nl References: <87blco9v58.fsf@gnu.org> <87h7m91d3j.fsf@yucca> <874ki9cabq.fsf@gnu.org> <20210219052341.5f10e637@scratchpost.org> <871rdceg30.fsf@gnu.org> <87v9als2ag.fsf@gnu.org> <20210222020330.74832a2b@scratchpost.org> <20210222025037.76a9ca9f@scratchpost.org> X-Url: http://AvatarAcademy.nl Date: Mon, 22 Feb 2021 07:01:25 +0100 In-Reply-To: <20210222025037.76a9ca9f@scratchpost.org> (Danny Milosavljevic's message of "Mon, 22 Feb 2021 02:50:37 +0100") Message-ID: <87v9akljyi.fsf@gnu.org> 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-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: Vagrant Cascadian , guix-devel@gnu.org, 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: -2.87 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 4E7131EBD2 X-Spam-Score: -2.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: arWp3I/5jTCX Danny Milosavljevic writes: > Hi Janneke, > > I get > > gcc-mesboot.sh: line 20: 9438 Illegal instruction (core dumped) ./a.= out > > =E2=94=82 0x276b8 <__writev+32> svc 0x00000014 = =E2=94=82 > =E2=94=82 >0x276bc <__writev+36> mov r4, r0 = =E2=94=82 > > The actual problem is at the first line above--the svc with argument !=3D= 0. > > #0 0x000276bc in __writev (fd=3D2, vector=3D0xbebc54c0, count=3D10) > at ../sysdeps/unix/sysv/linux/writev.c:51 > > glibc 2.2.5:sysdeps/unix/sysv/linux/writev.c:51 > >> bytes_written =3D INLINE_SYSCALL (writev, 3, fd, CHECK_N (vector, count= ), count); > > Err.... hmm?! Hmm, I'm not seeing this (I did see something like this before). You *are* on e44b6b7eed squash! commencement: binutils-mesboot0: Support ARM. right? > You *are* patching INLINE_SYSCALL body-- Yes > so I'd guess that __ARM_EABI__ for some reason is not being defined. > > I'd suggest to #error (or at least #warning) if !__ARM_EABI__. That's a good suggestion; I'm setting it in the glibc-mesboot0 recipe ,(if (equal? triplet "arm-unknown-linux-gnu") " -D __ARM_EABI__=3D1" ""))) and it "looks like" that's being used in every compilation... Weird, Janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com