[Bug middle-end/23442] Compiler fails to build - internal compiler error: in do_SUBST, at combine.c:462

2006-08-29 Thread luke dot powell at bjservices dot com


--- Comment #6 from luke dot powell at bjservices dot com  2006-08-29 14:21 
---
(In reply to comment #5)
> Not reproducible.
> 
> I built a m68k-elf toolchain on x86_64-pc-linux-gnu and compiled the testcase.
> No ICE was observed.
> 
I am also seeing this bug with v4.1.1. My configure line was
../gcc-4.1.1/configure --target=m68k-elf --prefix=/home/lpowell/m68k-gcc
--disable-shared --with-gnu-as --with-gnu-ld --with-newlib --without-headers
--enable-languages=c --with-local-prefix=/home/lpowell/m68k-gcc/m68k-elf

The final command and output was

/home/lpowell/build-gcc/./gcc/xgcc -B/home/lpowell/build-gcc/./gcc/
-B/home/lpowell/m68k-gcc/m68k-elf/bin/ -B/home/lpowell/m68k-gcc/m68k-elf/lib/
-isystem /home/lpowell/m68k-gcc/m68k-elf/include -isystem
/home/lpowell/m68k-gcc/m68k-elf/sys-include -O2  -O2 -g -O2  -DIN_GCC
-DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I../../gcc-4.1.1/gcc -I../../gcc-4.1.1/gcc/. -I../../gcc-4.1.1/gcc/../include
-I../../gcc-4.1.1/gcc/../libcpp/include  -m68000 -DL_fixdfdi -c
../../gcc-4.1.1/gcc/libgcc2.c -o libgcc/m68000/_fixdfdi.o
../../gcc-4.1.1/gcc/libgcc2.c: In function ‘__fixdfdi’:
../../gcc-4.1.1/gcc/libgcc2.c:1238: internal compiler error: in do_SUBST, at
combine.c:470

My build gcc version is 4.1.1. I'm running on AMD x86-64, GNU/Linux 2.4.1.


-- 

luke dot powell at bjservices dot com changed:

   What|Removed |Added

 CC|            |luke dot powell at
   |            |bjservices dot com


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



[Bug middle-end/28911] New: Cross compiler build for m68k--elf fails on x86_64-linux-gnu

2006-08-30 Thread luke dot powell at bjservices dot com
+++ This bug was initially created as a clone of Bug #23442 +++

Attempting to build a cross-compiler for m68k-unknown-elf on x86_64-linux-gnu
fails with an internal error:
/home/lpowell/build-gcc/./gcc/xgcc -B/home/lpowell/build-gcc/./gcc/
-B/home/lpowell/m68k-gcc/m68k-elf/bin/ -B/home/lpowell/m68k-gcc/m68k-elf/lib/
-isystem /home/lpowell/m68k-gcc/m68k-elf/include -isystem
/home/lpowell/m68k-gcc/m68k-elf/sys-include -O2  -O2 -g -O2  -DIN_GCC
-DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I../../gcc-4.1.1/gcc -I../../gcc-4.1.1/gcc/. -I../../gcc-4.1.1/gcc/../include
-I../../gcc-4.1.1/gcc/../libcpp/include  -m68000 -DL_fixdfdi -c
../../gcc-4.1.1/gcc/libgcc2.c -o libgcc/m68000/_fixdfdi.o
../../gcc-4.1.1/gcc/libgcc2.c: In function ‘__fixdfdi’:
../../gcc-4.1.1/gcc/libgcc2.c:1238: internal compiler error: in do_SUBST, at
combine.c:470

The host compiler is gcc version 4.1.0 

The configure command was
../gcc-4.1.1/configure --target=m68k-elf --prefix=/home/lpowell/m68k-gcc
--disable-shared --with-gnu-as --with-gnu-ld --with-newlib --without-headers
--enable-languages=c --with-local-prefix=/home/lpowell/m68k-gcc/m68k-elf


-- 
   Summary: Cross compiler build for m68k--elf fails on x86_64-
linux-gnu
   Product: gcc
   Version: 4.1.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: luke dot powell at bjservices dot com
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: m68k-unknown-elf


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



[Bug middle-end/28911] Cross compiler build for m68k--elf fails on x86_64-linux-gnu

2006-08-30 Thread luke dot powell at bjservices dot com


--- Comment #2 from luke dot powell at bjservices dot com  2006-08-30 21:46 
---
I'm not familiar with that term, mainline. Is that the current CVS snapshot or
something else? Thanks.


-- 


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



[Bug middle-end/28911] Cross compiler build for m68k--elf fails on x86_64-linux-gnu

2006-08-31 Thread luke dot powell at bjservices dot com


--- Comment #4 from luke dot powell at bjservices dot com  2006-08-31 21:59 
---
(In reply to comment #3)
> It is the SVN trunk, so a svn snapshot will be a snapshot of the mainline.
> 
I attempted a rebuild with the trunk at SVN revision 116602. The compilation
did get past the previous bug building __fixdfdi.o, but an almost identical bug
occurred later:
/home/lpowell/build-gcc/./gcc/xgcc -B/home/lpowell/build-gcc/./gcc/
-B/home/lpowell/m68k/m68k-elf/bin/ -B/home/lpowell/m68k/m68k-elf/lib/ -isystem
/home/lpowell/m68k/m68k-elf/include -isystem
/home/lpowell/m68k/m68k-elf/sys-include -O2  -O2 -g -O2  -DIN_GCC
-DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I/home/lpowell/gcc-trunk/gcc/gcc -I/home/lpowell/gcc-trunk/gcc/gcc/.
-I/home/lpowell/gcc-trunk/gcc/gcc/../include
-I/home/lpowell/gcc-trunk/gcc/gcc/../libcpp/include 
-I/home/lpowell/gcc-trunk/gcc/gcc/../libdecnumber -I../libdecnumber -m68000
-DL_mulsc3 -c /home/lpowell/gcc-trunk/gcc/gcc/libgcc2.c -o
libgcc/m68000/_mulsc3.o
/home/lpowell/gcc-trunk/gcc/gcc/libgcc2.c: In function ‘__mulsc3’:
/home/lpowell/gcc-trunk/gcc/gcc/libgcc2.c:1854: internal compiler error: in
do_SUBST, at combine.c:496

This error occurs at the same assertion in combine.c as the previous bug.


-- 

luke dot powell at bjservices dot com changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|DUPLICATE   |


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