At 11:09 PM +0200 7/6/99, Benjamin Pflugmann wrote:
>Hi.
>
>On Tue, Jul 06, 1999 at 04:47:03PM -0400, jhart@stripped wrote:
>> >Description:
>> c++ -DMYSQL_SERVER
>>-DDEFAULT_MYSQL_HOME="\"/home/mysql\""
>>-DDATADIR="\"/home/mysql/var\""
>>-DSHAREDIR="\"/home/mysql/share/mysql\""
>>-DHAVE_CONFIG_H -I./../include -I./../regex
>>-I. -I../include -I.. -I. -O -fno-implicit-templates
>>-DDBUG_OFF -c sql_yacc.cc
>> sql_yacc.yy: In function `int yyparse()':
>> sql_yacc.yy:1594: Internal compiler error.
>
>As the error message tells: This is an internal compiler error. Even
>if there is some strange code in MySQL that triggers the error, in
>first place you got an internal compiler error, which should not
>happen in any case.
It shouldn't, but it does. My experience is that it happens on egcs from
running out of memory.
>
>> sql_yacc.yy:1594: Please submit a full bug report to `egcs-bugs@stripped'.
>
>Well, did you consider this? Since you already tried ./configure
>--with-low-memory, there is not much to add, I fear. Try upgrading
>your compiler, try upgrading your memory if this seems reasonalble...
That might do it. How much RAM does the machine in question have?
I can compile on my LinuxPPC PB/G3 without problems, but I have 192MB memory.
>
>[...]
>> Macintosh iMac 333, LinuxPPC v4
>> System: Linux m1814.bates.edu 2.2.1 #101 Fri Feb 5 16:17:12 EST
>>1999 ppc unknown
>> Architecture: ppc
>>
>> Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake
>>/usr/bin/gcc /usr/bin/cc
>> GCC: Reading specs from
>>/opt/egcs/lib/gcc-lib/powerpc-unknown-linux-gnulibc1/egcs-2.90.25/spec
>>s
>> gcc version egcs-2.90.25 980302 (egcs-1.0.2 prerelease)
>> Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS=''
>> Configure command: ./configure
>>--with-unix-socket-path=/var/tmp/mysql.sock --with-low-memory
>>--with-mit-threads=yes
>> Perl: This is perl, version 5.004_01
>
>Bye,
>
> Benjamin.
--
Paul DuBois, paul@stripped
Northern League Chronicles: http://www.snake.net/nl/