This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
AIX libstdc++ breakage after libgcc changes
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>, libstdc++ at gcc dot gnu dot org
- Cc: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>
- Date: Fri, 4 Nov 2011 13:47:47 -0400
- Subject: AIX libstdc++ breakage after libgcc changes
Rainer and I greatly would appreciate some libstdc++ help debugging
the AIX failure after the libgcc and gthr changes. Please see PR
50982.
The changes to gthr have caused differences when compiling atomic.cc,
leading to a C++ error referring to pthread_once_t.
rev 180770 is before the libgcc/gthr patch and rev 180821 is after the patch.
The change causes a difference in macros from autoconf, leading to
other code differences. the culprit seems to be related to
_GLIBCXX_HAS_GTHREADS newly defined after the change affecting
libstdc++ header file "mutex". It's not clear why this was not
defined before and may have exposed a latent bug.
diff -u atomic.ii.save-temps.old atomic.ii.save-temps.new
-#define __VERSION__ "4.7.0 20111102 (experimental) [trunk revision 180770]"
+#define __VERSION__ "4.7.0 20111103 (experimental) [trunk revision 180821]"
-
-#define _GLIBCXX_HAVE_GTHR_DEFAULT 1
-
-
-
+#define _GLIBCXX_HAS_GTHREADS 1
Thanks, David