+ -
当前位置:首页 → 问答吧 → 在编译一些软件时有问题(内详)

在编译一些软件时有问题(内详)

时间:2006-08-06

来源:互联网

gcc版本是3.4.6-r1,内存256M
在编译一些软件时,比如pan,boost中间会停住不动。此时emerge pan的提示如下:
代码:
Making all in decode-test-cache
make[1]: Entering directory `/var/tmp/portage/pan-0.106/work/pan-0.106/pan/data/decode-test-cache'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/pan-0.106/work/pan-0.106/pan/data/decode-test-cache'
make[1]: Entering directory `/var/tmp/portage/pan-0.106/work/pan-0.106/pan/data'if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -MT scorefile-test.o -MD -MP -MF ".deps/scorefile-test.Tpo" -c -o scorefile-test.o scorefile-test.cc; \
then mv -f ".deps/scorefile-test.Tpo" ".deps/scorefile-test.Po"; else rm -f ".deps/scorefile-test.Tpo"; exit 1; fi
此时内存占用巨高(一度因为这个把swap都占满了,后把swap调大,占不满了。),CPU占用忽高忽低。曾经这样放半天也没有任何进展。
在家里和公司机器上的表现相同。
不知各位有何高见?

作者: gorf   发布时间: 2006-08-06