I came up with a patch that fixes the issue for me.
The patch replaces the global critical section with a spinlock.
Critical sections require explicit initialization before use, which in
this case is not possible: register_frame_ctor (from libgcc), which
runs BEFORE enter_global_cs, tries to lock
2013/12/5 Fanael Linithien :
> runs BEFORE enter_global_cs
Er, before global_spin_ctor, of course.
2013/12/5 Kai Tietz :
> Nice catch. This describes at least the runtime-failure we got reported.
> Did you tested regressions for this patch?
I have. All tests from tests_pthread pass.
Ping?
--
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk