Narrowed this down a bit further... the error appears to happen in the call to pth_spawn() at pth_lib.c:pth_init():95.
Building with the attached diff demonstrates this:
=== TESTING GLOBAL LIBRARY API ===
Fetching library version
version = 0x200207
=== TESTING BASIC OPERATION ===
Initializing Pth system (spawns scheduler and main thread)
pth_lib.c: before pth_spawn
*** longjmp causes uninitialized stack frame ***: .libs/test_std terminated
Narrowed this down a bit further... the error appears to happen in the call to pth_spawn() at pth_lib. c:pth_init( ):95.
Building with the attached diff demonstrates this:
=== TESTING GLOBAL LIBRARY API ===
Fetching library version
version = 0x200207
=== TESTING BASIC OPERATION ===
Initializing Pth system (spawns scheduler and main thread)
pth_lib.c: before pth_spawn
*** longjmp causes uninitialized stack frame ***: .libs/test_std terminated