From owner-freebsd-bugs@freebsd.org Mon Aug 6 03:05:40 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E826106741A for ; Mon, 6 Aug 2018 03:05:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A7A1483B39 for ; Mon, 6 Aug 2018 03:05:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 697F81067419; Mon, 6 Aug 2018 03:05:39 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2DC481067418 for ; Mon, 6 Aug 2018 03:05:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B2A9B83B38 for ; Mon, 6 Aug 2018 03:05:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0BBA5DAD3 for ; Mon, 6 Aug 2018 03:05:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w7635bxl082099 for ; Mon, 6 Aug 2018 03:05:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w7635bI3082084 for bugs@FreeBSD.org; Mon, 6 Aug 2018 03:05:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 230402] With buildworld, the system can not use swap Date: Mon, 06 Aug 2018 03:05:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: admin@support.od.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2018 03:05:40 -0000 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.=