http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982
--- Comment #15 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-11-04 15:10:06 UTC --- > --- Comment #14 from David Edelsohn <dje at gcc dot gnu.org> 2011-11-04 > 14:59:50 UTC --- > AIX /usr/include/sys/types.h refers to pthread_once_t > > typedef struct > { > #ifdef __64BIT__ > long __on_word[9]; > #else > int __on_word[28]; > #endif /* __64BIT__ */ > } > pthread_once_t; > > also with extern "C" wrapper. I fear looking at sources leads us nowhere: we need to look at the preprocessed atomic.cc (with -g3), best before and after the patch. This way, the machine does most of the work for us, otherwise we theoretize for hours what could be wrong, instead of just comparing what what changed. Sorry this is so tedious, but I have no access to an AIX machine anywhere. Rainer