[Bug bootstrap/50982] gthr reorganization breakage

2011-11-05 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 David Edelsohn changed: What|Removed |Added Attachment #25715|0 |1 is obsolete|

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-05 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #29 from David Edelsohn 2011-11-05 14:11:35 UTC --- The patch in comment 24 solves some of the problem. Thanks! The error now is: In file included from /farm/dje/src/src/libstdc++-v3/src/atomic.cc:28:0: /tmp/2004/powerpc-ibm-ai

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-05 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #28 from Jonathan Wakely 2011-11-05 13:56:43 UTC --- Just to be clear, as this bug report is quite misleading: once the initial problem was fixed the change is that _GLIBCXX_HAS_GTHREADS is being set now when it wasn't previously (for

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-05 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #27 from Jonathan Wakely 2011-11-05 13:33:38 UTC --- Author: redi Date: Sat Nov 5 13:33:29 2011 New Revision: 181013 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181013 Log: PR libstdc++/49894 PR bootstrap/50982

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-05 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #26 from Jonathan Wakely 2011-11-05 12:52:51 UTC --- (In reply to comment #7) > /tmp/2003/powerpc-ibm-aix5.3.0.0/pthread/libstdc++-v3/include/mutex: In > func > tion 'void std::call_once(std::once_flag&, _Callable&&, _Args&& ...)'

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-05 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 Jonathan Wakely changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #25

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-05 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #24 from Jonathan Wakely 2011-11-05 12:23:45 UTC --- (In reply to comment #23) > I suspect that libstdc++ is having problems because pthread_once_t is a struct > in AIX. libstdc++ should not be written to assume it is a scalar. Ah,

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-04 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #23 from David Edelsohn 2011-11-05 06:36:06 UTC --- I suspect that libstdc++ is having problems because pthread_once_t is a struct in AIX. libstdc++ should not be written to assume it is a scalar.

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-04 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #22 from David Edelsohn 2011-11-04 17:36:52 UTC --- diff -u atomic.ii.save-temps.old atomic.ii.save-temps.new -#define __VERSION__ "4.7.0 2002 (experimental) [trunk revision 180770]" +#define __VERSION__ "4.7.0 2003 (experime

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-04 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #21 from David Edelsohn 2011-11-04 17:33:35 UTC --- Created attachment 25723 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25723 rev 180770 atomic.ii from save-temps

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-04 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #20 from David Edelsohn 2011-11-04 17:29:20 UTC --- Created attachment 25722 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25722 rev 180821 atomic.ii from save-temps

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-04 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #19 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-11-04 16:30:57 UTC --- > The incorrect version of atomic.ii includes more code, but nothing specific to > pthread_once_t. I still am trying to understand the nesting, but is an extern >

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-04 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #18 from David Edelsohn 2011-11-04 16:12:27 UTC --- The first atomic.ii is from the failing revision 180821. The second one is from the successful revision 180770 before the libgcc changes.

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-04 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #17 from David Edelsohn 2011-11-04 16:10:22 UTC --- Created attachment 25717 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25717 Pre-processed atomic.cc that compiles The incorrect version of atomic.ii includes more code, but n

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-04 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #16 from David Edelsohn 2011-11-04 15:12:52 UTC --- Created attachment 25715 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25715 Pre-processed atomic.cc

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-04 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #15 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-11-04 15:10:06 UTC --- > --- Comment #14 from David Edelsohn 2011-11-04 > 14:59:50 UTC --- > AIX /usr/include/sys/types.h refers to pthread_once_t > > typedef struct > { > #ifdef __64B

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-04 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #14 from David Edelsohn 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__ */ } p

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-04 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #13 from David Edelsohn 2011-11-04 14:59:13 UTC --- Created attachment 25713 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25713 AIX include-fixed sys/types.h

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-04 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #12 from David Edelsohn 2011-11-04 14:26:58 UTC --- Bootstrap broke with trunk revision 180821. * include//bits/gthr-default.h should be a modified copy of gthr-aix.h, right? Yes, gthr-default.h is gthr-aix.h. * What's the exact

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-04 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #11 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-11-04 13:56:30 UTC --- > --- Comment #10 from David Edelsohn 2011-11-03 > 20:49:52 UTC --- > Actually, my previous successful bootstrap was for rev 180770. I happened to > catch you i

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-03 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #10 from David Edelsohn 2011-11-03 20:49:52 UTC --- Actually, my previous successful bootstrap was for rev 180770. I happened to catch you in the middle of your checkins, but before the libgcc changes. http://gcc.gnu.org/ml/gcc-test

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-03 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #9 from David Edelsohn 2011-11-03 20:36:28 UTC --- Okay, I will try. I think that something about the reorganization is causing a C header file to be interpreted as a C++ header. Something missing extern "C".

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-03 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #8 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-11-03 19:40:31 UTC --- > --- Comment #7 from David Edelsohn 2011-11-03 > 19:28:16 UTC --- > It's better. It now finds gthr-posix.h. But now it fails with a C++ failure: Fine. I'm ru

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-03 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #7 from David Edelsohn 2011-11-03 19:28:16 UTC --- It's better. It now finds gthr-posix.h. But now it fails with a C++ failure: In file included from /farm/dje/src/src/libstdc++-v3/src/atomic.cc:28:0: /tmp/2003/powerpc-ibm-aix5

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-03 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #6 from Paolo Bonzini 2011-11-03 18:27:23 UTC --- > Paolo's suggestion probably was not well thought through. Yes, it assumed that the patch would be tested by maintainers... The patch looks good.

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-03 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-11-03 18:22:16 UTC --- > --- Comment #4 from David Edelsohn 2011-11-03 > 18:11:40 UTC --- > The failure is config/gthr-posix.h is not found in the search path when > building libstdc++

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-03 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #4 from David Edelsohn 2011-11-03 18:11:40 UTC --- The failure is config/gthr-posix.h is not found in the search path when building libstdc++ during bootstrap. Paolo's suggestion probably was not well thought through. I tried editin

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-03 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 Rainer Orth changed: What|Removed |Added Status|NEW |ASSIGNED CC|ro at CeBiTec d

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-03 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #3 from Rainer Orth 2011-11-03 17:25:59 UTC --- Created attachment 25709 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25709 proposed patch

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-03 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 Rainer Orth changed: What|Removed |Added CC||bonzini at gnu dot org, ro

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-03 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 David Edelsohn changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|