From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3374 invoked by alias); 17 Dec 2010 21:25:42 -0000 Received: (qmail 3351 invoked by uid 22791); 17 Dec 2010 21:25:41 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_CX,TW_XG X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 17 Dec 2010 21:25:35 +0000 From: "cryintothebluesky at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/46996] New: xgcc: Internal error: Illegal instruction (program cc1) X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cryintothebluesky at googlemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 17 Dec 2010 21:25:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-12/txt/msg02145.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46996 Summary: xgcc: Internal error: Illegal instruction (program cc1) Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: cryintothebluesky@googlemail.com Host: x86_64--netbsd Target: x86_64--netbsd Build: x86_64--netbsd Building gcc on NetBSD-5.1 x86_64 results in the following: /bin/ksh ../../gcc-4.5.2/gcc/../move-if-change tmp-attrtab.c insn-attrtab.c echo timestamp > s-attrtab /home/roman/gcc_build/build/gcc.build/./prev-gcc/xgcc -B/home/roman/gcc_build/build/gcc.build/./prev-gcc/ -B/opt/gcc4/x86_64--netbsd/bin/ -B/opt/gcc4/x86_64--netbsd/bin/ -B/opt/gcc4/x86_64--netbsd/lib/ -isystem /opt/gcc4/x86_64--netbsd/include -isystem /opt/gcc4/x86_64--netbsd/sys-include -c -g -O2 -gtoggle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.5.2/gcc -I../../gcc-4.5.2/gcc/. -I../../gcc-4.5.2/gcc/../include -I../../gcc-4.5.2/gcc/../libcpp/include -I/opt/gcc4/include -I/opt/gcc4/include -I/opt/gcc4/include -I../../gcc-4.5.2/gcc/../libdecnumber -I../../gcc-4.5.2/gcc/../libdecnumber/dpd -I../libdecnumber insn-attrtab.c -o insn-attrtab.o xgcc: Internal error: Illegal instruction (program cc1) Please submit a full bug report. See for instructions. gmake[3]: *** [insn-attrtab.o] Error 1 rm gcc.pod gmake[3]: Leaving directory `/home/roman/gcc_build/build/gcc.build/gcc' gmake[2]: *** [all-stage2-gcc] Error 2 gmake[2]: Leaving directory `/home/roman/gcc_build/build/gcc.build' gmake[1]: *** [stage2-bubble] Error 2 gmake[1]: Leaving directory `/home/roman/gcc_build/build/gcc.build' gmake: *** [all] Error 2 Output of xgcc -v -save-temps Reading specs from /home/roman/gcc_build/build/gcc.build/./prev-gcc/specs COLLECT_GCC=/home/roman/gcc_build/build/gcc.build/./prev-gcc/xgcc COLLECT_LTO_WRAPPER=/home/roman/gcc_build/build/gcc.build/./prev-gcc/lto-wrapper Target: x86_64--netbsd Configured with: ../gcc-4.5.2/configure --prefix=/opt/gcc4 --build=x86_64--netbsd --host=x86_64--netbsd --target=x86_64--netbsd --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-nls --disable-multilib --with-gmp=/opt/gcc4 --with-mpfr=/opt/gcc4 --with-mpc=/opt/gcc4 Thread model: posix gcc version 4.5.2 (GCC) COLLECT_GCC_OPTIONS='-v' '-save-temps' '-B/home/roman/gcc_build/build/gcc.build/./prev-gcc/' '-B/opt/gcc4/x86_64--netbsd/bin/' '-B/opt/gcc4/x86_64--netbsd/bin/' '-B/opt/gcc4/x86_64--netbsd/lib/' '-isystem' '/opt/gcc4/x86_64--net bsd/include' '-isystem' '/opt/gcc4/x86_64--netbsd/sys-include' '-c' '-g' '-O2' '-gtoggle' '-DIN_GCC' '-W' '-Wall' '-Wwrite-strings' '-Wcast-qual' '-Wstrict-prototypes' '-Wmissing-prototypes' '-Wmissing-format-attribute' '-pedant ic' '-Wno-long-long' '-Wno-variadic-macros' '-Wno-overlength-strings' '-Wold-style-definition' '-Wc++-compat' '-DHAVE_CONFIG_H' '-I.' '-I.' '-I../../gcc-4.5.2/gcc' '-I../../gcc-4.5.2/gcc/.' '-I../../gcc-4.5.2/gcc/../include' '-I ../../gcc-4.5.2/gcc/../libcpp/include' '-I/opt/gcc4/include' '-I/opt/gcc4/include' '-I/opt/gcc4/include' '-I../../gcc-4.5.2/gcc/../libdecnumber' '-I../../gcc-4.5.2/gcc/../libdecnumber/dpd' '-I../libdecnumber' '-o' 'insn-attrtab. o' '-mtune=generic' '-march=x86-64' /home/roman/gcc_build/build/gcc.build/./prev-gcc/cc1 -E -quiet -v -I. -I. -I../../gcc-4.5.2/gcc -I../../gcc-4.5.2/gcc/. -I../../gcc-4.5.2/gcc/../include -I../../gcc-4.5.2/gcc/../libcpp/include -I/opt/gcc4/include -I/opt/gcc4/in clude -I/opt/gcc4/include -I../../gcc-4.5.2/gcc/../libdecnumber -I../../gcc-4.5.2/gcc/../libdecnumber/dpd -I../libdecnumber -iprefix /home/roman/gcc_build/build/gcc.build/prev-gcc/../lib/gcc/x86_64--netbsd/4.5.2/ -isystem /home/ roman/gcc_build/build/gcc.build/./prev-gcc/include -isystem /home/roman/gcc_build/build/gcc.build/./prev-gcc/include-fixed -DIN_GCC -DHAVE_CONFIG_H -isystem /opt/gcc4/x86_64--netbsd/include -isystem /opt/gcc4/x86_64--netbsd/sys- include insn-attrtab.c -mtune=generic -march=x86-64 -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings - Wold-style-definition -Wc++-compat -g -gtoggle -fworking-directory -O2 -fpch-preprocess -o insn-attrtab.i ignoring nonexistent directory "/opt/gcc4/x86_64--netbsd/include" ignoring nonexistent directory "/opt/gcc4/x86_64--netbsd/sys-include" ignoring nonexistent directory "/home/roman/gcc_build/build/gcc.build/prev-gcc/../lib/gcc/x86_64--netbsd/4.5.2/include" ignoring nonexistent directory "/home/roman/gcc_build/build/gcc.build/prev-gcc/../lib/gcc/x86_64--netbsd/4.5.2/include-fixed" ignoring nonexistent directory "/home/roman/gcc_build/build/gcc.build/prev-gcc/../lib/gcc/x86_64--netbsd/4.5.2/../../../../x86_64--netbsd/include" ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/home/roman/gcc_build/build/gcc.build/prev-gcc/../lib/gcc/../../include" ignoring nonexistent directory "/home/roman/gcc_build/build/gcc.build/prev-gcc/../lib/gcc/../../lib/gcc/x86_64--netbsd/4.5.2/include" ignoring nonexistent directory "/home/roman/gcc_build/build/gcc.build/prev-gcc/../lib/gcc/../../lib/gcc/x86_64--netbsd/4.5.2/include-fixed" ignoring nonexistent directory "/home/roman/gcc_build/build/gcc.build/prev-gcc/../lib/gcc/../../lib/gcc/x86_64--netbsd/4.5.2/../../../../x86_64--netbsd/include" ignoring duplicate directory "." ignoring duplicate directory "../../gcc-4.5.2/gcc/." ignoring duplicate directory "/opt/gcc4/include" ignoring duplicate directory "/opt/gcc4/include" #include "..." search starts here: #include <...> search starts here: . ../../gcc-4.5.2/gcc ../../gcc-4.5.2/gcc/../include ../../gcc-4.5.2/gcc/../libcpp/include /opt/gcc4/include ../../gcc-4.5.2/gcc/../libdecnumber ../../gcc-4.5.2/gcc/../libdecnumber/dpd ../libdecnumber /home/roman/gcc_build/build/gcc.build/./prev-gcc/include /home/roman/gcc_build/build/gcc.build/./prev-gcc/include-fixed /usr/include End of search list. COLLECT_GCC_OPTIONS='-v' '-save-temps' '-B/home/roman/gcc_build/build/gcc.build/./prev-gcc/' '-B/opt/gcc4/x86_64--netbsd/bin/' '-B/opt/gcc4/x86_64--netbsd/bin/' '-B/opt/gcc4/x86_64--netbsd/lib/' '-isystem' '/opt/gcc4/x86_64--net bsd/include' '-isystem' '/opt/gcc4/x86_64--netbsd/sys-include' '-c' '-g' '-O2' '-gtoggle' '-DIN_GCC' '-W' '-Wall' '-Wwrite-strings' '-Wcast-qual' '-Wstrict-prototypes' '-Wmissing-prototypes' '-Wmissing-format-attribute' '-pedant ic' '-Wno-long-long' '-Wno-variadic-macros' '-Wno-overlength-strings' '-Wold-style-definition' '-Wc++-compat' '-DHAVE_CONFIG_H' '-I.' '-I.' '-I../../gcc-4.5.2/gcc' '-I../../gcc-4.5.2/gcc/.' '-I../../gcc-4.5.2/gcc/../include' '-I ../../gcc-4.5.2/gcc/../libcpp/include' '-I/opt/gcc4/include' '-I/opt/gcc4/include' '-I/opt/gcc4/include' '-I../../gcc-4.5.2/gcc/../libdecnumber' '-I../../gcc-4.5.2/gcc/../libdecnumber/dpd' '-I../libdecnumber' '-o' 'insn-attrtab. o' '-mtune=generic' '-march=x86-64' /home/roman/gcc_build/build/gcc.build/./prev-gcc/cc1 -fpreprocessed insn-attrtab.i -quiet -dumpbase insn-attrtab.c -mtune=generic -march=x86-64 -auxbase-strip insn-attrtab.o -g -gtoggle -O2 -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -version -o insn-attrtab.s GNU C (GCC) version 4.5.2 (x86_64--netbsd) compiled by GNU C version 4.5.2, GMP version 5.0.1, MPFR version 3.0.0-p3, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU C (GCC) version 4.5.2 (x86_64--netbsd) compiled by GNU C version 4.5.2, GMP version 5.0.1, MPFR version 3.0.0-p3, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: ec37ad6b3d82b753ed7f5d0aa27a0e1f xgcc: Internal error: Illegal instruction (program cc1) Please submit a full bug report. See for instructions.