Full Disclosure mailing list archives

Re: gcc: Internal compiler error: program cc1 got fatal signal 11


From: Steve Menard <smenard () nbnet nb ca>
Date: Thu, 08 Jan 2004 22:50:34 -0400



RH 8
[steve@localhost steve]$ uname -a
Linux localhost.localdomain 2.4.20-28.8 #1 Thu Dec 18 12:53:39 EST 2003 i686 i686 i386 GNU/Linux
[steve@localhost steve]$ gcc --version
gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[steve@localhost steve]$ echo 'int main(void) { printf("%c","msux"[0xcafebabe]); }'> ./gcc-crash.c
[steve@localhost steve]$ cat ./gcc-crash.c
int main(void) { printf("%c","msux"[0xcafebabe]); }
[steve@localhost steve]$ gcc ./gcc-crash.c
[steve@localhost steve]$ ls -alrt ./a.out
-rwxrwxr-x    1 steve  steve      9882 Jan  8 22:41 ./a.out
[steve@localhost steve]$   ./a.out
Segmentation fault








_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html


Current thread: