On 26 January 2016 at 01:33, David Malcolm <dmalc...@redhat.com> wrote: > > On Sat, 2016-01-23 at 19:08 +0100, Iain Buclaw wrote: > > Hi, > > > > I noticed when building from 2016-01-17 snapshot that the JIT frontend > > failed to build. > > > > --- > > jit-playback.c:2075:36: error: ‘PTHREAD_MUTEX_INITIALIZER’ was not > > declared in this scope > > jit-playback.c: In member function ‘void > > gcc::jit::playback::context::acquire_mutex()’: > > jit-playback.c:2086:33: error: ‘pthread_mutex_lock’ was not declared > > in this scope > > jit-playback.c: In member function ‘void > > gcc::jit::playback::context::release_mutex()’: > > jit-playback.c:2100:35: error: ‘pthread_mutex_unlock’ was not declared > > in this scope > > --- > > > > I'm not sure if this is something environmental on my side, or some > > reorder/removals were done in the gcc headers included by the JIT > > frontend, however this was needed in order to continue. > > Thanks. Doko just reported the same issue, and I now see it (with > r232813) so this isn't just at your end. > > OK for trunk. > > Dave >
Thanks, I've committed this in. Iain.