From nobody Sat Jan 22 00:02:45 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 034F619582D5 for ; Sat, 22 Jan 2022 00:02:58 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-20.consmr.mail.gq1.yahoo.com (sonic313-20.consmr.mail.gq1.yahoo.com [98.137.65.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jgbzh3g9Yz3HxG for ; Sat, 22 Jan 2022 00:02:56 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642809769; bh=q9pZNMhPkW5yt/5eQBzq1IHoov0lzwt+eYpZ8WFzAAc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=t/6qOFa9Z5XrU5yjB421z60U7T2/jPO8OfSfgzQ6eFfehaKIby4Ofh6L4l1RYqBIXD1J2z3tu1vK/MzUqyhHuoipSnN0bixj+KVKqkNqdVgZk0t535tYn5vQmE3/qdtG9H2r4+BgZJkpibktgzIWBHOpCFViSb0WJrCwaVkbbaamOVt6kT1Ng782oIe7dx25fOsQLSYsaVLw4skUNpA2Ue9be3u5j8ZIMacwMU+kjhR9PTSBeiUNZGZo6gcUmtGgFjh8WBiqsmXRjHf2L7VLr3PX+2sg/6mu8GWwtnn+Kyj/wo+pvM/8J1E78aVv/QqdADb0y54VAWxEfLgSJvwVKg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642809769; bh=fGnG5/E2xrE1agrgMRr8e5YqqMrZO37GZuATeOacXcA=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=lloasDIHMM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bx0RgSKsJX4d7oPeTmQ1ygBiJAg jYj_2BvIa1OjJvWI6dn0BbCsrfOaU2DY9KJqsh6K_tUkWDaxMl1dAAsfvgJ.7qrwJEzyKaB19dIB 6QzQMlfXjkBBilGp6T3Dx1XK9fxmLMcR7QTdypcMp3uaZsssiT2QLoEvPz25_Xg9PUNOWdWrAlHR 4yxc9EiVpbt219mXFdNHdyaAj8kvdnN9GBRJ.Raj3T9x9AFg8Rd241UMqIl0ZY3CvQnaAD7ZfTNJ WNVtHwPQ9BWJn6G06Egk0KJSYE6mVtqOEAIMcSrShnUVnxpq.p3VeThH3vfrN0bJA0JEHQ1h.RD5 nqEgZ4EQp2NkZogkOlrw3Z3lRxwHSaBrIsRRSsjNd1UNPV06k0btkYvMbm4qgDx_uwuDqMsUix_t yVmtEwtqCuqlOXyvPTdKLmdmZxqrY0RqJDTUrHN7q1KKOYchddiYjOyKypsIzpbKoOZbkvyjAhKQ .NJi967DAFaWepzIzMFFYR1rHX.wbnMDPg6hBpDR_Nc5HWerN7vEeBewuRbO1jSjhCRCtwNgSGl6 Dkz6UAuxwK7XL73E- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.gq1.yahoo.com with HTTP; Sat, 22 Jan 2022 00:02:49 +0000 Received: by kubenode505.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 04eb0079c58269465c1743895e8b76d5; Sat, 22 Jan 2022 00:02:47 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Troubles building world on stable/13 From: Mark Millard In-Reply-To: Date: Fri, 21 Jan 2022 16:02:45 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20220121031601.GA26308@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Jgbzh3g9Yz3HxG X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="t/6qOFa9"; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.83 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [0.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; URIBL_BLOCKED(0.00)[zefox.net:email]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.83:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.83:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N [I've switched back to messages with the original subject to avoid mixing the issues.] On 2022-Jan-20, at 22:00, Mark Millard wrote: > On 2022-Jan-20, at 19:16, bob prohaska wrote: >=20 >> The last few attempts to build world on a Pi3 running stable/13 have >> stopped with something like: >>=20 >> --- all_subdir_lib/googletest/gmock --- >> =3D=3D=3D> lib/googletest/gmock (all) >> Building = /usr/obj/usr/src/arm64.aarch64/lib/googletest/gmock/gmock-all.o >> --- gmock-all.o --- >> PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and = include the crash backtrace, preprocessed source, and associated run = script. >> Stack dump: >> 0. Program arguments: c++ -target aarch64-unknown-freebsd13.0 = --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp = -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -O2 -pipe -fno-common -g = -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers = -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith = -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow = -Wunused-parameter -Wcast-align -Wchar-subscripts -Wredundant-decls = -Wmissing-variable-declarations -Wno-empty-body -Wno-string-plus-int = -Wno-unused-const-variable -Wno-error=3Dunused-but-set-variable = -Qunused-arguments = -I/usr/obj/usr/src/arm64.aarch64/tmp/usr/include/private = -I/usr/src/contrib/googletest/googlemock/include = -I/usr/src/contrib/googletest/googlemock = -I/usr/src/contrib/googletest/googletest/include -g -std=3Dc++11 = -Wno-deprecated-declarations -Wno-deprecated-copy -Wno-c++11-extensions = -c /usr/src/contrib/googletest/googlemock/src/gmock-all.cc -o = gmock-all.o >> 1. = /usr/obj/usr/src/arm64.aarch64/tmp/usr/include/private/gtest/internal/gtes= t-type-util.h:1125:53: current parser token '{' >> 2. = /usr/obj/usr/src/arm64.aarch64/tmp/usr/include/private/gtest/internal/gtes= t-type-util.h:58:1: parsing namespace 'testing' >> --- all_subdir_lib/clang --- >> Building = /usr/obj/usr/src/arm64.aarch64/lib/clang/libllvm/X86GenEVEX2VEXTables.inc >> Building = /usr/obj/usr/src/arm64.aarch64/lib/clang/libllvm/X86GenFastISel.inc >> --- all_subdir_lib/googletest --- >> #0 0x0000000004112640 PrintStackTrace = /usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:565:13 >> #1 0x0000000004110a84 __cxx_atomic_store = /usr/obj/usr/src/arm64.aarch64/tmp/usr/include/c++/v1/atomic:996:5 >> #2 0x0000000004110a84 store = /usr/obj/usr/src/arm64.aarch64/tmp/usr/include/c++/v1/atomic:1617:10 >> #3 0x0000000004110a84 RunSignalHandlers = /usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:99:16 >> #4 0x00000000040b4f08 HandleCrash = /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:76= :5 >> #5 0x00000000040b4f08 CrashRecoverySignalHandler = /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:38= 9:51 >> #6 0x00000000452bad80 handle_signal = /usr/src/lib/libthr/thread/thr_sig.c:0:3 >> c++: error: clang frontend command failed with exit code 139 (use -v = to see invocation) >> FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git = llvmorg-13.0.0-0-gd7b669b3a303) >> Target: aarch64-unknown-freebsd13.0 >> Thread model: posix >> InstalledDir: /usr/bin >> c++: note: diagnostic msg:=20 >> ******************** >>=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/gmock-all-836ef8.cpp >> c++: note: diagnostic msg: /tmp/gmock-all-836ef8.sh >> c++: note: diagnostic msg:=20 >>=20 >> ******************** >> *** [gmock-all.o] Error code 139 >=20 > So: SIGSEGV (signal 11) >=20 >> make[6]: stopped in /usr/src/lib/googletest/gmock >> .ERROR_TARGET=3D'gmock-all.o' >> = .ERROR_META_FILE=3D'/usr/obj/usr/src/arm64.aarch64/lib/googletest/gmock/gm= ock-all.o.meta' >> .MAKE.LEVEL=3D'6' >> MAKEFILE=3D'' >> .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes = silent=3Dyes verbose' >>=20 >> make[4]: stopped in /usr/src/lib >> --- all_subdir_lib/clang --- >>=20 >> FWIW, filemon is enabled in /boot/loader.conf and the build command = was >> make -j2 -DWITH_META_MODE buildworld > buildworld.log >>=20 >> This doesn't appear to be ARM-specific in any obvious way, but it = might >> be, so I'm posting here first. >>=20 >=20 > "uname -apKU" output from the building environment? >=20 > Commit identification for the /usr/src/ for stable/13 > that is being built? >=20 > Any console messages? dmesg -a output of interest? > /var/log/messasges content of interest? >=20 > Any messages of interest somewhat earlier in the > buildworld.log ? >=20 > Does the problem repeat via using the files: >=20 > /tmp/gmock-all-836ef8.cpp > /tmp/gmock-all-836ef8.sh >=20 > on that RPi3? Elsewhere that has more resources, such > as more RAM? I do not see anything between your: Thank you, the script reports: branch: stable/13 merge-base: d7b156672a48c37e1b8ce9b4ae28a46ecea55412 merge-base: CommitDate: 2022-01-21 15:58:11 +0000 d7b156672a4 (HEAD -> stable/13, freebsd/stable/13) zone.9: Remove = documentation of non-existent NUMA configuration flags n249092 (--first-parent --count for merge-base) and where I'm at for stable/13: branch: stable/13 merge-base: a5f69859956049b5153b0e1b67f8f4a99622dc6f merge-base: CommitDate: 2022-01-15 12:55:32 +0000 a5f698599560 (HEAD -> stable/13, freebsd/stable/13) Ignore = debugger-injected signals left after detaching n249004 (--first-parent --count for merge-base) that would seem a likely explanation for why I did not see the problem when I built. The same goes for between your stable/13-n248948-9418a626103 starting point and where my stable/13 environment is at. (In my case, I also build for poudriere and chroot trees, not just booting. So multiple builds are involved in the sequence.) I've not come up with any ideas beyond the 2: A) Trying the two files that failure produced for attempted reproduction of the problem (such as): /tmp/gmock-all-836ef8.cpp /tmp/gmock-all-836ef8.sh but in other system-clang 13 contexts to see if the problem is reproducible off that RPi3*. B) Doing the /usr/obj/. . . cleanout and then a build-from-scratch attempt. =3D=3D=3D Mark Millard marklmi at yahoo.com