Bug #1811 Unable to cimpile MySQL
Submitted: 11 Nov 2003 20:05 Modified: 17 Nov 2003 8:55
Reporter: Harold Martin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:4.0.16 OS:Linux (Linux)
Assigned to: Dean Ellis CPU Architecture:Any

[11 Nov 2003 20:05] Harold Martin
Description:
I get these errors when I try to compile MySQL (this is just a tail of the messages, I'll post more it they're needed):
depfile='.deps/item_cmpfunc.Po' tmpdepfile='.deps/item_cmpfunc.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../bdb/build_unix -I./../include -I./../regex -I. -I../include -I.     -O3 -DDBUG_OFF -O3 -mcpu=pentium2 -pipe -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti  -fno-implicit-templates -fno-exceptions -fno-rtti -c -o item_cmpfunc.o `test -f item_cmpfunc.cc || echo './'`item_cmpfunc.cc
{standard input}: Assembler messages:
{standard input}:18883: Warning: end of file not at end of a line; newline insertedg++: Internal error: Terminated (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
 
{standard input}:20081: Error: unrecognized symbol type "f"
make[4]: *** [item_func.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/mysql-4.0.16/work/mysql-4.0.16/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/mysql-4.0.16/work/mysql-4.0.16/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/mysql-4.0.16/work/mysql-4.0.16/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-4.0.16/work/mysql-4.0.16'
make: *** [all] Error 2

How to repeat:
I've repeatedly attempted to compile.
[17 Nov 2003 8:15] Dean Ellis
I cannot duplicate this using the MySQL 4.0.16 source distribution under Gentoo Linux, the latest MySQL 4.0 BitKeeper sources for 4.0.17, nor using the Gentoo 4.0.16 ebuild.

Because Gentoo's ebuild incorporates some additional third party patches, I suggest trying the official source distribution to see if the problem persists.

Thank you
[17 Nov 2003 8:21] Harold Martin
Adding more swap fixed this issue.
Thanks,
Harold
[17 Nov 2003 8:55] Dean Ellis
Glad to hear.  Closing it based on user resolution of the issue.

Thank you.