From: Jan Nieuwenhuizen <janneke@gnu.org>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: Vagrant Cascadian <vagrant@debian.org>,
guix-devel@gnu.org, bug-mes@gnu.org
Subject: Re: Update on wip-arm-bootstrap
Date: Mon, 22 Feb 2021 07:01:25 +0100 [thread overview]
Message-ID: <87v9akljyi.fsf@gnu.org> (raw)
In-Reply-To: <20210222025037.76a9ca9f@scratchpost.org> (Danny Milosavljevic's message of "Mon, 22 Feb 2021 02:50:37 +0100")
Danny Milosavljevic writes:
> Hi Janneke,
>
> I get
>
> gcc-mesboot.sh: line 20: 9438 Illegal instruction (core dumped) ./a.out
>
> │ 0x276b8 <__writev+32> svc 0x00000014 │
> │ >0x276bc <__writev+36> mov r4, r0 │
>
> The actual problem is at the first line above--the svc with argument != 0.
>
> #0 0x000276bc in __writev (fd=2, vector=0xbebc54c0, count=10)
> at ../sysdeps/unix/sysv/linux/writev.c:51
>
> glibc 2.2.5:sysdeps/unix/sysv/linux/writev.c:51
>
>> bytes_written = 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__=1"
"")))
and it "looks like" that's being used in every compilation...
Weird,
Janneke
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com
next prev parent reply other threads:[~2021-02-22 6:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-13 9:25 Update on wip-arm-bootstrap Jan Nieuwenhuizen
2021-02-18 17:26 ` Ludovic Courtès
2021-02-21 18:17 ` Jan Nieuwenhuizen
2021-02-22 1:03 ` Danny Milosavljevic
2021-02-18 17:48 ` Vagrant Cascadian
2021-02-18 21:52 ` Jan Nieuwenhuizen
2021-02-19 4:23 ` Danny Milosavljevic
2021-02-19 6:17 ` Jan Nieuwenhuizen
2021-02-21 18:28 ` Jan Nieuwenhuizen
2021-02-22 1:03 ` Danny Milosavljevic
2021-02-22 1:50 ` Danny Milosavljevic
2021-02-22 6:01 ` Jan Nieuwenhuizen [this message]
2021-02-22 17:09 ` Danny Milosavljevic
2021-02-22 17:34 ` Danny Milosavljevic
2021-02-22 6:14 ` Jan Nieuwenhuizen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v9akljyi.fsf@gnu.org \
--to=janneke@gnu.org \
--cc=bug-mes@gnu.org \
--cc=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
--cc=vagrant@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).