This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
./libgcc2.c:3356: Internal compiler error in distribute_notes, at combine.c:12481
- To: gcc-bugs at gcc dot gnu dot org
- Subject: ./libgcc2.c:3356: Internal compiler error in distribute_notes, at combine.c:12481
- From: Felix von Leitner <felix at convergence dot de>
- Date: Wed, 30 Aug 2000 15:59:46 +0200
I am trying to create a cross compiler for ppc-linux on a alphaev6-linux
box.
This internal compiler error happened when I tried to compile
egcs-20000821 targeting ppc-linux on my alphaev6-linux box.
This is the full command that failed:
[...]
/localhome/andreas/convergence/fefix/cross-compiler-kit/ppclinux/egcs-20000821/gcc/xgcc -B/localhome/andreas/convergence/fefix/cross-compiler-kit/ppclinux/egcs-20000821/gcc/ -nostdinc -B/localhome/andreas/convergence/fefix/cross-compiler-kit/ppclinux/egcs-20000821/ppc-linux/newlib/ -isystem /localhome/andreas/convergence/fefix/cross-compiler-kit/ppclinux/egcs-20000821/ppc-linux/newlib/targ-include -isystem /localhome/andreas/convergence/fefix/cross-compiler-kit/ppclinux/egcs-20000821/newlib/libc/include -B/opt/cross/ppc-linux/bin/ -B/opt/cross/ppc-linux/lib/ -isystem /opt/cross/ppc-linux/include -O2 -DCROSS_COMPILE -DIN_GCC -pipe -O2 -isystem ./include -fPIC -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I./config -I./../include -fexceptions -fPIC -mstrict-align -DL_eh -c ./libgcc2.c -o libgcc/./_eh.o
./libgcc2.c: In function `__sjthrow':
./libgcc2.c:3356: Internal compiler error in distribute_notes, at combine.c:12481
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [libgcc/./_eh.o] Error 2
make[2]: Leaving directory `/localhome/andreas/convergence/fefix/cross-compiler-kit/ppclinux/egcs-20000821/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/localhome/andreas/convergence/fefix/cross-compiler-kit/ppclinux/egcs-20000821/gcc'
make: *** [cross] Error 2
xgcc was compiled with gcc-2.95.2 using "-pipe -O2" as CFLAGS (i.e. -pipe instead of -g).
I tried to cross-compile gcc-2.95.2, too, but it also failed:
[...]
_floatdidf
_floatdisf
egcc -DCROSS_COMPILE -DIN_GCC -pipe -O2 -o ../cc1plus `cat ../stamp-objlist` ../c-common.o ../c-pragma.o call.o decl.o errfn.o expr.o pt.o sig.o typeck2.o class.o decl2.o error.o lex.o parse.o ptree.o rtti.o spew.o typeck.o cvt.o except.o friend.o init.o method.o search.o semantics.o tree.o xref.o repo.o `if [ xobstack.o != x ]; then echo ../obstack.o; else true; fi` `case "egcc" in "cc") if [ x != x ]; then echo ../; else true; fi ;; esac` `if [ x != x ]; then echo ../; else true; fi`
../../../gcc-2.95.2/gcc/libgcc2.c: In function `__floatdisf':
../../../gcc-2.95.2/gcc/libgcc2.c:1069: Could not split insn
(insn:TI 144 16 18 (set (reg:SI 10 r10)
(const_int 4294901760 [0xffff0000])) 423 {movsi+1} (insn_list 143 (nil))
(nil))
make[3]: *** [libgcc2.a] Error 1
make[3]: Leaving directory `/localhome/andreas/convergence/fefix/cross-compiler-kit/ppclinux/gcc/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory `/localhome/andreas/convergence/fefix/cross-compiler-kit/ppclinux/gcc/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/localhome/andreas/convergence/fefix/cross-compiler-kit/ppclinux/gcc/gcc/cp'
make[1]: Leaving directory `/localhome/andreas/convergence/fefix/cross-compiler-kit/ppclinux/gcc/gcc'
make: *** [cross] Error 2
Is there a way to create a cross compiler for ppc-linux on
alphaev6-linux that is known to work?
Felix