Date: Sat, 15 Nov 2014 16:14:37 +0100 From: Andrew Stevenson <andrew@ugh.net.au> To: freebsd-stable@freebsd.org Subject: build world failing Message-ID: <2C0C65F2-558B-4759-BE6C-BB4668C0E681@ugh.net.au>
next in thread | raw e-mail | index | archive | help
Hi, I am having trouble building world. Currently running 10.1-PRERELEASE r270922. I have update source a few times in case it was a temporary breakage but am now trying to build r274327. It always stops in the same place: clang++ -O2 -pipe -I/usr/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/to ols/clang/include -I/usr/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar -I. -I/usr/src/lib/clang/libllvmscalaropts/../../.. /contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -DCLANG_ENABLE_ARCMT -DCL ANG_ENABLE_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd10.1\" -DLLVM_HOST_TRIPLE=\ "x86_64-unknown-freebsd10.1\" -DDEFAULT_SYSROOT=\"\" -Qunused-arguments -fstack-protector -fno-exceptions -fno-rtti -Wno-c++11-extensions -c /usr/src/ lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/Reassociate.cpp -o Reassociate.o Stack dump: 0. Program arguments: /usr/obj/usr/src/tmp/usr/bin/clang++ -cc1 -triple x86_64-unknown-freebsd10.1 -emit-obj -disable-free -disable-llvm-verifier - main-file-name Reassociate.cpp -mrelocation-model static -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -target -cpu x86-64 -coverage-file /usr/obj/usr/src/lib/clang/libllvmscalaropts/Reassociate.o -resource-dir /usr/obj/usr/src/tmp/usr/bin/../lib/clang/3.4.1 -D L LVM_ON_UNIX -D LLVM_ON_FREEBSD -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D NDEBUG -D CLANG_ENABLE_ARCMT -D CLANG_ENABLE_REWRITER -D CLANG_ENABLE _STATIC_ANALYZER -D LLVM_DEFAULT_TARGET_TRIPLE="x86_64-unknown-freebsd10.1" -D LLVM_HOST_TRIPLE="x86_64-unknown-freebsd10.1" -D DEFAULT_SYSROOT="" -I /u sr/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/include -I /usr/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/tools/clang/include -I /u sr/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar -I . -I /usr/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/../../ lib/clang/include -isysroot /usr/obj/usr/src/tmp -internal-isystem /usr/obj/usr/src/tmp/usr/include/c++/v1 -O2 -Wno-c++11-extensions -fdeprecated-macro -fdebug-compilation-dir /usr/obj/usr/src/lib/clang/libllvmscalaropts -ferror-limit 19 -fmessage-length 168 -stack-protector 1 -mstackrealign -fno-rtti -fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o Reassociate.o -x c++ /usr/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/Reassociate.cpp 1. /usr/obj/usr/src/tmp/usr/include/c++/v1/type_traits:1113:1 <Spelling=/usr/obj/usr/src/tmp/usr/include/c++/v1/type_traits:1113:40>: current parser token '0x4000' 2. /usr/obj/usr/src/tmp/usr/include/c++/v1/type_traits:209:1 <Spelling=/usr/obj/usr/src/tmp/usr/include/c++/v1/__config:339:37>: parsing namespace 'std' 3. /usr/obj/usr/src/tmp/usr/include/c++/v1/type_traits:209:1 <Spelling=/usr/obj/usr/src/tmp/usr/include/c++/v1/__config:339:59>: parsing namespace '__1' clang++: error: unable to execute command: Segmentation fault (core dumped) clang++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.1 Thread model: posix clang++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. clang++: note: diagnostic msg: Error generating preprocessed source(s). *** Error code 254 Stop. make[6]: stopped in /usr/src/lib/clang/libllvmscalaropts I have “make clean”ed. I am using a straight “make buildworld”, no -j options. make.conf contains: TOP_TABLE_SIZE=197 NO_I4B=YES NO_PROFILE=YES The machine only has 1GB of RAM (but plenty of swap space) and in Intel Atom 230 (1.6GHz) CPU. I don’t know if the root cause s a clang bug, as it suggests, or something else wrong. Thanks, Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2C0C65F2-558B-4759-BE6C-BB4668C0E681>
