[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Update on wip-arm-bootstrap
From: |
Jan Nieuwenhuizen |
Subject: |
Re: Update on wip-arm-bootstrap |
Date: |
Mon, 22 Feb 2021 07:01:25 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
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
- Re: Update on wip-arm-bootstrap, (continued)
- Re: Update on wip-arm-bootstrap, Ludovic Courtès, 2021/02/18
- Re: Update on wip-arm-bootstrap, Vagrant Cascadian, 2021/02/18
- Re: Update on wip-arm-bootstrap, Jan Nieuwenhuizen, 2021/02/18
- Re: Update on wip-arm-bootstrap, Danny Milosavljevic, 2021/02/18
- Re: Update on wip-arm-bootstrap, Jan Nieuwenhuizen, 2021/02/19
- Re: Update on wip-arm-bootstrap, Jan Nieuwenhuizen, 2021/02/21
- Re: Update on wip-arm-bootstrap, Danny Milosavljevic, 2021/02/21
- Re: Update on wip-arm-bootstrap, Danny Milosavljevic, 2021/02/21
- Re: Update on wip-arm-bootstrap,
Jan Nieuwenhuizen <=
- Re: Update on wip-arm-bootstrap, Danny Milosavljevic, 2021/02/22
- Re: Update on wip-arm-bootstrap, Danny Milosavljevic, 2021/02/22
- Re: Update on wip-arm-bootstrap, Jan Nieuwenhuizen, 2021/02/22