Unable to compile stable/9

Kurt Touet ktouet at gmail.com
Thu Nov 3 04:40:34 UTC 2011


Thanks, Dimitry - that was the problem.

That was the first time I've ever encountered that problem with 4GB of
RAM (no swap) and using -j8.

Cheers,
-kurt


On Sat, Oct 29, 2011 at 3:56 PM, Dimitry Andric <dim at freebsd.org> wrote:
> On 2011-10-28 06:47, Kurt Touet wrote:
>>
>> I am currently running FreeBSD amd64 stable/9 r225905, and I have been
>> unable to compile the stable/9 branch for the past couple of weeks.
>> On the chance that there were any oddities in my source-tree, I have
>> completely erased and checked out svn://svn.freebsd.org/base/stable/9
>> from scratch.  With r226876, I continue to have compilation errors.  I
>> believe it is continuing to break in the same place during buildworld,
>> as shown below.
>>
>> Is this to be expected ATM?  Is the branch broken? Is this an
>> unrelated gcc error? Or is there something I'm missing?
>
> ...
>>
>> c++ -O2 -pipe
>> -I/usr/src/lib/clang/libclangarcmigrate/../../../contrib/llvm/include
>>
>> -I/usr/src/lib/clang/libclangarcmigrate/../../../contrib/llvm/tools/clang/include
>>
>> -I/usr/src/lib/clang/libclangarcmigrate/../../../contrib/llvm/tools/clang/lib/ARCMigrate
>> -I.
>> -I/usr/src/lib/clang/libclangarcmigrate/../../../contrib/llvm/../../lib/clang/include
>> -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS
>> -D__STDC_CONSTANT_MACROS
>> -DLLVM_HOSTTRIPLE=\"x86_64-unknown-freebsd9.0\" -fstack-protector
>> -fno-exceptions -fno-rtti -c
>>
>> /usr/src/lib/clang/libclangarcmigrate/../../../contrib/llvm/tools/clang/lib/ARCMigrate/Transforms.cpp
>> c++: Internal error: Killed: 9 (program cc1plus)
>
> You are most likely running out of memory.  Check dmesg and/or log
> messages for 'out of swap swace' errors.
>
> You can try freeing up RAM, running with a lower -j setting (if
> applicable), or adding swap.
>


More information about the freebsd-stable mailing list