Hi,

I'm having trouble upgrading a system running 9-stable to a new revision. buildworld always dies with an "internal compiler error" during lib/clang/libllvminstcombine.

The machine is currently running:
FreeBSD fred 9.1-STABLE FreeBSD 9.1-STABLE #0 r251914: Tue Jun 18 20:30:07 BST 2013 root@fred:/usr/obj/usr/src/sys/FRED amd64

I'm trying to upgrade to svn stable/9 r256049.
I tried switching off compiler optimisations in make.conf but that didn't work. The very same error happens since August, different revisions.

Bits from the script(1)-ed output are:

===> lib/clang/libllvminstcombine (all)
c++ -O -fno-strict-aliasing -pipe -mtune=native -march=native -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/lib/Transforms/InstCombine -I. -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd9.2\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd9.2\" -DDEFAULT_SYSROOT=\"\" -fstack-protector -fno-exceptions -fno-rtti -c /usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp -o InstCombineAddSub.o c++ -O -fno-strict-aliasing -pipe -mtune=native -march=native -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/lib/Transforms/InstCombine -I. -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd9.2\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd9.2\" -DDEFAULT_SYSROOT=\"\" -fstack-protector -fno-exceptions -fno-rtti -c /usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp -o InstCombineAndOrXor.o c++ -O -fno-strict-aliasing -pipe -mtune=native -march=native -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/lib/Transforms/InstCombine -I. -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd9.2\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd9.2\" -DDEFAULT_SYSROOT=\"\" -fstack-protector -fno-exceptions -fno-rtti -c /usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp -o InstCombineCalls.o c++ -O -fno-strict-aliasing -pipe -mtune=native -march=native -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/lib/Transforms/InstCombine -I. -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd9.2\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd9.2\" -DDEFAULT_SYSROOT=\"\" -fstack-protector -fno-exceptions -fno-rtti -c /usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp -o InstCombineCasts.o c++ -O -fno-strict-aliasing -pipe -mtune=native -march=native -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/lib/Transforms/InstCombine -I. -I/usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd9.2\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd9.2\" -DDEFAULT_SYSROOT=\"\" -fstack-protector -fno-exceptions -fno-rtti -c /usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp -o InstCombineCompares.o /usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp: In member function 'llvm::Instruction* llvm::InstCombiner::visitICmpInstWithInstAndIntCst(llvm::ICmpInst&, llvm::Instruction*, llvm::ConstantInt*)': /usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp:1649: internal compiler error: in memory_address_length, at config/i386/i386.c:13897
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** [InstCombineCompares.o] Error code 1

Stop in /usr/src/lib/clang/libllvminstcombine.
*** [all] Error code 1

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

Stop in /usr/src/lib.
*** [lib__L] Error code 1

Stop in /usr/src.
*** [libraries] Error code 1

Stop in /usr/src.
*** [_libraries] Error code 1

Stop in /usr/src.
*** [buildworld] Error code 1

Stop in /usr/src.



Any idea how to work around this? Or what to do about it?
Thanks!


Johannes

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to