9.0-RELEASEから9.1-RELEASEに12台のマシンを更新しましたが、最後のマシンは次のように終了しました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
今はちょっと愚かだと思うので、どんな提案でも歓迎します。
時間をいただきありがとうございます。