LuaJIT linker issue on PS4: missing _Unwind_ symbols

  • From: Robert Thomas <robert@xxxxxxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 22 May 2017 11:22:41 -0400

I'm having an issue while trying to use LuaJIT and build our game on PS4:
when linking I'm getting errors about the following symbols being undefined:

_Unwind_DeleteException
_Unwind_RaiseException
_Unwind_GetCFA
_Unwind_SetGR
_Unwind_SetIP

I can see that these functions are declared extern in lj_err.c, but don't
appear to be defined anywhere in the code base. We're using LuaJIT already
in our Windows build, so it must be getting those functions from somewhere
on Windows. Where are these functions supposed to be defined? In case it's
relevant, we're building libluajit.a and our game with PS4 SDK 4.50.

Thanks!

....Robert

Other related posts: