Date: Mon, 06 Aug 2018 03:05:37 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 230402] With buildworld, the system can not use swap Message-ID: <bug-230402-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230402 Bug ID: 230402 Summary: With buildworld, the system can not use swap Product: Base System Version: 11.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: admin@support.od.ua Created attachment 195925 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195925&action= =3Dedit Preprocessed source I run FreeBSD 11.2-STABLE r337132 inside the virtual machine in the Virtual= box. Machine configuration: CPU 3 core, 1GB RAM, 1x SATA HDD 14GB with FreeBSD 11.2-STABLE r337132. According to the system logs, with buildworld there is not enough RAM, but = at the same time, swap remains unused. # uname -a FreeBSD core.domain.com 11.2-STABLE FreeBSD 11.2-STABLE #0 r337132: Thu Aug= 2 17:54:09 UTC 2018 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GEN= ERIC amd64 dmesg: pid 9870 (c++), uid 0, was killed: out of swap space top -PS: last pid: 9877; load averages: 0.77, 1.79, 2.11=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 up 0+01:36:36 05:42:23 55 processes: 2 running, 52 sleeping, 1 waiting CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 1: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 2: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 37M Active, 7120K Inact, 450M Wired, 466M Free ARC: 168M Total, 22M MFU, 70M MRU, 3616K Anon, 1537K Header, 71M Other 21M Compressed, 74M Uncompressed, 3.49:1 Ratio Swap: 2560M Total, 178M Used, 2381M Free, 6% Inuse, 4K In # df -m Filesystem 1M-blocks Used Avail Capacity Mounted on zroot 7660 92 7567 1% / devfs 0 0 0 100% /dev zroot/tmp 7572 5 7567 0% /tmp zroot/usr 8193 625 7567 8% /usr zroot/usr/home 7567 0 7567 0% /usr/home zroot/usr/ports 7567 0 7567 0% /usr/ports zroot/usr/ports/distfiles 7567 0 7567 0% /usr/ports/distfil= es zroot/usr/ports/packages 7567 0 7567 0% /usr/ports/packages zroot/usr/src 8864 1297 7567 15% /usr/src zroot/var 7568 0 7567 0% /var zroot/var/crash 7567 0 7567 0% /var/crash zroot/var/db 7569 2 7567 0% /var/db zroot/var/db/pkg 7600 33 7567 0% /var/db/pkg zroot/var/empty 7567 0 7567 0% /var/empty zroot/var/log 7567 0 7567 0% /var/log zroot/var/mail 7567 0 7567 0% /var/mail zroot/var/ports 7567 0 7567 0% /var/ports zroot/var/run 7567 0 7567 0% /var/run zroot/var/tmp 7567 0 7567 0% /var/tmp # swapinfo -m Device 1M-blocks Used Avail Capacity /dev/gpt/swap-ada0 1024 93 930 9% /dev/zvol/zroot/swap 1536 84 1451 6% Total 2560 177 2382 7% # make -j3 buildworld || exit ... --- Target/ARM/ARMInstrInfo.o --- c++ -target x86_64-unknown-freebsd11.2 --sysroot=3D/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin -O2 -pipe -I/usr/obj/usr/src/lib/clang/libl= lvm -I/usr/src/contrib/llvm/lib/Target/AArch64 -I/usr/src/contrib/llvm/lib/Target/ARM -I/usr/src/contrib/llvm/lib/Target/M= ips -I/usr/src/contrib/llvm/lib/Target/PowerPC -I/usr/src/contrib/llvm/lib/Target/Sparc -I/usr/src/contrib/llvm/lib/Target= /X86 -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd11.2\" -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd11.2\" -DDEFAULT_SYSROOT=3D\"\" -DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM -DLLVM_TARGET_ENABLE_= MIPS -DLLVM_TARGET_ENABLE_POWERPC -DLLVM_TARGET_ENABLE_SPARC -DLLVM_TARGET_ENABLE_X86 -DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeX86AsmPars= er -DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DISASSEMBLER=3DLLVMInitializeX86Disassembler -DLLVM_NATIVE_TARGET=3DLLVMInitializeX86Target -DLLVM_NATIVE_TARGETINFO=3DLLVMInitializeX86TargetInfo -DLLVM_NATIVE_TARGETMC=3DLLVMInitializeX86TargetMC -ffunction-sections -fdata-sections -MD -MF.depend.Target_ARM_ARMInstrInfo.o -MTTarget/ARM/ARMInstrInfo.o -fstack-protector-strong -Qunused-arguments=20 -std=3Dc++11 -fno-exceptions -fno-rtti -stdlib=3Dlibc++ -Wno-c++11-extensio= ns -c /usr/src/contrib/llvm/lib/Target/ARM/ARMInstrInfo.cpp -o Target/ARM/ARMInstrInfo.o --- Target/ARM/ARMISelLowering.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 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd11.2 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: ******************** 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/ARMISelLowering-c1b581.cpp c++: note: diagnostic msg: /tmp/ARMISelLowering-c1b581.sh c++: note: diagnostic msg: ******************** --- Target/ARM/ARMInstructionSelector.o --- --- Target/ARM/ARMISelLowering.o --- *** [Target/ARM/ARMISelLowering.o] Error code 254 make[6]: stopped in /usr/src/lib/clang/libllvm --- Target/ARM/ARMInstructionSelector.o --- c++ -target x86_64-unknown-freebsd11.2 --sysroot=3D/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin -O2 -pipe -I/usr/obj/usr/src/lib/clang/libl= lvm -I/usr/src/contrib/llvm/lib/Target/AArch64 -I/usr/src/contrib/llvm/lib/Target/ARM -I/usr/src/contrib/llvm/lib/Target/M= ips -I/usr/src/contrib/llvm/lib/Target/PowerPC -I/usr/src/contrib/llvm/lib/Target/Sparc -I/usr/src/contrib/llvm/lib/Target= /X86 -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd11.2\" -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd11.2\" -DDEFAULT_SYSROOT=3D\"\" -DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM -DLLVM_TARGET_ENABLE_= MIPS -DLLVM_TARGET_ENABLE_POWERPC -DLLVM_TARGET_ENABLE_SPARC -DLLVM_TARGET_ENABLE_X86 -DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeX86AsmPars= er -DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DISASSEMBLER=3DLLVMInitializeX86Disassembler -DLLVM_NATIVE_TARGET=3DLLVMInitializeX86Target -DLLVM_NATIVE_TARGETINFO=3DLLVMInitializeX86TargetInfo -DLLVM_NATIVE_TARGETMC=3DLLVMInitializeX86TargetMC -ffunction-sections -fdata-sections -MD -MF.depend.Target_ARM_ARMInstructionSelector.o -MTTarget/ARM/ARMInstructionSelector.o -DLLVM_TARGET_ENABLE_X86 -DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeX86AsmParser -DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DISASSEMBLER=3DLLVMInitializeX86Disassembler -DLLVM_NATIVE_TARGET=3DLLVMInitializeX86Target -DLLVM_NATIVE_TARGETINFO=3DLLVMInitializeX86TargetInfo -DLLVM_NATIVE_TARGETMC=3DLLVMInitializeX86TargetMC -ffunction-sections -fdata-sections -MD -MF.depend.Target_ARM_ARMInstructionSelector.o -MTTarget/ARM/ARMInstructionSelector.o -fstack-protector-strong -Qunused-arguments -std=3Dc++11 -fno-exceptions -fno-rtti -stdlib=3Dlibc++ -Wno-c++11-extensions -c /usr/src/contrib/llvm/lib/Target/ARM/ARMInstructionSelector.cpp -o Target/ARM/ARMInstructionSelector.o 1 error make[6]: stopped in /usr/src/lib/clang/libllvm *** [all] Error code 2 make[5]: stopped in /usr/src/lib/clang 1 error make[5]: stopped in /usr/src/lib/clang *** [all_subdir_lib/clang] Error code 2 make[4]: stopped in /usr/src/lib 1 error make[4]: stopped in /usr/src/lib *** [lib__L] Error code 2 make[3]: stopped in /usr/src 1 error make[3]: stopped in /usr/src *** [libraries] Error code 2 make[2]: stopped in /usr/src 1 error make[2]: stopped in /usr/src *** [_libraries] 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 1 error make: stopped in /usr/src --=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-230402-227>
