Bug #15200 Compile Error when making
Submitted: 23 Nov 2005 20:10 Modified: 24 Dec 2005 0:10
Reporter: Keith Elliott Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:5.0.16 OS:Solaris (Solaris 9)
Assigned to: CPU Architecture:Any

[23 Nov 2005 20:10] Keith Elliott
Description:
compile error when making
if g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DDATADIR="\"/usr/local/var\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I../include -I../include -I../regex -I.      -O3 -DDBUG_OFF    -fno-implicit-templates -fno-exceptions -fno-rtti -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -MT sql_analyse.o -MD -MP -MF ".deps/sql_analyse.Tpo" -c -o sql_analyse.o sql_analyse.cc; \
then mv -f ".deps/sql_analyse.Tpo" ".deps/sql_analyse.Po"; else rm -f ".deps/sql_analyse.Tpo"; exit 1; fi
sql_analyse.cc: In member function 'virtual void field_longlong::add()':
sql_analyse.cc:602: internal compiler error: in invert_exp_1, at jump.c:1719
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [sql_analyse.o] Error 1
make[4]: Leaving directory `/unix/autorepo/local/mysql-5.0.16/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/unix/autorepo/local/mysql-5.0.16/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/unix/autorepo/local/mysql-5.0.16/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/unix/autorepo/local/mysql-5.0.16'
make: *** [all] Error 2

How to repeat:
if g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DDATADIR="\"/usr/local/var\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I../include -I../include -I../regex -I.      -O3 -DDBUG_OFF    -fno-implicit-templates -fno-exceptions -fno-rtti -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -MT sql_analyse.o -MD -MP -MF ".deps/sql_analyse.Tpo" -c -o sql_analyse.o sql_analyse.cc; \
then mv -f ".deps/sql_analyse.Tpo" ".deps/sql_analyse.Po"; else rm -f ".deps/sql_analyse.Tpo"; exit 1; fi
sql_analyse.cc: In member function 'virtual void field_longlong::add()':
sql_analyse.cc:602: internal compiler error: in invert_exp_1, at jump.c:1719
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [sql_analyse.o] Error 1
make[4]: Leaving directory `/unix/autorepo/local/mysql-5.0.16/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/unix/autorepo/local/mysql-5.0.16/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/unix/autorepo/local/mysql-5.0.16/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/unix/autorepo/local/mysql-5.0.16'
make: *** [all] Error 2
[24 Nov 2005 0:10] Hartmut Holzgraefe
As this is an internal gcc compile error it should be reported
to the gcc maintainers at http://gcc.gnu.org/bugs.html
(as the message you posted suggests)

You should first make sure though that this is not a
hardware issue. All gcc internal errors and crashes that i
have experienced over the years turned out to be caused
by either bad RAM or a failing CPU fan ...
[25 Dec 2005 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".