Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2014 17:51:30 +0200
From:      Rostislav Krasny <rosti.bsd@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   How much memory do I need for buildworld?
Message-ID:  <CANt7McFASN=%2BLSuG7O0ZqUFOw4DckDqZHP_jSi7TXPTv-S-vxA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I've a fresh FreeBSD 10.1 installed on an old 32-bit machine. I've
checked out revision 274850 of the base sources and ran 'make
buildworld'. After some time it has failed:

===> lib/clang/libllvmx86disassembler (depend)
tblgen -gen-disassembler  -I
/usr/src/lib/clang/libllvmx86disassembler/../../../contrib/llvm/include
-I /usr/src/lib/clang/libllvmx86disassembler/../../../contrib/llvm/lib/Target/X86
 -d X86GenDisassemblerTables.inc.d -o X86GenDisassemblerTables.inc.h
/usr/src/lib/clang/libllvmx86disassembler/../../../contrib/llvm/lib/Target/X86/X86.td
*** Signal 9

Stop.
make[4]: stopped in /usr/src/lib/clang/libllvmx86disassembler
*** Error code 1


According to /var/log/messages it was killed because of out of memory:

Nov 22 16:55:13 mercury kernel: swap_pager: out of swap space
Nov 22 16:55:13 mercury kernel: swap_pager_getswapspace(16): failed
Nov 22 16:55:13 mercury kernel: pid 22841 (tblgen), uid 0, was killed:
out of swap space

This machine has 256MB of RAM and one 64MB swap partition. Previously
I used FreeBSD 7.4-CURRENT on this machine with two swap partitions of
64MB each and never had such a problem. I use it as a router, i.e.
there is no X and no other memory greedy processes.

Could it be related to an llvm bug fixed by following commit?

http://svnweb.freebsd.org/base?view=revision&revision=274696



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANt7McFASN=%2BLSuG7O0ZqUFOw4DckDqZHP_jSi7TXPTv-S-vxA>