On Tue, 28 Mar 2000, Gregory Edigaroff wrote:
> Hello!
> It seems like gcc-2.95.2 has a leak, which could freeze the compilation.
> I experienced this while compile MySQL-3.22.32.
> It hangs up on:
> c++ -DMYSQL_SERV-DDATADIR="\"/usr/local/var\"" LT_MYSQL_HOME="\"-DSHAREDIR="\"/u
> sr/local/share/m-I./../regex -I. -I../include -I.. -I. -D_
> LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DDBUG_OFF -
> fno-implicit-templates -DMYSQLD_NET_RETRY_COUNT=1000000 -c sql_yacc.cc
>
> and is unable to compile it due to cycling with swap read/swap write.
> Here is what top shows now:
> last pid: 316; load averages: 0.78, 0.84, 0.83 up 0+00:32:29 20:36:41
> 26 processes: 2 running, 24 sleeping
> CPU states: 19.2% user, 0.0% nice, 41.7% system, 3.8% interrupt, 35.2% idle
> Mem: 20M Active, 396K Inact, 5816K Wired, 1976K Cache, 2761K Buf, 364K Free
> Swap: 1286M Total, 157M Used, 1129M Free, 12% Inuse, 2096K In, 140K Out
> PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
> 282 cat 50 0 1820K 296K RUN 11:21 43.75% 43.75% top
> 280 cat -22 0 154M 20632K RUN 7:04 9.72% 9.72% cc1plus
>
> What can I do?
>
Use the port, which set the optimization to -O0 for that file. Search the
-ports mailing list for further discussions.
-----
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]
--------------------------------------------------------
FreeBSD: The Power To Serve - http://www.FreeBSD.org
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message