Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 33275

Summary: MySQL is not compiling
Product: Gentoo Linux Reporter: Harold Martin <harold.martin>
Component: [OLD] ServerAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED INVALID    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Harold Martin 2003-11-11 20:09:00 UTC
When I attempt to emerge MySQL, I get the following errors (these messages are just a tail, I'll post mroe if needed):
source='item_cmpfunc.cc' object='item_cmpfunc.o' libtool=no \
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
 
!!! ERROR: dev-db/mysql-4.0.16 failed.
!!! Function src_compile, Line 142, Exitcode 2
!!! compile problem
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-12 15:40:06 UTC
Increase your swap + memory amounts.
even with the configure flag for low memory usage, the compile can still take 600mb of combined swap+memory sometimes.