setjmp/longjmp are missing from libc.a
sleirsgoevy opened this issue · 4 comments
sleirsgoevy commented
Title says all. There are setjmp.lo
and longjmp.lo
in libc.a
, but they are empty.
nkrapivin commented
+1ing that.
Can't build Lua because of their absence.
nkrapivin commented
Wait a second, both seem to be implemented in OOMusl:
https://github.com/OpenOrbis/musl/blob/master/src/setjmp/x86_64/setjmp.s
Maybe use Musl's implementation of setjmp/longjmp? 🤔
Cryptogenic commented
If I'm reading correctly, this should be possible by simply copying that file into a ps4 arch directory, the lack of the ps4 arch directory for setjmp is probably why they're missing / not being compiled in. I'll try to give this a go and test in the next day or two.
sleirsgoevy commented