> On 26 May 2022, at 14:08, Peter Maydell wrote:
>
I confirm that, started via "-kernel aarch64-boot-libgloss.elf", with a single
"--semihosting-config", the app ran properly, displayed the printf() output and
no longer crashed.
```
ilg@wksi ~ %
On Thu, 26 May 2022 at 12:03, Liviu Ionescu wrote:
>
>
>
> > On 26 May 2022, at 13:01, Peter Maydell wrote:
> >
> > Yes, I can reproduce this.
>
> Ok, it seems you diagnosed it pretty quickly, great!
>
> > Did you intend to pass '-s' (allow gdbstub connection) but not
> > '-S' (wait on startup
> On 26 May 2022, at 13:01, Peter Maydell wrote:
>
> Yes, I can reproduce this.
Ok, it seems you diagnosed it pretty quickly, great!
> Did you intend to pass '-s' (allow gdbstub connection) but not
> '-S' (wait on startup for gdb to connect and say "continue"),
> by the way?
Oops! I forgot
On Thu, 26 May 2022 at 11:01, Peter Maydell wrote:
>
> On Thu, 26 May 2022 at 09:32, Liviu Ionescu wrote:
> > > On 26 May 2022, at 11:20, Peter Maydell wrote:
> > >
> > > ... can you provide us with
> > > a reproduce case (eg the binary you used here)?
> >
> > Sure. I'll try to attach it to
On Thu, 26 May 2022 at 09:32, Liviu Ionescu wrote:
> > On 26 May 2022, at 11:20, Peter Maydell wrote:
> >
> > ... can you provide us with
> > a reproduce case (eg the binary you used here)?
>
> Sure. I'll try to attach it to this message, it is only 64K.
>
> The command I used to run the test is
> On 26 May 2022, at 11:20, Peter Maydell wrote:
>
> QEMU also shares code for those two architectures' semihosting
> implementation.
Then it seems to be a difference between Arm 64-bit and Arm 32-bit (which is
fine).
After fixing the AArch64 tests I'll get to RISC-V, which should run the
> On 26 May 2022, at 11:20, Peter Maydell wrote:
>
> ... can you provide us with
> a reproduce case (eg the binary you used here)?
Sure. I'll try to attach it to this message, it is only 64K.
The command I used to run the test is in the previous message.
Please confirm that you get the
" "--kernel"
> "--nographic" "-d"
> ilg@wksi ~ %
> ```
>
> The application was built with newlib libgloss and all it does is a series of
> printfs to display Hello World and the argv array.
I'm not aware of any problems with aarch64 semihosting.
I
I'm trying to set-up an environment for running unit-tests on AArch64, and I'm
constantly getting crashes:
```
ilg@wksi ~ %
/Users/ilg/Library/xPacks/@xpack-dev-tools/qemu-arm/6.2.0-1.1/.content/bin/qemu-system-aarch64
"--machine" "virt" "--cpu" "cortex-a57" "--kernel" "/Users/ilg/My