"Internal compiler error" when compiling lilypond 0.1.84
Anthony Fok
foka@gpu.srv.ualberta.ca
Wed Jul 29 18:00:00 GMT 1998
Hello there!
I run into some trouble compiling
GNU LilyPond 0.1.84, http://www.cs.ruu.nl/people/hanwen/lilypond/
on my Cyrix P166+ 32MB RAM computer running Debian GNU/Linux 2.0,
i386 binary, glibc2, kernel 2.0.34 (without the Cyrix patch),
$ uname -a
Linux lovelife 2.0.34 #1 Sat Jun 13 18:48:13 MDT 1998 i486 unknown
$ dpkg -l gcc g++ egcc libc6 binutils libstdc++2.8 libstdc++2.8-dev
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===============-==============-============================================
ii gcc 2.7.2.3-4.8 The GNU C compiler.
ii g++ 2.90.29-0.6 The GNU (egcs) C++ compiler.
ii egcc 2.90.29-0.6 The GNU (egcs) C compiler.
ii libc6 2.0.7t-1 The GNU C library version 2 (run-time files)
ii binutils 2.9.1-0.2 The GNU assembler, linker and binary utiliti
ii libstdc++2.8 2.90.29-0.6 The GNU stdc++ library (egcs version)
ii libstdc++2.8-de 2.90.29-0.6 The GNU stdc++ library (development files)
I was trying to build the lilypond 0.1.84 Debian package. A few minutes
into the build:
[...]
rm -f out/abbreviation-beam-engraver.dep; DEPENDENCIES_OUTPUT="out/abbreviation-beam-engraver.dep out/abbreviation-beam-engraver.o" c++ -c -DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout -I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion abbreviation-beam-engraver.cc -o out/abbreviation-beam-engraver.o
rm -f out/abbreviation-beam.dep; DEPENDENCIES_OUTPUT="out/abbreviation-beam.dep out/abbreviation-beam.o" c++ -c -DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout -I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion abbreviation-beam.cc -o out/abbreviation-beam.o
rm -f out/afm-reader.dep; DEPENDENCIES_OUTPUT="out/afm-reader.dep out/afm-reader.o" c++ -c -DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout -I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion afm-reader.cc -o out/afm-reader.o
rm -f out/afm.dep; DEPENDENCIES_OUTPUT="out/afm.dep out/afm.o" c++ -c -DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout -I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion afm.cc -o out/afm.o
rm -f out/align-element.dep; DEPENDENCIES_OUTPUT="out/align-element.dep out/align-element.o" c++ -c
-DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout -I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion align-element.cc -o out/align-element.o
../flower/include/real.hh: In function `static const char * Align_element::static_name()':
../flower/include/real.hh:18: Internal compiler error.
../flower/include/real.hh:18: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make[2]: *** [out/align-element.o] Error 1
make[2]: Leaving directory `/extra/src/lilypond-0.1.84/lily'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/extra/src/lilypond-0.1.84'
make: *** [build-stamp] Error 2
Wed Jul 29 13:23:26 (tty2) /extra/src/lilypond-0.1.84
lovelife{foka} bash-2.01$
I then entered "make" again. It seems to compile align-element.o this time,
but it soon stopped again:
rm -f out/bar-column-engraver.dep; DEPENDENCIES_OUTPUT="out/bar-column-engraver.dep out/bar-column-engraver.o" c++ -c -DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout -I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion bar-column-engraver.cc -o out/bar-column-engraver.o
rm -f out/bar-column.dep; DEPENDENCIES_OUTPUT="out/bar-column.dep out/bar-column.o" c++ -c -DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout -I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion bar-column.cc -o out/bar-column.o
rm -f out/bar-engraver.dep; DEPENDENCIES_OUTPUT="out/bar-engraver.dep out/bar-engraver.o" c++ -c -DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout -I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion bar-engraver.cc -o out/bar-engraver.o
rm -f out/bar-number-engraver.dep; DEPENDENCIES_OUTPUT="out/bar-number-engraver.dep out/bar-number-engraver.o" c++ -c -DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout -I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion bar-number-engraver.cc -o out/bar-number-engraver.o
rm -f out/bar.dep; DEPENDENCIES_OUTPUT="out/bar.dep out/bar.o" c++ -c -DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout -I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion bar.cc -o out/bar.o
../flower/include/real.hh: In function `static unsigned int Bar::static_class_size()':
../flower/include/real.hh:18: Internal compiler error.
../flower/include/real.hh:18: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make[1]: *** [out/bar.o] Error 1
make[1]: Leaving directory `/extra/src/lilypond-0.1.84/lily'
make: *** [all] Error 2
Wed Jul 29 14:12:53 (tty2) /extra/src/lilypond-0.1.84
lovelife{foka} bash-2.01$
Typed "make" again. "bar.o" is built this time, but the next file failed:
rm -f out/bar.dep; DEPENDENCIES_OUTPUT="out/bar.dep out/bar.o" c++ -c -DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout -I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion bar.cc -o out/bar.o
rm -f out/beam-engraver.dep; DEPENDENCIES_OUTPUT="out/beam-engraver.dep out/beam-engraver.o" c++ -c
-DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout -I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion beam-engraver.cc -o out/beam-engraver.o
beam-engraver.cc: In function `static const char * Beam_engraver::static_name()':
beam-engraver.cc:139: Internal compiler error.
beam-engraver.cc:139: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make[1]: *** [out/beam-engraver.o] Error 1
make[1]: Leaving directory `/extra/src/lilypond-0.1.84/lily'
make: *** [all] Error 2
Wed Jul 29 14:21:58 (tty2) /extra/src/lilypond-0.1.84
lovelife{foka} bash-2.01$ make
[...]
rm -f out/collision.dep; DEPENDENCIES_OUTPUT="out/collision.dep out/collision.o" c++ -c -DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout -I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion collision.cc -o out/collision.o
rm -f out/command-request.dep; DEPENDENCIES_OUTPUT="out/command-request.dep out/command-request.o" c++ -c -DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout -I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion command-request.cc -o out/command-request.o
../flower/include/real.hh: In function `static unsigned int Partial_measure_req::static_class_size()':
../flower/include/real.hh:18: Internal compiler error.
../flower/include/real.hh:18: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make[1]: *** [out/command-request.o] Error 1
make[1]: Leaving directory `/extra/src/lilypond-0.1.84/lily'
make: *** [all] Error 2
[...]
rm -f out/font-size-engraver.dep; DEPENDENCIES_OUTPUT="out/font-size-engraver.dep out/font-size-engraver.o" c++ -c -DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout
-I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion font-size-engraver.cc -o out/font-size-engraver.o
rm -f out/general-script-def.dep; DEPENDENCIES_OUTPUT="out/general-script-def.dep out/general-script-def.o" c++ -c -DHAVE_CONFIG_H -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -Iinclude -Iout
-I../lib/include -I../lib/out -I../flower/include -I../flower/out -DNDEBUG -finline-functions -DSTRING_UTILS_INLINED -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion general-script-def.cc -o out/general-script-def.o
../flower/include/real.hh: In method `bool General_script_def::inside_b() const':
../flower/include/real.hh:18: Internal compiler error.
../flower/include/real.hh:18: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make[1]: *** [out/general-script-def.o] Error 1
make[1]: Leaving directory `/extra/src/lilypond-0.1.84/lily'
make: *** [all] Error 2
[...]
and so forth and so forth. I wonder what is wrong? The internal compiler
error seems to go away on a subsequent compile, but then the error pops up
again in another file. Or is it just my computer? :-) I ran memtest86 v1.3
for a few hours and there doesn't seem to be any error with my computer's
RAM. But then, maybe I have a corrupted system file or library somewhere?
I have no idea. :-)
Thanks for your help. :-) If you need any information, please let me know.
I might try building lilypond remotely on va.debian.org and see if the
problem would go away if I have time. :-)
Cheers,
Anthony Fok <foka@debian.org>
--
Anthony Fok Tung-Ling Civil and Environmental Engineering
foka@gpu.srv.ualberta.ca University of Alberta, Canada
anthony_fok@catholic.org Keep smiling! *^_^*
Come visit Our Lady of Victory Camp -- http://olvc.home.ml.org/
or http://www.ualberta.ca/~foka/OLVC/
More information about the Gcc-bugs
mailing list