Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2000 20:37:54 +0300 (EEST)
From:      Gregory Edigaroff <greg@Thing-Fish.Kharkov.NET>
To:        freebsd-stable@freebsd.org
Subject:   gcc problems
Message-ID:  <200003281737.UAA01260@Thing-Fish.Kharkov.NET>

next in thread | raw e-mail | index | archive | help
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?
-- 
With best regards,
	Gregory Edigarov


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003281737.UAA01260>