Gcc Internal Compiler Error Illegal Instruction Program Cc1
User account creation filtered due to spam. Bug11128 - gcc: Internal error: Illegal instruction (program cc1) Summary: gcc: Internal error: Illegal instruction (program cc1) Status: RESOLVED FIXED Alias: None Product: gcc Classification: Unclassified Component: c (show other bugs) Version: unknown Importance: P2 normal Target Milestone: 3.4.0 Assignee: Not yet assigned to anyone URL: Keywords: Depends on: Blocks: Reported: 2003-06-08 23:52 UTC by Joseph M. Modified: 2005-07-23 22:49 UTC (History) CC List: 1 user (show) gcc-bugs See Also: Host: Target: Build: Known to work: Known to fail: Last reconfirmed: Attachments Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Joseph M. 2003-06-08 23:52:42 UTC was instructed to file a bug report, and did so following instructions. Dear gcc: Please see and review this error report, as per http://gcc.gnu.org/bugs.html#need ### the exact version of GCC; the system type; the options given when GCC was configured/built; Reading specs from /usr/local/lib/gcc-lib/powerpc-apple-darwin6.6/3.3/specs Configured with: ../gcc-3.3/configure --with-included-gettext --enable-threads=posix Thread model: posix gcc version 3.3 ### the complete command line that triggers the bug; gcc -O3 -W -D_GTK -D_SVGANIM -D_SVGLIB -DXML_GENERIC -DMATHML -D_SVG - DRAPTOR_RDF_PARSER -I../../libraptor -DANNOTATIONS -DXML_DTD -DXML_NS - DHAVE_CONFIG_H -I. -I.. -I../../thotlib/include -I../../amaya -I../../amaya/f -I../../amaya/xpm - I../../libpng/zlib -I../libwww -I../../../libwww/Library/src -I../..../libwww/modules/md5 -I../../../ libwww/modules/expat/lib -I../../annotlib -I../../annotlib/f -I/usr/local/include/gtk-1.2 -I/ usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/ include -c EDITORAPP.c -o EDITORAPP.o ### the compiler output (error messages, warnings, etc.); and gcc: Internal error: Illegal instruction (program cc1) Please submit a full bug report. See
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk gcc: Internal error: Segmentation fault (program cc1) Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11128 ! Page 1 of 3 123 Last Jump to page: Results 1 to 10 of 27 Thread: gcc: Internal error: Segmentation fault (program cc1) Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode February 3rd, 2009 #1 navneeth View Profile View Forum Posts Private Message Quad Shot of Ubuntu Join Date Aug 2006 Beans 458 DistroUbuntu 12.04 Precise Pangolin gcc: Internal error: Segmentation https://ubuntuforums.org/showthread.php?t=1059011 fault (program cc1) That is the error message I get when I try to compile a C program using gcc. I have never had this happen to me before. I was actually learning how to create library files, so initially I used the -c option. But then, just to double-check, I wrote the Hello World program. I had the error message thrown back at me when I compiled it. Code: #include Board index The team Delete all board cookies All times are UTC to use some instruction unsupported by my old Pentium MMX, and gets killed by SIGILL: % gcc -E - < /dev/null gcc: internal compiler error: Illegal instruction (program cc1) Please submit a full bug report, ... % /usr/lib/gcc/i486-linux-gnu/4.6/cc1 zsh: illegal hardware instruction /usr/lib/gcc/i486-linux-gnu/4.6/cc1 An extra log message: Illegal instruction occurred at 080db3b2 in /usr/lib/gcc/i486-linux-gnu/4.6/cc1 which brings us to a faulty cmove instruction in main(): ... 80db3a7: 81 e2 00 00 00 02 and $0x2000000,%edx 80db3ad: b8 f0 b4 7c 08 mov $0x87cb4f0,%eax 80db3b2: 0f 44 f0 cmove %eax,%esi 80db3b5: eb b9 jmp 80db370 cathello.c