This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c/10058: gcc is crashed on compiling gcc


>Number:         10058
>Category:       c
>Synopsis:       gcc is crashed on compiling gcc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 13 09:46:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     SHIBUYA Katsutoshi
>Release:        3.2.2
>Organization:
>Environment:

>Description:
I'm creating a cross-compiler for arm-linux target on darwin (MacOSX) using gcc-3.2.2
I compiled and installed gcc-3.2.2 for darwin as follows;

% mkdir build_gcc_darwin
% cd build_gcc_darwin
% ../gcc-3.2.2/configure
% make
% sudo make install

Then I compiled cross-compiler as follows;

% mkdir build_gcc_arm
% cd build_gcc_arm
% ../gcc-3.2.2/configure --target=arm-linux --prefix=$HOME/work/Armadillo/darwin --with-local-prefix=$HOME/work/Armadillo --enable-languages=c,c++ --disable-libgcj
% make

And after compiling some codes the gcc crashed saying;

gcc -DIN_GCC -DCROSS_COMPILE   -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototyp
es -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H 
   -I. -I. -I../../gcc-3.2.2/gcc -I../../gcc-3.2.2/gcc/. -I../../gcc-3.2.2/gcc/c
onfig -I../../gcc-3.2.2/gcc/../include -c insn-extract.c ¥
  -o insn-extract.o
gcc: Internal error: Illegal instruction (program cc1)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[1]: *** [insn-extract.o] Error 1
make: *** [all-gcc] Error 2

I reproduced it many times so it does not look like a hardware trouble.
What additional information can I send you?
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]