"Internal compiler error" compiling Festival 1.2.1
Jason Burrell
jburrell@crl5.crl.com
Sun Oct 26 16:12:00 GMT 1997
$ make
Making in directory ./src ...
Making in directory src/arch ...
Making in directory src/arch/siod-3.0 ...
Making in directory src/arch/festival ...
gcc -fno-implicit-templates -c -O3 -Wall -I../include
-I../../../src/include -I../../../../speech_tools/include
-DINSTANTIATE_TEMPLATES -DFTLIBDIR=\"/home/develd1/Fest/festival/lib/\"
-DFTOSTYPE=\"uname\" festival.cc
festival.cc: In function void festival_load_default_files()':
festival.cc:218: Internal compiler error.
festival.cc:218: Please submit a full bug report to egcs-bugs@cygnus.com'.
make[3]: *** [festival.o] Error 1
make[2]: *** [festival] Error 2
make[1]: *** [arch] Error 2
make: *** [src] Error 2
$ find . -name 'festival.cc'
./src/arch/festival/festival.cc
Here's the relevent function. Line 218 is marked with a "->".
static void festival_load_default_files(void)
{
// Load in default files, init.scm. Users ~/.festivalrc
// (or whatever you wish to call it) is loaded by init.scm
EST_String userinitfile, home_str, initfile;
// Load library init first
-> initfile = EST_Pathname(festival_libdir).as_directory() + "init.scm";
if (access((const char *)initfile,R_OK) == 0)
vload(initfile,FALSE);
else
cerr << "Initialization file " << initfile << " not found" << endl;
}
The entire source file is included in an attachment.
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.90.14/specs
gcc version egcs-2.90.14 971023 (gcc2-970802 experimental)
More information about the Gcc-bugs
mailing list