public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/4634: Internal compiler error when crosscompiling on x86 for m68k
@ 2001-10-20 17:36 Benedikt Wildenhain
  0 siblings, 0 replies; only message in thread
From: Benedikt Wildenhain @ 2001-10-20 17:36 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4634
>Category:       other
>Synopsis:       Internal compiler error when compiling gcc-3.0 for m68k
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 20 17:36:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Benedikt Wildenhain
>Release:        3.0
>Organization:
Dracosoft.de
>Environment:
System: Linux saturn 2.4.10 #1 Fri Oct 12 20:27:14 CEST 2001 i586 unknown
Architecture: i586

	
host: i586-pc-linux-gnu
build: i586-pc-linux-gnu
target: m68k-mac-linux
configured with: ../gcc-3.0/configure --target=m68k-mac-linux
>Description:
	I tried to compile a cross-compiler (gcc-3.0) for m68k. I am using the precompiled gcc-3.0 from debian/woody gcc-3.0 -v outputs:
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin
--enable-objc-gc i386-linux.
Thread model: posix
gcc version 3.0.2 20010922 (Debian prerelease)
I unpacked the sourcecode, configured it with --target=m68k-mac-linux und typed "make CC=gcc-3.0 CXX=g++-3.0. After some time an internal compiler error is claimed:
The command "./xgcc -B./ -B/usr/local/m68k-mac-linux/bin/ -isystem /usr/local/m68k-mac-linux/include
-DCROSS_COMPILE -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I../../gcc-3.0/gcc -I../../gcc-3.0/gcc/. -I../../gcc-3.0/gcc/config -I../../gcc-3.0/gcc/../include  -g0 \
  -finhibit-size-directive -fno-inline-functions \
  -fno-exceptions  -Dinhibit_libc \
  -c ../../gcc-3.0/gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o"
fails, with the '-v' and '-save-temps' options, the following output is created:
Reading specs from ./specs
Configured with: ../gcc-3.0/configure --target=m68k-mac-linux
Thread model: single
gcc version 3.0
 ./cpp0 -lang-c -v -I. -I. -I../../gcc-3.0/gcc -I../../gcc-3.0/gcc/. -I../../gcc-3.0/gcc/config -I../../gcc-3.0/gcc/../include -iprefix ./../lib/gcc-lib/m68k-mac-linux/3.0/ -isystem ./include -isystem /usr/local/m68k-mac-linux/bin/include -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dmc68000 -Dmc68020 -Dlinux -D__ELF__ -D__unix__ -D__mc68000__ -D__mc68020__ -D__linux__ -D__unix -D__mc68000 -D__mc68020 -D__linux -Asystem=unix -Asystem=posix -Acpu=m68k -Amachine=m68k -D__NO_INLINE__ -D__STDC_HOSTED__=1 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -D__HAVE_68881__ -DCROSS_COMPILE -DIN_GCC -Dinhibit_libc -DCRT_BEGIN -isystem /usr/local/m68k-mac-linux/include -isystem ./include ../../gcc-3.0/gcc/crtstuff.c crtstuff.i
ignoring nonexistent directory "/usr/local/m68k-mac-linux/bin/include"
GNU CPP version 3.0 (cpplib) (68k GNU/Linux with ELF)
ignoring nonexistent directory "../lib/gcc-lib/m68k-mac-linux/3.0/include"
ignoring nonexistent directory "../lib/gcc-lib/m68k-mac-linux/3.0/../../../../m68k-mac-linux/sys-include"
ignoring nonexistent directory "../lib/gcc-lib/m68k-mac-linux/3.0/../../../../m68k-mac-linux/include"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/m68k-mac-linux/3.0/include"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/m68k-mac-linux/3.0/../../../../m68k-mac-linux/sys-include"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/m68k-mac-linux/3.0/../../../../m68k-mac-linux/include"
ignoring duplicate directory "."
ignoring duplicate directory "../../gcc-3.0/gcc"
ignoring duplicate directory "include"
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../gcc-3.0/gcc
 ../../gcc-3.0/gcc/config
 ../../gcc-3.0/include
 include
 /usr/local/m68k-mac-linux/include
End of search list.
 ./cc1 -fpreprocessed crtstuff.i -quiet -dumpbase crtstuff.c -g0 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -finhibit-size-directive -fno-inline-functions -fno-exceptions -o crtstuff.s
GNU CPP version 3.0 (cpplib) (68k GNU/Linux with ELF)
GNU C version 3.0 (m68k-mac-linux)
        compiled by GNU C version 3.0.2 20010922 (Debian prerelease).
../../gcc-3.0/gcc/crtstuff.c: In function `__do_global_dtors_aux':
../../gcc-3.0/gcc/crtstuff.c:225: Internal compiler error in expected_value_to_br_prob,
at predict.c:303
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.


>How-To-Repeat:
	The .i - file is locate at http://adele.gerwinski.de/~benedikt/crtstuff.i.bz2 .
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:
 sEND-PR: ice-on-illegal-code GCC gives an ICE instead of reporting an error


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-20 17:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-20 17:36 other/4634: Internal compiler error when crosscompiling on x86 for m68k Benedikt Wildenhain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).