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]

The return of Internal compiler error.


Hello, people

Short:
internal compiler error hit compiling libgtop-0.99.2 using 19990208 ss.

Severity:
Critical (meaning abortion of compile at the point).

Long:
Hmm... I guess it's about time I join the mailing list. Anyway,
I hit an egcs `internal compiler error' compiling libgtop-0.99.2 using
the latest 19990208 snapshot. I grabbed the libgtop from
ftp.sunet.se/pub/X11/Gnome mirror.

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE
-DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/linux -I../../include
-I../../intl -I/usr/local/include -DNEED_GNOMESUPPORT_H
-I/usr/local/lib/gnome-libs/include -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/lib/glib/include -g -O2 -Wall -Wno-unused
-I/usr/X11R6/include -DGLIBTOP_GUILE -DGLIBTOP_GUILE_NAMES
-I/usr/local/include -DNEED_GNOMESUPPORT_H
-I/usr/local/lib/gnome-libs/include -I/usr/lib/glib/include
-I/usr/X11R6/include -DGTOPLOCALEDIR=\"/usr/local/share/locale\"
-DLIBGTOP_VERSION=\"0.99.2\" -DLIBGTOP_SERVER_VERSION=\"3\"
-DLIBGTOP_SERVER=\"/usr/local/bin/libgtop_server\" -Wall -W -g -O2 -Wall
-Wno-unused -c -fPIC -DPIC proclist.c
optabs.c:2745: Internal compiler error in function emit_cmp_insn
Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
make[3]: *** [proclist.lo] Error 1

As always, it's reproducable any time typing make, cleaning filesystem
cache/buffers and such will not affect it so I'm convinced it's an
indication of some actual problem. Debugging stuff pasted from xterm
follows...: 

moria:~/libgtop-0.99.2/sysdeps/linux% gcc -DHAVE_CONFIG_H -I. -I. -I../..
-D_IN_LIBGTOP -D_GNU_SOURCE -DGLIBTOP_NAMES -I../.. -I../..
-I../../sysdeps/linux -I../../include -I../../intl -I/usr/local/include
-DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/glib/include -g
-O2 -Wall -Wno-unused -I/usr/X11R6/include -DGLIBTOP_GUILE
-DGLIBTOP_GUILE_NAMES -I/usr/local/include -DNEED_GNOMESUPPORT_H
-I/usr/local/lib/gnome-libs/include -I/usr/lib/glib/include
-I/usr/X11R6/include -DGTOPLOCALEDIR=\"/usr/local/share/locale\"
-DLIBGTOP_VERSION=\"0.99.2\" -DLIBGTOP_SERVER_VERSION=\"3\"
-DLIBGTOP_SERVER=\"/usr/local/bin/libgtop_server\" -Wall -W -g -O2 -Wall
-Wno-unused -c -fPIC -DPIC proclist.c -v -save-temps
Reading specs from
/usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.93.06/specs
gcc version egcs-2.93.06 19990208 (gcc2 ss-980929 experimental)
 /usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.93.06/cpp -lang-c -v -I.
-I. -I../.. -I../.. -I../.. -I../../sysdeps/linux -I../../include
-I../../intl -I/usr/local/include -I/usr/local/lib/gnome-libs/include
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/local/include
-I/usr/local/lib/gnome-libs/include -I/usr/lib/glib/include
-I/usr/X11R6/include -undef -D__GNUC__=2 -D__GNUC_MINOR__=93 -D__ELF__
-Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__
-D__unix -D__linux -Asystem(posix) -D__OPTIMIZE__ -g -g -Wall -Wno-unused
-Wall -W -Wall -Wno-unused -Acpu(i386) -Amachine(i386) -Di386 -D__i386
-D__i386__ -Di586 -Dpentium -D__i586 -D__i586__ -D__pentium -D__pentium__
-D__PIC__ -D__pic__ -DHAVE_CONFIG_H -D_IN_LIBGTOP -D_GNU_SOURCE
-DGLIBTOP_NAMES -DNEED_GNOMESUPPORT_H -DGLIBTOP_GUILE
-DGLIBTOP_GUILE_NAMES -DNEED_GNOMESUPPORT_H
-DGTOPLOCALEDIR="/usr/local/share/locale" -DLIBGTOP_VERSION="0.99.2"
-DLIBGTOP_SERVER_VERSION="3"
-DLIBGTOP_SERVER="/usr/local/bin/libgtop_server" -DPIC proclist.c
proclist.i
GNU CPP version egcs-2.93.06 19990208 (gcc2 ss-980929 experimental) (i386
Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 .
 ../..
 ../../sysdeps/linux
 ../../include
 ../../intl
 /usr/local/include
 /usr/local/lib/gnome-libs/include
 /usr/lib/glib/include
 /usr/X11R6/include
 /usr/lib/glib/include
 /usr/X11R6/include
 /usr/local/include
 /usr/local/lib/gnome-libs/include
 /usr/lib/glib/include
 /usr/X11R6/include
 /usr/local/include

/usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.93.06/../../../../i586-pc-linux-gnu/include
 /usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.93.06/include
 /usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.93.06/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.93.06/cc1 proclist.i
-quiet -dumpbase proclist.c -g -g -O2 -O2 -Wall -Wno-unused -Wall -W -Wall
-Wno-unused -version -fPIC -o proclist.s
GNU C version egcs-2.93.06 19990208 (gcc2 ss-980929 experimental)
(i586-pc-linux-gnu) compiled by GNU C version egcs-2.93.06 19990208 (gcc2
ss-980929 experimental).
optabs.c:2745: Internal compiler error in function emit_cmp_insn
Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
moria:~/libgtop-0.99.2/sysdeps/linux% ls -l proclist.i
-rw-r--r--   1 friend   mine       194993 Feb 13 16:21 proclist.i

Which is sent to you along with this message.

I couldn't find a way to make that stuff compile just twiddling with
-g, -Ox options, so I substituted egcs snapshot with egcs-1.1.1 for a
moment which allowed me to stumble past the problem.

My setup is: P100, 48 MB RAM, kernel 2.2.2-pre2, glibc-2.0.112,
binutils-2.9.1.0.19a.

Cheers,

Antti

proclist.i.bz2


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