Bug#710439: Testing glibc commit 7e2fca8dd22e3bd932581d6479b0c552deff00b6 to see if it is the solution
I am doing a test build of eglibc with commit
7e2fca8dd22e3bd932581d6479b0c552deff00b6 applied to see if it helps.
The commit is:
commit 7e2fca8dd22e3bd932581d6479b0c552deff00b6
Author: Alan Modra <amodra@gmail.com>
Date: Tue Sep 25 16:30:06 2012 -0500
Fix bugs in powerpc pthread_once.
Ref gcc.gnu.org/bugzilla/show_bug.cgi?id=52839#c10
Release barriers are needed to ensure that any memory written by
init_routine is seen by other threads before *once_control changes.
In the case of clear_once_control we need to flush any partially
written state.
Reading the gcc bug report makes it sound like this only really triggers
on a power7 system, which happens to be what I am using.
I will let you know if this commit (which applies cleanly except for
the changelog, with a one line offset) solves the problem.
--
Len Sorensen
Reply to: