[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-23 Thread dodji at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

Dodji Seketeli  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #19 from Dodji Seketeli  2011-10-23 
14:23:57 UTC ---
Committed to trunk (4.7).


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-22 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #18 from Dominique d'Humieres  
2011-10-22 13:07:06 UTC ---
Bootstrap completed with the patch here, regtesting in progress. Once the patch
is committed and regress is happy again, please close this pr as fixed. Thanks
for the fix.


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-21 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #17 from Iain Sandoe  2011-10-22 06:49:09 
UTC ---
bootstrap & regtest completed (r180257 + patch proposed); 
fails in struct-layout1 and vmx are gone (all plugins are now failing, but
likely a different reason).
thanks for the patch.


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-21 Thread dodji at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #16 from Dodji Seketeli  2011-10-21 
19:00:59 UTC ---
Patch proposed to http://gcc.gnu.org/ml/gcc-patches/2011-10/msg02017.html


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-21 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #15 from Iain Sandoe  2011-10-21 18:48:52 
UTC ---
(In reply to comment #14)
> > hm.. got an ICE in stage1 libgcc .. @180302 - but possibly unrelated
> >
> > /GCC/gcc-live-trunk/libgcc/../gcc/libgcc2.c: In function ‘__popcountti2’:
> > /GCC/gcc-live-trunk/libgcc/../gcc/libgcc2.c:848:1: internal compiler error: 
> > in
> > rs6000_adjust_cost, at config/rs6000/rs6000.c:22865
> 
> Seems unrelated.

yes, pr50825 - and fixed :-)

the bootstrap (r180257) is on stage 3 (building libjava)


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-21 Thread dodji at seketeli dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #14 from dodji at seketeli dot org  
2011-10-21 18:40:41 UTC ---
>> If the patch in comment #10 regstrap on *-linux-*, I think it could be
>> committed, then monitor regress on
>> http://gcc.gnu.org/ml/gcc-testresults/2011-10/ and
>> http://gcc.gnu.org/ml/gcc-regression/2011-10/ .

Sure.  I am about to propose it.

> hm.. got an ICE in stage1 libgcc .. @180302 - but possibly unrelated
>
> /GCC/gcc-live-trunk/libgcc/../gcc/libgcc2.c: In function ‘__popcountti2’:
> /GCC/gcc-live-trunk/libgcc/../gcc/libgcc2.c:848:1: internal compiler error: in
> rs6000_adjust_cost, at config/rs6000/rs6000.c:22865

Seems unrelated.


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-21 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #13 from Iain Sandoe  2011-10-21 14:52:54 
UTC ---
(In reply to comment #12)
> If the patch in comment #10 regstrap on *-linux-*, I think it could be
> committed, then monitor regress on
> http://gcc.gnu.org/ml/gcc-testresults/2011-10/ and
> http://gcc.gnu.org/ml/gcc-regression/2011-10/ .

hm.. got an ICE in stage1 libgcc .. @180302 - but possibly unrelated

/GCC/gcc-live-trunk/libgcc/../gcc/libgcc2.c: In function ‘__popcountti2’:
/GCC/gcc-live-trunk/libgcc/../gcc/libgcc2.c:848:1: internal compiler error: in
rs6000_adjust_cost, at config/rs6000/rs6000.c:22865

... will wind back to 241 and try again.


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-21 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #12 from Dominique d'Humieres  
2011-10-21 14:25:47 UTC ---
If the patch in comment #10 regstrap on *-linux-*, I think it could be
committed, then monitor regress on
http://gcc.gnu.org/ml/gcc-testresults/2011-10/ and
http://gcc.gnu.org/ml/gcc-regression/2011-10/ .


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-21 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #11 from Iain Sandoe  2011-10-21 14:19:40 
UTC ---
(In reply to comment #10)
> Iain, maybe your machine is faster than Dominique's, so maybe you could give 
> it
> a spin?

looks good off a stage3-bubble,
 - libgfortran built, struct-layout-1.exp back to normal.

full bootstrap incl. Ada and Java will take circa 3hrs + another 6 or so for
full test-suite (i.e. results v late today or tomorrow AM).


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-21 Thread dodji at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

Dodji Seketeli  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 AssignedTo|unassigned at gcc dot   |dodji at gcc dot gnu.org
   |gnu.org |

--- Comment #10 from Dodji Seketeli  2011-10-21 
13:35:41 UTC ---
Created attachment 25568
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25568
Candidate patch

Thanks to the ssh access granted by Dominique, I could looking into the Fortran
related breakage.  This lightly tested attached patch seems to fix it.

Iain, maybe your machine is faster than Dominique's, so maybe you could give it
a spin?

Thanks.


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-20 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #9 from Iain Sandoe  2011-10-20 17:44:56 
UTC ---
This might be the easier one to debug:

Running /GCC/gcc-live-trunk/gcc/testsuite/gcc.dg/compat/struct-layout-1.exp ...
FAIL: tmpdir-gcc.dg-struct-layout-1/t002 c_compat_main_tst.o compile, 
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t002 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t002 c_compat_y_tst.o compile,  (internal
compiler error)

seems (possibly) to be failing in parsing a system header


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-20 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #8 from Iain Sandoe  2011-10-20 14:29:12 
UTC ---
Unfortunately, as of r180241, I still have the bootstrap fail in building
libgfortran (Java untested) and the ICEs in struct-layout-1.


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-20 Thread dodji at seketeli dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #7 from dodji at seketeli dot org  
2011-10-20 09:26:31 UTC ---
> I can give you access to my (slowww) G5 if you mail me your ssh key.

Thank you for giving me access to the box.


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-20 Thread dodji at seketeli dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #6 from dodji at seketeli dot org  
2011-10-20 09:15:31 UTC ---
FWIW, this is maybe related to
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50801 that got fixed in
commit r180239


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-19 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #5 from Dominique d'Humieres  2011-10-19 
15:01:47 UTC ---
> Could I have ssh access to one of the boxes that fail?

I can give you access to my (slowww) G5 if you mail me your ssh key.


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-19 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #4 from Iain Sandoe  2011-10-19 12:22:04 
UTC ---
(In reply to comment #3)
> Could I have ssh access to one of the boxes that fail?

unfortunately, I can't do that - company boxes here afflicted by company
policy;
 Jack Howarth seems to be able to - I think he might have a PPC box still.

Otherwise we can offer to try and answer specific questions;

I've got other fails in struc-layout etc. that are bus errors in libcpp:
e.g.
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x
_cpp_pop_context (pfile=0x41806600) at /GCC/gcc-live-trunk/libcpp/macro.c:2139
2139  pfile->context->next = NULL;
(gdb) bt
#0  _cpp_pop_context (pfile=0x41806600) at
/GCC/gcc-live-trunk/libcpp/macro.c:2139
#1  0x00937b44 in cpp_get_token_1 (pfile=0x14, location=0xbfffedac) at
/GCC/gcc-live-trunk/libcpp/macro.c:2328
#2  0x00937684 in enter_macro_context (pfile=0xbfffedac, node=0x4204e160,
result=0x41809a00, location=1242616) at /GCC/gcc-live-trunk/libcpp/macro.c:2074
#3  0x00937b44 in cpp_get_token_1 (pfile=0x41806600, location=0xbfffef08) at
/GCC/gcc-live-trunk/libcpp/macro.c:2328
#4  0x000ac398 in preprocess_file (pfile=0x41806600) at
/GCC/gcc-live-trunk/gcc/c-family/c-ppoutput.c:177
#5  0x000aa450 in c_common_init () at
/GCC/gcc-live-trunk/gcc/c-family/c-opts.c:1090
#6  0x0004cb98 in c_objc_common_init () at
/GCC/gcc-live-trunk/gcc/c-objc-common.c:64
#7  0x006594b0 in toplev_main (argc=25, argv=0x0) at
/GCC/gcc-live-trunk/gcc/toplev.c:1757
#8  0x2464 in start ()
Current language:  auto; currently c++

(in case that's a hint).


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-19 Thread dodji at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #3 from Dodji Seketeli  2011-10-19 
10:55:28 UTC ---
Could I have ssh access to one of the boxes that fail?


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-19 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

--- Comment #2 from Dominique d'Humieres  2011-10-19 
09:00:43 UTC ---
I have bootstrapped revision 180100 on powerpc-apple-darwin9 configured with

../work/configure --prefix=/opt/gcc/gcc4.7w
--enable-languages=c,c++,fortran,objc,obj-c++,java,ada,lto --with-gmp=/sw
--with-libiconv-prefix=/usr --with-system-zlib --with-cloog=/sw --enable-lto
--enable-cloog-backend=isl

after reverting revisions 180081 to 180086, and 180090. Unless someone come
with a fix before, I'll try to restore the revisions one by one to narrow the
range, but each bootstrap takes ~14 hours, so don't hold your breath!-).


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

Richard Guenther  changed:

   What|Removed |Added

 CC||dodji at gcc dot gnu.org
   Target Milestone|--- |4.7.0


[Bug bootstrap/50778] [4.7 Regression] Bootstrap failure on powerpc-apple-darwin9

2011-10-18 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50778

Iain Sandoe  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2011-10-18
 Ever Confirmed|0   |1

--- Comment #1 from Iain Sandoe  2011-10-18 18:53:08 
UTC ---
confirmed - bootstrap passes (ironically including Ada) without Fortran and
Java.

the file complained about has not been changed in months - so I guess this
might be more fallout from the line number changes.