My Haiku RISC-V port progress

I solved mystery with strtoull(). It was another miscompilation caused by version declaration (__asm__(".symver ...")). In this case this is fstat(). Currently .symver directive should be never used because it cause disastrous results such as jumping to some random code locations and corrupting stack. Hopefully BeOS compatibility in RISC-V is not needed because BeOS was never run on RISC-V.

13 Likes