From owner-freebsd-arm@freebsd.org Tue Feb 23 04:26:15 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4F10355C4C7 for ; Tue, 23 Feb 2021 04:26:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dl5bC1TqPz3sLt for ; Tue, 23 Feb 2021 04:26:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 25BC112EAE for ; Tue, 23 Feb 2021 04:26:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11N4QFId025788 for ; Tue, 23 Feb 2021 04:26:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11N4QFXT025787 for freebsd-arm@FreeBSD.org; Tue, 23 Feb 2021 04:26:15 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: freebsd-arm@FreeBSD.org Subject: [Bug 253785] make buildworld fails compiling llvm: cpp killed "PLEASE submit a bug report to" Date: Tue, 23 Feb 2021 04:26:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jounijl@yahoo.co.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@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 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-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2021 04:26:15 -0000 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.=