[Libre-soc-sim] NLnet grant request, draft

lkcl luke.leighton at gmail.com
Wed Aug 11 21:54:41 BST 2021


On Wed, Aug 11, 2021 at 9:16 PM Peter Hsu <peter.hsu at bsc.es> wrote:
>
> I cannot run the same binary on spike because it only works for programs
> linked with newlib.

ahh ok

> Uspike/caveat works with libc which you need to get
> pthread, OpenMP, MPI, etc. to work (original reason I built caveat for
> riscv).
>
> I suspect the problem has to do the base of the stack--gdb probably
> expects something specific telling it this is the oldest stack frame and
> to stop the backtrace.

we had to set LR (Link Register) in simulations for Power ISA, similar
reason, calling userspace programs.

l.



More information about the Libre-soc-sim mailing list