FreeBSD 9.1 buildworld 在 libclangsema 中失败

FreeBSD 9.1 buildworld 在 libclangsema 中失败

我刚刚将十几台机器从 9.0-RELEASE 更新到 9.1-RELEASE,最后一台在以下期间死掉了buildworld

c++  -O2 -pipe -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema -I. -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freebsd9.0\" -DDEFAULT_SYSROOT=\"\" -fstack-protector -fno-exceptions -fno-rtti -c /usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaExpr.cpp -o SemaExpr.o
{standard input}: Assembler messages:
{standard input}:108560: Warning: end of file not at end of a line; newline inserted
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

Stop in /usr/src/lib/clang/libclangsema.
*** Error code 1

Stop in /usr/src/lib/clang.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
[Exit 1 ]

我尝试过的事情:

rm -rf /usr/src/* && cvsup
rm -rf /usr/obj/*

/etc/make.conf此时,大多数优化都已关闭,效果相当良性:

# Optimize when possible based on CPU
#CPUTYPE?= pentium4

# Set optimization and use pipes to speed up compiles
#CFLAGS= -O -pipe
NO_CPU_CFLAGS=  true    # Don't add -march=<cpu> to CFLAGS automatically
NO_CPU_COPTFLAGS= true  # Don't add -march=<cpu> to COPTFLAGS automatically

# Set kernel compile with special options.
# CFLAGS is not applicable to kernel builds.
#COPTFLAGS= -O -pipe

我现在感觉有点傻;所以欢迎任何建议。

谢谢你的时间。

相关内容