public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cryintothebluesky at googlemail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/46996] New: xgcc: Internal error: Illegal instruction (program cc1)
Date: Fri, 17 Dec 2010 21:25:00 -0000	[thread overview]
Message-ID: <bug-46996-4@http.gcc.gnu.org/bugzilla/> (raw)

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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> for instructions.


             reply	other threads:[~2010-12-17 21:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-17 21:25 cryintothebluesky at googlemail dot com [this message]
2010-12-17 21:30 ` [Bug c/46996] " cryintothebluesky at googlemail dot com
2010-12-17 21:44 ` hjl.tools at gmail dot com
2010-12-18  0:17 ` cryintothebluesky at googlemail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-46996-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).