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? Thanks, -kurt ===> lib/clang/libclangarcmigrate (all) 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/ARCMTActions.cpp 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/FileRemapper.cpp 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/ARCMT.cpp 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/TransARCAssign.cpp 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/TransAutoreleasePool.cpp 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/TransBlockObjCVariable.cpp 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/TransEmptyStatementsAndDealloc.cpp 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/TransformActions.cpp 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) Please submit a full bug report. See <URL:http://gcc.gnu.org/bugs.html> for instructions. *** Error code 1 {standard input}: Assembler messages: {standard input}:4358: Warning: end of file not at end of a line; newline inserted {standard input}:4595: Error: no such instruction: `mo' c++: Internal error: Killed: 9 (program cc1plus) Please submit a full bug report. See <URL:http://gcc.gnu.org/bugs.html> for instructions. *** Error code 1 2 errors *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error
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.
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@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. >