Date: Tue, 23 Feb 2021 04:26:15 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 253785] make buildworld fails compiling llvm: cpp killed "PLEASE submit a bug report to" Message-ID: <bug-253785-7@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253785 Bug ID: 253785 Summary: make buildworld fails compiling llvm: cpp killed "PLEASE submit a bug report to" Product: Base System Version: 12.2-RELEASE Hardware: arm64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: jounijl@yahoo.co.uk make buildworld fails at llvm: make -j4 buildworld 2>&1 >> logfile.log The last lines of syslog is attached. The cpp had been quit as if swapspace= had run out. As in the stack trace, preprocessed files are as a 1,9 kB attachment.=20 Attachments 1 zip file, stacktrace below, /var/log/message after this one, device info (memory and processor). ----- clip ------ Stacktrace: ... --- ProfileData/SampleProfWriter.o --- c++ -O2 -pipe -fno-common -I/usr/obj/usr/src/arm64.aarch64/tmp/obj-tools/lib/clang/libllvm -I/usr/src/contrib/llvm-project/llvm/lib/Target/AArch64 -I/usr/src/contrib/llvm-project/llvm/lib/Target/ARM -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm-project/llvm/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_VCS_VERSION_INC -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"aarch64-unknown-freebsd12.2\" -DLLVM_HOST_TRIPLE=3D\"aarch64-unknown-freebsd12.2\" -DDEFAULT_SYSROOT=3D\"/usr/obj/usr/src/arm64.aarch64/tmp\" -DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM -DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeAArch64AsmParser -DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializeAArch64AsmPrinter -DLLVM_NATIVE_DISASSEMBLER=3DLLVMInitializeAArch64Disassembler -DLLVM_NATIVE_TARGET=3DLLVMInitializeAArch64Target -DLLVM_NATIVE_TARGETINFO=3DLLVMInitializeAArch64TargetInfo -DLLVM_NATIVE_TARGETMC=3DLLVMInitializeAArch64TargetMC -ffunction-sections -fdata-sections -gline-tables-only -MD -MF.depend.ProfileData_SampleProfW--- ProfileData/SampleProf.o --- c++ -O2 -pipe -fno-common -I/usr/obj/usr/src/arm64.aarch64/tmp/obj-tools/lib/clang/libllvm -I/usr/src/contrib/llvm-project/llvm/lib/Target/AArch64 -I/usr/src/contrib/llvm-project/llvm/lib/Target/ARM -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm-project/llvm/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_VCS_VERSION_INC -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"aarch64-unknown-freebsd12.2\" -DLLVM_HOST_TRIPLE=3D\"aarch64-unknown-freebsd12.2\" -DDEFAULT_SYSROOT=3D\"/usr/obj/usr/src/arm64.aarch64/tmp\" -DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM -DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeAArch64AsmParser -DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializeAArch64AsmPrinter -DLLVM_NATIVE_DISASSEMBLER=3DLLVMInitializeAArch64Disassembler -DLLVM_NATIVE_TARGET=3DLLVMInitializeAArch64Target -DLLVM_NATIVE_TARGETINFO=3DLLVMInitializeAArch64TargetInfo -DLLVM_NATIVE_TARGETMC=3DLLVMInitializeAArch64TargetMC -ffunction-sections -fdata-sections -gline-tables-only -MD -MF.depend.ProfileData_SampleProf.--- ProfileData/SampleProfWriter.o --- riter.o -MTProfileData/SampleProfWriter.o -Qunused-arguments -I/usr/obj/usr/src/arm64.aarch64/tmp/legacy/usr/include -fno-exceptions -fno-rtti -gline-tables-only -std=3Dc++14 -stdlib=3Dlibc++ -Wno-c++11-exten= sions=20 -c /usr/src/contrib/llvm-project/llvm/lib/ProfileData/SampleProfWriter.cpp = -o ProfileData/SampleProfWriter.o --- ProfileData/SampleProf.o --- o -MTProfileData/SampleProf.o -Qunused-arguments -I/usr/obj/usr/src/arm64.aarch64/tmp/legacy/usr/include -fno-exceptions -fno-rtti -gline-tables-only -std=3Dc++14 -stdlib=3Dlibc++ -Wno-c++11-exten= sions=20 -c /usr/src/contrib/llvm-project/llvm/lib/ProfileData/SampleProf.cpp -o ProfileData/SampleProf.o --- Passes/PassBuilder.o --- c++: error: unable to execute command: Killed c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: aarch64-unknown-freebsd12.1 Thread model: posix InstalledDir: /usr/bin c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preproces= sed source, and associated run script. c++: note: diagnostic msg:=20 ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/PassBuilder-2f2b98.cpp c++: note: diagnostic msg: /tmp/PassBuilder-2f2b98.sh c++: note: diagnostic msg:=20 ******************** *** [Passes/PassBuilder.o] Error code 254 make[4]: stopped in /usr/src/lib/clang/libllvm 1 error make[4]: stopped in /usr/src/lib/clang/libllvm *** [all_subdir_lib/clang/libllvm] Error code 2 make[3]: stopped in /usr/src/lib/clang 1 error make[3]: stopped in /usr/src/lib/clang *** [cross-tools] Error code 2 make[2]: stopped in /usr/src 1 error make[2]: stopped in /usr/src *** [_cross-tools] Error code 2 make[1]: stopped in /usr/src 1 error make[1]: stopped in /usr/src *** [buildworld] Error code 2 make: stopped in /usr/src make: stopped in /usr/src ----- clip ------ /var/log/messages Feb 12 09:19:55 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 104774, size: 16384 Feb 12 09:20:02 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 103899, size: 8192 Feb 12 10:39:10 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 311358, size: 20480 Feb 12 10:39:16 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 322016, size: 12288 Feb 12 10:39:51 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 312151, size: 20480 Feb 12 10:40:00 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 318352, size: 24576 Feb 12 10:40:46 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 312153, size: 12288 Feb 12 10:40:46 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 306846, size: 4096 Feb 12 10:40:46 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 338655, size: 16384 Feb 12 10:40:46 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 312153, size: 12288 Feb 12 10:40:46 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 306846, size: 4096 Feb 12 10:40:46 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 338655, size: 16384 Feb 12 10:42:42 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 368951, size: 8192 Feb 12 10:42:42 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 370388, size: 28672 Feb 12 10:42:42 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 74382, size: 12288 Feb 12 10:43:05 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 370430, size: 24576 Feb 12 10:43:05 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 392003, size: 4096 Feb 12 10:46:30 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 438266, size: 12288 Feb 12 10:46:31 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 436240, size: 24576 Feb 12 10:46:31 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 428683, size: 4096 Feb 12 11:11:13 myhost kernel: pid 23787 (c++), jid 0, uid 0, was killed: o= ut of swap space Feb 12 11:11:35 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 1025, size: 24576 Feb 12 11:11:35 myhost kernel: swap_pager: indefinite wait buffer: bufobj: = 0, blkno: 468510, size: 28672 # swapinfo=20 Device 1K-blocks Used Avail Capacity /dev/mmcsd0p5 3028972 30572 2998400 1% ----- clip ------ Device: arm64 processor A53, 1 GB memory 3 GB swapspace. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253785-7>