Hi,
On 04/07/2022 20:40, Vadim Zaliva via Gnu-morello wrote:
When running baremetal binaries under qemu (as discussed in the other thread), malloc is returning NULL. Is this expected in this configuration?
Well, nothing has been tested in this configuration, so it's not too surprising that things are broken.
Thanks for reporting the problems (both the lack of clean termination on exceptions and malloc returning NULL), I can reproduce both in QEMU. Note that neither issue happens when runninng in the FVP, however.
I'll try and debug the problems you've hit in QEMU to see what's going on.
Thanks, Alex
Vadim
-- Senior Research Associate Department of Computer Science and Technology University of Cambridge http://zaliva.org/