-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Len Conrad wrote:
> ---------- Original Message ----------------------------------
> From: "Len Conrad" <lcon...@go2france.com>
> Reply-To: lcon...@go2france.com
> Date:  Mon,  1 Mar 2010 19:04:58 +0100
> 
>> FreeBSD 7.2 as ESXi virtual machine
>>
>> after portsnap fetch update
>>
>> cd /usr/ports/databases/mysql50-server
>>
>> make configure
>>
>> make
>>
>> blah blah
>>
>> mv -f .deps/ha_example.Tpo .deps/ha_example.Po
>> c++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER  -DDEFAULT_MYSQL_HOME="\"/usr/local\"" 
>>  -DMYSQL_DATADIR="\"/var/db/mysql\""  
>> -DSHAREDIR="\"/usr/local/share/mysql\"" -I. -I../include -I../bdb/build_unix 
>>  -I../innobase/include -I../innobase/include   -I../include -I../include  
>> -I../sql -I../sql  -I../sql/examples  -I../regex       -DDBUG_OFF -O2 
>> -fno-strict-aliasing -pipe -fPIC -O2 -fno-strict-aliasing -pipe  -fPIC 
>> -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates 
>> -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT ha_tina.o -MD 
>> -MP -MF .deps/ha_tina.Tpo -c -o ha_tina.o ha_tina.cc
>> mv -f .deps/ha_tina.Tpo .deps/ha_tina.Po
>> c++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER  -DDEFAULT_MYSQL_HOME="\"/usr/local\"" 
>>  -DMYSQL_DATADIR="\"/var/db/mysql\""  
>> -DSHAREDIR="\"/usr/local/share/mysql\"" -I. -I../include -I../bdb/build_unix 
>>  -I../innobase/include -I../innobase/include   -I../include -I../include  
>> -I../sql -I../sql  -I../sql/examples  -I../regex       -DDBUG_OFF -O2 
>> -fno-strict-aliasing -pipe -fPIC -O2 -fno-strict-aliasing -pipe  -fPIC 
>> -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates 
>> -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT sql_yacc.o 
>> -MD -MP -MF .deps/sql_yacc.Tpo -c -o sql_yacc.o sql_yacc.cc
>> c++: Internal error: Killed: 9 (program cc1plus)
>> Please submit a full bug report.
>> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>> *** Error code 1
>> 1 error
>> *** Error code 1
>> 1 error
>> *** Error code 1
>> 1 error
>> *** Error code 2
>> 1 error
>> *** Error code 1
>>
>> Stop in /usr/ports/databases/mysql50-server.
>>
>>
>> Thanks
>> Len
>>

Hi Len,

How much memory have you allocated to the VM?  This error indicates that
the compiler didn't have enough memory to compile that source file.
Also, check the output of this command:

sysctl -a | grep ^kern.maxd

I have a VM with 1.5 GB allocated to it, and I've added the following
line to /boot/loader.conf.local:

kern.maxdsize=1363148800

That gave me enough breathing room to use gcc (gcj, actually) to compile
some complex Java source files.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLjBmu0sRouByUApARAi0vAJ96IfepBA5qhY0Tpbj7Mqu+ZMCFFACeOhKR
Ov0ynzi/gBt4HkF8qNoebUo=
=5q+5
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to