Date: Sun, 19 Jul 2015 23:38:37 +0500 From: =?UTF-8?B?0JLQsNGB0LjQu9C40Lkg0JjQstCw0L3QvtCy0LjRhw==?= <vasya.pupkin.bsd@gmail.com> To: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: On -CURRENT: (clang++), uid 0: exited on signal 11 (core dumped) Message-ID: <CAG0PcJWS7CLQMa8qGomgrtOcPunvup40mAni5YMW0nXE9nrD_w@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi All! I have a FreeBSD box: FreeBSD BSD-VAIO 11.0-CURRENT FreeBSD 11.0-CURRENT #0: Mon Jul 13 19:51:01 MSK 2015 user@BSD-VAIO:/usr/obj/usr/src/sys/VAIO i386 That laptop has 256Mb of RAM + 2GB swap space. And that system I have in that way: 1. Install 9.1-i386-RELEASE (gcc compiler) 2. Update to 10-STABLE (build with gcc from 9-release, WITH_CLANG_IS_CC=yes in src.conf) 3. Update to -CURRENT (build with clang 3.4.1 from 10-STABLE) When I try to do: make buildworld, I have errors, and also when I try to build various ports I have similar error: On internet I read suggestions that this errors happens when out of some resources (RAM, disk space) and when that errors occurs, I have messages in /var/log/messages: Jul 19 22:53:49 BSD-VAIO kernel: pid 44827 (clang++), uid 0: exited on signal 11 (core dumped) ====================================================================== ===> lib/clang/libllvmaarch64instprinter (all) clang++ -Os -pipe -march=pentium-m -I/usr/src/lib/clang/libllvmaarch64instprinter/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvmaarch64instprinter/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libllvmaarch64instprinter/../../../contrib/llvm/lib/Target/AArch64/InstPrinter -I/usr/src/lib/clang/libllvmaarch64instprinter/../../../contrib/llvm/lib/Target/AArch64 -I. -I/usr/src/lib/clang/libllvmaarch64instprinter/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"i386-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\" -DNDEBUG -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/src/lib/clang/libllvmaarch64instprinter/../../../contrib/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp -o AArch64InstPrinter.o building static llvmaarch64instprinter library ar -crD libllvmaarch64instprinter.a `NM='nm' lorder AArch64InstPrinter.o | tsort -q` ranlib -D libllvmaarch64instprinter.a ===> lib/clang/libllvmaarch64utils (all) clang++ -Os -pipe -march=pentium-m -I/usr/src/lib/clang/libllvmaarch64utils/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvmaarch64utils/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libllvmaarch64utils/../../../contrib/llvm/lib/Target/AArch64/Utils -I/usr/src/lib/clang/libllvmaarch64utils/../../../contrib/llvm/lib/Target/AArch64 -I. -I/usr/src/lib/clang/libllvmaarch64utils/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"i386-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\" -DNDEBUG -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/src/lib/clang/libllvmaarch64utils/../../../contrib/llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp -o AArch64BaseInfo.o building static llvmaarch64utils library ar -crD libllvmaarch64utils.a `NM='nm' lorder AArch64BaseInfo.o | tsort -q` ranlib -D libllvmaarch64utils.a ===> lib/clang/libllvmarmasmparser (all) clang++ -Os -pipe -march=pentium-m -I/usr/src/lib/clang/libllvmarmasmparser/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvmarmasmparser/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libllvmarmasmparser/../../../contrib/llvm/lib/Target/ARM/AsmParser -I/usr/src/lib/clang/libllvmarmasmparser/../../../contrib/llvm/lib/Target/ARM -I. -I/usr/src/lib/clang/libllvmarmasmparser/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"i386-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\" -DNDEBUG -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/src/lib/clang/libllvmarmasmparser/../../../contrib/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp -o ARMAsmParser.o building static llvmarmasmparser library ar -crD libllvmarmasmparser.a `NM='nm' lorder ARMAsmParser.o | tsort -q` ranlib -D libllvmarmasmparser.a ===> lib/clang/libllvmarmcodegen (all) clang++ -Os -pipe -march=pentium-m -I/usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/lib/Target/ARM -I. -I/usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"i386-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\" -DNDEBUG -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/lib/Target/ARM/A15SDOptimizer.cpp -o A15SDOptimizer.o clang++ -Os -pipe -march=pentium-m -I/usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/lib/Target/ARM -I. -I/usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"i386-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\" -DNDEBUG -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/lib/Target/ARM/ARMAsmPrinter.cpp -o ARMAsmPrinter.o Stack dump: 0. Program arguments: /usr/bin/clang++ -cc1 -triple i386-unknown-freebsd11.0 -emit-obj -disable-free -disable-llvm-verifier -main-file-name ARMAsmPrinter.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -target-cpu pentium-m -dwarf-column-info -coverage-file /usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmarmcodegen/ARMAsmPrinter.o -resource-dir /usr/bin/../lib/clang/3.6.1 -D LLVM_ON_UNIX -D LLVM_ON_FREEBSD -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D LLVM_DEFAULT_TARGET_TRIPLE="i386-unknown-freebsd11.0" -D LLVM_HOST_TRIPLE="i386-unknown-freebsd11.0" -D DEFAULT_SYSROOT="/usr/obj/usr/src/tmp" -D NDEBUG -I /usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/include -I /usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/tools/clang/include -I /usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/lib/Target/ARM -I . -I /usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/../../lib/clang/include -I /usr/obj/usr/src/tmp/legacy/usr/include -internal-isystem /usr/include/c++/v1 -Os -Wno-c++11-extensions -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmarmcodegen -ferror-limit 19 -fmessage-length 271 -mstackrealign -fno-rtti -fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o ARMAsmPrinter.o -x c++ /usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/lib/Target/ARM/ARMAsmPrinter.cpp 1. <eof> parser at end of file 2. Per-module optimization passes 3. Running pass 'CallGraph Pass Manager' on module '/usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/lib/Target/ARM/ARMAsmPrinter.cpp'. 4. Running pass 'Jump Threading' on function '@_ZN4llvm13ARMAsmPrinter15PrintAsmOperandEPKNS_12MachineInstrEjjPKcRNS_11raw_ostreamE' 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.6.1 (tags/RELEASE_361/final 237755) 20150525 Target: i386-unknown-freebsd11.0 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: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang++: note: diagnostic msg: /tmp/ARMAsmPrinter-f486d6.cpp clang++: note: diagnostic msg: /tmp/ARMAsmPrinter-f486d6.sh clang++: note: diagnostic msg: ******************** *** Error code 254 Stop. make[4]: stopped in /usr/src/lib/clang/libllvmarmcodegen *** Error code 1 Stop. make[3]: stopped in /usr/src/lib/clang *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src ====================================================================== /tmp/ARMAsmPrinter-f486d6.cpp: https://www.dropbox.com/s/v2vj9r458wxl7mw/ARMAsmPrinter-f486d6.cpp?dl=0 /tmp/ARMAsmPrinter-f486d6.sh: https://www.dropbox.com/s/5l75ftmohq7lrs7/ARMAsmPrinter-f486d6.sh?dl=0 make.conf: ====================================================================== CPUTYPE ?= pentium-m CFLAGS = -Os -pipe -march=pentium-m COPTFLAGS = -Os -pipe -march=pentium-m BUILD_OPTIMIZED = yes WITH_CPUFLAGS = yes NO_WERROR = WERROR = CC = clang CXX = clang++ CPP = clang-cpp MALLOC_PRODUCTION = yes KERNCONF = VAIO DEFAULT_VERSIONS+= perl5=5.22 php=5.6 ruby=2.2 src.conf ====================================================================== WITHOUT_ACCT = yes WITHOUT_ASSERT_DEBUG = yes WITHOUT_ATM = yes WITHOUT_AUDIT = yes WITHOUT_AUTHPF = yes WITHOUT_BHYVE = yes WITHOUT_BIND = yes WITHOUT_BLUETOOTH = yes WITHOUT_BSNMP = yes WITHOUT_CAPSICUM = yes #WITHOUT_CDDL = yes #WITH_CLANG_IS_CC = yes WITHOUT_CVS = yes WITHOUT_DICT = yes WITHOUT_EXAMPLES = yes WITHOUT_FLOPPY = yes WITHOUT_FREEBSD_UPDATE = yes WITHOUT_GAMES = yes WITHOUT_GDB = yes WITHOUT_HYPERV = yes WITHOUT_HTML = yes WITHOUT_INET6 = yes WITHOUT_INETD = yes WITHOUT_IPFILTER = yes WITHOUT_IPX = yes WITHOUT_ISCSI = yes WITHOUT_KDUMP = yes WITHOUT_KERBEROS = yes WITHOUT_KERNEL_SYMBOLS = yes WITHOUT_KVM = yes WITHOUT_MAIL = yes WITHOUT_NCP = yes WITHOUT_NDIS = yes WITHOUT_NETGRAPH = yes WITHOUT_PF = yes WITHOUT_PMC = yes WITHOUT_QUOTAS = yes WITHOUT_RCMDS = yes WITHOUT_ROUTED = yes WITHOUT_SHAREDOCS = yes WITHOUT_ZFS = yes What can I do to solve that?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG0PcJWS7CLQMa8qGomgrtOcPunvup40mAni5YMW0nXE9nrD_w>