[Bug middle-end/43848] [4.6 Regression]: can't build libgcc for cris-elf with r158633

2010-04-22 Thread hp at gcc dot gnu dot org


--- Comment #5 from hp at gcc dot gnu dot org  2010-04-22 12:38 ---
I'd expect a missing prototype to cause a -Werror breakage rather than the
built cc1 to ICE, but there you go; that did it.
Closing as libgcc for cris-elf now builds, thanks for the quick turnaround.


-- 

hp at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43848



[Bug middle-end/43848] [4.6 Regression]: can't build libgcc for cris-elf with r158633

2010-04-22 Thread bernds at codesourcery dot com


--- Comment #4 from bernds at codesourcery dot com  2010-04-22 12:02 ---
I somehow managed not to check in the optabs.h change in the first commit.  Can
you try again with r158643?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43848



[Bug middle-end/43848] [4.6 Regression]: can't build libgcc for cris-elf with r158633

2010-04-22 Thread hp at gcc dot gnu dot org


--- Comment #3 from hp at gcc dot gnu dot org  2010-04-22 11:58 ---
Created an attachment (id=20461)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20461&action=view)
preprocessed libgcc2.i

Reproduce using r158642 with "./cc1 -fpreprocessed libgcc2.i  -march=v10 -O2 -o
libgcc2x.s"


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43848



[Bug middle-end/43848] [4.6 Regression]: can't build libgcc for cris-elf with r158633

2010-04-22 Thread dominiq at lps dot ens dot fr


--- Comment #2 from dominiq at lps dot ens dot fr  2010-04-22 11:51 ---
Same thing on x86_64-apple-darwin10: bootstrap fails at revision 158642 with

...
/opt/gcc/p_build/./gcc/xgcc -B/opt/gcc/p_build/./gcc/
-B/opt/gcc/gcc4.6p/x86_64-apple-darwin10/bin/
-B/opt/gcc/gcc4.6p/x86_64-apple-darwin10/lib/ -isystem
/opt/gcc/gcc4.6p/x86_64-apple-darwin10/include -isystem
/opt/gcc/gcc4.6p/x86_64-apple-darwin10/sys-include-g -O2 -O2  -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -pipe -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I.
-I../.././gcc -I../../../p_work/libgcc -I../../../p_work/libgcc/.
-I../../../p_work/libgcc/../gcc -I../../../p_work/libgcc/../include 
-DHAVE_CC_TLS -DUSE_EMUTLS -o __main_s.o -MT __main_s.o -MD -MP -MF
__main_s.dep -DSHARED -DL__main -c ../../../p_work/libgcc/../gcc/libgcc2.c
../../../../p_work/libgcc/../gcc/libgcc2.c: In function '__mulvsi3':
../../../../p_work/libgcc/../gcc/libgcc2.c:159:16: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
make[5]: *** [_mulvsi3.o] Error 1
make[4]: *** [multi-do] Error 1
make[3]: *** [all-multi] Error 2
make[3]: *** Waiting for unfinished jobs
make[2]: *** [all-stage1-target-libgcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

Note bootstrap failures on other platforms:
http://gcc.gnu.org/ml/gcc-regression/2010-04/


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43848



[Bug middle-end/43848] [4.6 Regression]: can't build libgcc for cris-elf with r158633

2010-04-22 Thread hp at gcc dot gnu dot org


--- Comment #1 from hp at gcc dot gnu dot org  2010-04-22 11:42 ---
(oops, fat-fingered the return key before filling in details properly in my
bug-template)

With r158630, libgcc, built.  With r158633 and on, including 158639, I see:

/tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/xgcc
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/ -nostdinc
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/ -isystem
/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/targ-include -isystem
/tmp/hpautotest-gcc1/gcc/newlib/libc/include
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/cris
-L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/libnosys
-L/tmp/hpautotest-gcc1/gcc/libgloss/cris
-B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/bin/
-B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/lib/ -isystem
/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/include -isystem
/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/sys-include-g -O2 -march=v10
-mbest-lib-options -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include   -g  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc  -I. -I. -I../../.././gcc
-I/tmp/hpautotest-gcc1/gcc/libgcc -I/tmp/hpautotest-gcc1/gcc/libgcc/.
-I/tmp/hpautotest-gcc1/gcc/libgcc/../gcc
-I/tmp/hpautotest-gcc1/gcc/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o
_mulvsi3.o -MT _mulvsi3.o -MD -MP -MF _mulvsi3.dep -DL_mulvsi3 -c
/tmp/hpautotest-gcc1/gcc/libgcc/../gcc/libgcc2.c \

/tmp/hpautotest-gcc1/gcc/libgcc/../gcc/libgcc2.c: In function '__mulvsi3':
/tmp/hpautotest-gcc1/gcc/libgcc/../gcc/libgcc2.c:159:16: internal compiler
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
make[4]: *** [_mulvsi3.o] Error 1
make[4]: Leaving directory
`/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/v10/libgcc'

Author of applicable ChangeLog entry in this range CC:ed.  Will attach libgcc.i
momentarily.


-- 

hp at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||bernds at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
  Component|tree-optimization   |middle-end
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-04-22 11:42:48
   date||
Summary|[4.6 Regression]: can   |[4.6 Regression]: can't
   ||build libgcc for cris-elf
   ||with r158633


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43848