From owner-freebsd-current@freebsd.org Wed Mar 10 01:18:46 2021 Return-Path: Delivered-To: freebsd-current@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 979ED577EAA for ; Wed, 10 Mar 2021 01:18:46 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-33.consmr.mail.ne1.yahoo.com (sonic317-33.consmr.mail.ne1.yahoo.com [66.163.184.44]) (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 4DwDjx0Ltxz3njR for ; Wed, 10 Mar 2021 01:18:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1615339123; bh=jfRrKk+mBpbIajIXJTmFUzrUB3tA6nkFXhO5BH2Ulji=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=jqAE256EJod2kpwiD2t4NTdH12otjtoLkcB7qFbqrjGkL9GE11GjKBZeiIqu9YzNLZE1D3HIueL8/c9nr3uelyEa15srLZ+HPjjoAmnPwK9B+wK1Ipriw9U5ugF9Dx9p5ZkALki9G6RAkXDPQiNdQYRkpKsZ82vGAosvePqDbqvXyY6xQUMltlVL51K6HBEjNvGEq/Mf/yFw4ho9meF25Pgoft80DgMlJ6kYdpTXozzMxsTpgwWT75N+6t6zQOHplqi9/BwLY8MyqNQIhU0l9gAL0R9J+u7pzxOAp92cdZMLP+x5BRSPWkg9sR/CFMlu5Jiq7Vyo+ox8AMffUDsvbw== X-YMail-OSG: wogiDtgVM1kKYDPeckkRvH1ENM9C9huPWQAQ5ZBKYbYvdBFlRqZOGy42lwsBIiK PHGDtaN12JfRymogZvyyYPLfQxV3JAU4TE6PcBtU73X5zViH.huTDImALoOJ.QMBXsHaZO00frA9 u6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K7.ddpdbnlohavr07kfx4YXFDdZ6o0x99aFJhxvC4zV5zTMkVDCwouRUyx7d6 kqFRe3gM6FUn0E8_3csZMDyLLXOz8hfVMRpOSe2xF8yb4ZiWcik5iBMGxJtERy_OGU8IlOS6jLlu .BlaXPAWT8aH0wk15r1_GPVDlfCWa8bbJwfYCKCsrf6ruPCVHDz06n.2dQI9WD75AcabdkqdKLZj 1cfPnmDyXfmfTRv9z5lYmTpmg_rL_owzAjFOYRdn7e.LLVUX1ATEg3ASeBPy9yonUsLUvd.6yXb_ iaXB3Ddsvgo1XgmlOEMj090cl_wMMmtHKR4qleoPS_q2w1YpearvT3fyGCVQXGF6xgSHzRImninT yZqYV1ooT X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Wed, 10 Mar 2021 01:18:43 +0000 Received: by smtp407.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 6de5173abb71752081dfa022bbbb967c; Wed, 10 Mar 2021 01:18:36 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: FYI: main (bad9fa56620e based): some unexpected SIGSEGV's using poudriere-devel to build armv7 ports on aarch64 (cortex-a72) system Date: Tue, 9 Mar 2021 17:18:34 -0800 References: <8B54D020-A3E2-4441-B6A0-894831E7E1EC@yahoo.com> To: freebsd-arm , freebsd-current In-Reply-To: <8B54D020-A3E2-4441-B6A0-894831E7E1EC@yahoo.com> Message-Id: <7F086465-38C0-49C0-830C-2DB0BE71169C@yahoo.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DwDjx0Ltxz3njR X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.42 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.92)[-0.921]; 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:36646, ipnet:66.163.184.0/21, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.163.184.44:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[66.163.184.44:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[66.163.184.44:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.184.44:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2021 01:18:46 -0000 On 2021-Mar-9, at 15:39, Mark Millard wrote: > After using poudriere to build ports for native cortex-a72 > on the MACCHIATObin Double Shot (and similarly for > cortex-a57 on the OverDrive 1000) I attempted to do my > usual bulk build targeting cortex-a7 via poudriere-devel: >=20 > # poudriere jail -i -jFBSDFSSDjailArmV7 > Jail name: FBSDFSSDjailArmV7 > Jail version: 14.0-CURRENT > Jail arch: arm.armv7 > Jail method: null > Jail mount: /usr/obj/DESTDIRs/clang-armv7-installworld-poud > Jail fs: =20 > Jail updated: 2021-01-27 14:47:10 > Jail pkgbase: disabled >=20 > But I got some SIGSEGV failures that I've never before > had analogous failures. I'll show the 6 backtraces. > They all have a similar type-of-context but in various > programs, summarized as (from the lldb bt outputs): >=20 > gmake`new_job(file=3D) [3 examples] > and: > sh`waitcmdloop(job=3D0x00064230) [2 examples] > and: > cmake`(anonymous namespace)::RunCommand(command=3D, = output=3D"14.0-CURRENT\n", retVal=3D, dir=3D, = verbose=3D, encoding=3DAuto) >=20 > (Only 83 ports built of 208 built, 5 failed, and 120 were > skipped.) >=20 > I have not yet tried simply running poudriere again to see > how reliable the specific failures may or may not be: I'm > first collecting and reporting this information. Nor have > I tried doing the build on the cortex-a57 context instead. I have a little re-run information now: No -JN with ALLOW_MAKE_JOBS=3Dyes: seems repeatable -J1 with ALLOW_MAKE_JOBS=3Dyes: seems repeatable -J1 without ALLOW_MAKE_JOBS: mixed so far in the one run. For -J1 without ALLOW_MAKE_JOBS for as far as the bulk build has gotten (still in progress): [00:22:03] [01] [00:21:12] Finished devel/cmake | cmake-3.19.6: Failed: = configure [00:23:04] [01] [00:00:59] Finished textproc/libxslt | libxslt-1.1.34_1: = Success [00:33:35] [01] [00:00:19] Finished textproc/itstool | itstool-2.0.6: = Failed: configure Some ports dependent on libxslt-1.1.34_1 are building as well, devel/glib20 , textproc/minixmlto , and x11/xkeyboard-config have built. I'm not sure it is reasonable to wait on -J1 without ALLOW_MAKE_JOBS to see what the devel/gdb and x11-toolkits/libXaw build does. For example qt5-core that is now building and may not be worth waiting for. The results do suggest that the issue is racy, no matter if the number of active processes/threads changes the probabilities involved or not. > I'll note that when I looked at detail as the assembler level > it appeared that there was a frame not shown between #0 and #1 > in lldb's output: Frame #1 "->" was indicating the instruction > after a simple bl to a not-shown subroutine. >=20 > For building textproc/libxslt : > (jobserver_acquire not shown between #0 and #1) >=20 > (lldb) bt > * thread #1, name =3D 'gmake', stop reason =3D signal SIGSEGV > * frame #0: 0xffffe190 > frame #1: 0x0003b5f8 gmake`new_job(file=3D) at = job.c:1870:21 > frame #2: 0x0002db80 = gmake`execute_file_commands(file=3D) at commands.c:476:3 = [artificial] > frame #3: 0x00049acc gmake`update_file [inlined] = remake_file(file=3D0x400a9700) at remake.c:1234:11 > frame #4: 0x00049a84 gmake`update_file [inlined] = update_file_1(file=3D, depth=3D6) at remake.c:835 > frame #5: 0x000494ec gmake`update_file(file=3D, = depth=3D) at remake.c:336 > frame #6: 0x0004b08c gmake`check_dep(file=3D0x400a9700, = depth=3D, this_mtime=3D1, must_make_ptr=3D0xffffc4ac) at = remake.c:1024:20 > frame #7: 0x00049074 gmake`update_file at remake.c:572:17 > frame #8: 0x00048b80 gmake`update_file(file=3D, = depth=3D) at remake.c:336 > frame #9: 0x0004b08c gmake`check_dep(file=3D0x400a9400, = depth=3D, this_mtime=3D1, must_make_ptr=3D0xffffc564) at = remake.c:1024:20 > frame #10: 0x00049074 gmake`update_file at remake.c:572:17 > frame #11: 0x00048b80 gmake`update_file(file=3D, = depth=3D) at remake.c:336 > frame #12: 0x0004b08c gmake`check_dep(file=3D0x400a8f20, = depth=3D, this_mtime=3D1, must_make_ptr=3D0xffffc61c) at = remake.c:1024:20 > frame #13: 0x00049074 gmake`update_file at remake.c:572:17 > frame #14: 0x00048b80 gmake`update_file(file=3D, = depth=3D) at remake.c:336 > frame #15: 0x000487e0 = gmake`update_goal_chain(goaldeps=3D) at remake.c:151:22 > frame #16: 0x0003f25c gmake`main(argc=3D2, argv=3D0xffffd470, = envp=3D0xffffffff) at main.c:2589:13 > frame #17: 0x0002c0fc gmake`__start(argc=3D2, argv=3D, = env=3D, ps_strings=3D, obj=3D0x400c4004, = cleanup=3D0x40091aa0) at crt1_c.c:92:7 >=20 > -> 1870 got_token =3D jobserver_acquire (waiting_jobs !=3D= NULL); >=20 > 0x3b5f4 <+1288>: bl 0x50078 ; = jobserver_acquire at posixos.c:265 > -> 0x3b5f8 <+1292>: cmp r0, #1 >=20 >=20 > For building x11-toolkits/libXaw : > (jobserver_acquire not shown between #0 and #1) >=20 > (lldb) bt > * thread #1, name =3D 'gmake', stop reason =3D signal SIGSEGV > * frame #0: 0xffffe190 > frame #1: 0x0003b5f8 gmake`new_job(file=3D) at = job.c:1870:21 > frame #2: 0x0002db80 = gmake`execute_file_commands(file=3D) at commands.c:476:3 = [artificial] > frame #3: 0x00049acc gmake`update_file [inlined] = remake_file(file=3D0x4036a580) at remake.c:1234:11 > frame #4: 0x00049a84 gmake`update_file [inlined] = update_file_1(file=3D, depth=3D6) at remake.c:835 > frame #5: 0x000494ec gmake`update_file(file=3D, = depth=3D) at remake.c:336 > frame #6: 0x0004b08c gmake`check_dep(file=3D0x4036a580, = depth=3D, this_mtime=3D1, must_make_ptr=3D0xffffc31c) at = remake.c:1024:20 > frame #7: 0x00049074 gmake`update_file at remake.c:572:17 > frame #8: 0x00048b80 gmake`update_file(file=3D, = depth=3D) at remake.c:336 > frame #9: 0x0004b08c gmake`check_dep(file=3D0x4036a220, = depth=3D, this_mtime=3D1, must_make_ptr=3D0xffffc3d4) at = remake.c:1024:20 > frame #10: 0x00049074 gmake`update_file at remake.c:572:17 > frame #11: 0x00048b80 gmake`update_file(file=3D, = depth=3D) at remake.c:336 > frame #12: 0x0004b08c gmake`check_dep(file=3D0x40369ec0, = depth=3D, this_mtime=3D1, must_make_ptr=3D0xffffc48c) at = remake.c:1024:20 > frame #13: 0x00049074 gmake`update_file at remake.c:572:17 > frame #14: 0x00048b80 gmake`update_file(file=3D, = depth=3D) at remake.c:336 > frame #15: 0x000487e0 = gmake`update_goal_chain(goaldeps=3D) at remake.c:151:22 > frame #16: 0x0003f25c gmake`main(argc=3D2, argv=3D0xffffd500, = envp=3D0xffffffff) at main.c:2589:13 > frame #17: 0x0002c0fc gmake`__start(argc=3D2, argv=3D, = env=3D, ps_strings=3D, obj=3D0x400c4004, = cleanup=3D0x40091aa0) at crt1_c.c:92:7 >=20 > -> 1870 got_token =3D jobserver_acquire (waiting_jobs !=3D= NULL); >=20 > 0x3b5f4 <+1288>: bl 0x50078 ; = jobserver_acquire at posixos.c:265 > -> 0x3b5f8 <+1292>: cmp r0, #1 >=20 >=20 > For building textproc/itstool : > (dowait not shown between #0 and #1) >=20 > (lldb) bt > * thread #1, name =3D 'sh', stop reason =3D signal SIGSEGV > * frame #0: 0xffffe190 > frame #1: 0x00031aa8 sh`waitcmdloop(job=3D0x00064230) at = jobs.c:608:11 > frame #2: 0x00031a24 sh`waitcmd(argc=3D, = argv=3D) at jobs.c:554:13 > frame #3: 0x00028f54 sh`evalcommand(cmd=3D0x400ad0e4, = flags=3D, backcmd=3D0x00000000) at eval.c:1107:16 > frame #4: 0x00027800 sh`evaltree(n=3D0x400ad0e4, = flags=3D) at eval.c:289:4 > frame #5: 0x000344d0 sh`cmdloop(top=3D1) at main.c:221:4 > frame #6: 0x000342f4 sh`main(argc=3D, = argv=3D) at main.c:168:3 > frame #7: 0x0002480c sh`__start(argc=3D8, argv=3D, = env=3D, ps_strings=3D, obj=3D0x400b4004, = cleanup=3D0x40081aa0) at crt1_c.c:92:7 >=20 > -> 608 } while (dowait(DOWAIT_BLOCK | DOWAIT_SIG, = (struct job *)NULL) !=3D -1); >=20 > 0x31aa4 <+80>: bl 0x32bcc ; dowait at = jobs.c:1142 > -> 0x31aa8 <+84>: cmn r0, #1 >=20 >=20 > For building devel/cmake : > (cmsysProcess_WaitForData not shown between #0 and #1) > (Note: the failing cmake is Bootstrap.cmk/cmake .) >=20 > (lldb) bt > * thread #1, name =3D 'cmake', stop reason =3D signal SIGSEGV > * frame #0: 0xffffe190 > frame #1: 0x000fd124 cmake`(anonymous = namespace)::RunCommand(command=3D, output=3D"14.0-CURRENT\n",= retVal=3D, dir=3D, verbose=3D, = encoding=3DAuto) at cmExecProgramCommand.cxx:223:15 > frame #2: 0x000fca24 cmake`cmExecProgramCommand(args=3D,= status=3D) at cmExecProgramCommand.cxx:95:14 > frame #3: 0x002a0ca0 = cmake`InvokeBuiltinCommand(command=3D(cmake`cmExecProgramCommand(std::__1:= :vector, = std::__1::allocator >, = std::__1::allocator, std::__1::allocator > > > const&, = cmExecutionStatus&) at cmExecProgramCommand.cxx:26), args=3D,= status=3D0xffffb9a8)(std::__1::vector, std::__1::allocator >, = std::__1::allocator, std::__1::allocator > > > const&, = cmExecutionStatus&), std::__1::vector > const&, cmExecutionStatus&) at = cmState.cxx:430:10 > frame #4: 0x00248988 = cmake`cmMakefile::ExecuteCommand(cmListFileFunction const&, = cmExecutionStatus&, cm::optional, std::__1::allocator > >) [inlined] = std::__1::__function::__value_func > const&, = cmExecutionStatus&)>::operator(this=3D, = __args=3D, = __args=3D)(std::__1::vector > const&, cmExecutionStatus&) = const at functional:1884:16 > frame #5: 0x00248980 = cmake`cmMakefile::ExecuteCommand(cmListFileFunction const&, = cmExecutionStatus&, cm::optional, std::__1::allocator > >) [inlined] = std::__1::function > const&, = cmExecutionStatus&)>::operator(this=3D, = __arg=3D, = __arg=3D)(std::__1::vector > const&, cmExecutionStatus&) = const at functional:2556 > frame #6: 0x00248980 = cmake`cmMakefile::ExecuteCommand(this=3D0x4086a000, lff=3D0x408798b0, = status=3D, deferId=3D) at cmMakefile.cxx:462 > frame #7: 0x001eabac = cmake`cmIfFunctionBlocker::Replay(this=3D0x403d2800, = functions=3D, inStatus=3D0xffffbd10) at = cmIfCommand.cxx:149:10 > frame #8: 0x00157d50 = cmake`cmFunctionBlocker::IsFunctionBlocked(this=3D0x403d2800, = lff=3D, status=3D) at = cmFunctionBlocker.cxx:42:20 > frame #9: 0x002484a4 = cmake`cmMakefile::ExecuteCommand(cmListFileFunction const&, = cmExecutionStatus&, cm::optional, std::__1::allocator > >) [inlined] = cmMakefile::IsFunctionBlocked(this=3D0x4086a000, lff=3D, = status=3D) at cmMakefile.cxx:3426:40 > frame #10: 0x00248484 = cmake`cmMakefile::ExecuteCommand(this=3D0x4086a000, lff=3D0x40868440, = status=3D, deferId=3Doptional, std::__1::allocator > > @ 0xffffbc78) = at cmMakefile.cxx:421 > frame #11: 0x001eabac = cmake`cmIfFunctionBlocker::Replay(this=3D0x403d2760, = functions=3D, inStatus=3D0xffffc078) at = cmIfCommand.cxx:149:10 > frame #12: 0x00157d50 = cmake`cmFunctionBlocker::IsFunctionBlocked(this=3D0x403d2760, = lff=3D, status=3D) at = cmFunctionBlocker.cxx:42:20 > frame #13: 0x002484a4 = cmake`cmMakefile::ExecuteCommand(cmListFileFunction const&, = cmExecutionStatus&, cm::optional, std::__1::allocator > >) [inlined] = cmMakefile::IsFunctionBlocked(this=3D0x4086a000, lff=3D, = status=3D) at cmMakefile.cxx:3426:40 > frame #14: 0x00248484 = cmake`cmMakefile::ExecuteCommand(this=3D0x4086a000, lff=3D0x408683b8, = status=3D, deferId=3Doptional, std::__1::allocator > > @ 0xffffbfe0) = at cmMakefile.cxx:421 > frame #15: 0x001eabac = cmake`cmIfFunctionBlocker::Replay(this=3D0x403d2710, = functions=3D, inStatus=3D0xffffc368) at = cmIfCommand.cxx:149:10 > frame #16: 0x00157d50 = cmake`cmFunctionBlocker::IsFunctionBlocked(this=3D0x403d2710, = lff=3D, status=3D) at = cmFunctionBlocker.cxx:42:20 > frame #17: 0x002484a4 = cmake`cmMakefile::ExecuteCommand(cmListFileFunction const&, = cmExecutionStatus&, cm::optional, std::__1::allocator > >) [inlined] = cmMakefile::IsFunctionBlocked(this=3D0x4086a000, lff=3D, = status=3D) at cmMakefile.cxx:3426:40 > frame #18: 0x00248484 = cmake`cmMakefile::ExecuteCommand(this=3D0x4086a000, lff=3D0x40873208, = status=3D, deferId=3Doptional, std::__1::allocator > > @ 0xffffc358) = at cmMakefile.cxx:421 > frame #19: 0x0024a628 = cmake`cmMakefile::RunListFile(this=3D, listFile=3D0xffffc3f0,= = filenametoread=3D"/wrkdirs/usr/ports/devel/cmake/work/cmake-3.19.6/Modules= /CMakeDetermineSystem.cmake", defer=3D0x00000000) at = cmMakefile.cxx:788:11 > frame #20: 0x0024af34 = cmake`cmMakefile::ReadListFile(this=3D, = filename=3D) at cmMakefile.cxx:737:9 > frame #21: 0x001ce448 = cmake`cmGlobalGenerator::EnableLanguage(this=3D, = languages=3D0xffffc63c, mf=3D0x4086a000, optional=3Dfalse) at = cmGlobalGenerator.cxx:629:9 > frame #22: 0x00310bf4 = cmake`cmGlobalUnixMakefileGenerator3::EnableLanguage(this=3D0x403cc900, = languages=3D0xffffc63c, mf=3D0x4086a000, optional=3Dfalse) at = cmGlobalUnixMakefileGenerator3.cxx:57:28 > frame #23: 0x0025d740 = cmake`cmMakefile::EnableLanguage(this=3D0x4086a000, lang=3D, = optional=3Dfalse) at cmMakefile.cxx:3748:33 > frame #24: 0x0027e198 cmake`cmProjectCommand(args=3D, = status=3D) at cmProjectCommand.cxx:338:6 > frame #25: 0x002a0ca0 = cmake`InvokeBuiltinCommand(command=3D(cmake`cmProjectCommand(std::__1::vec= tor, = std::__1::allocator >, = std::__1::allocator, std::__1::allocator > > > const&, = cmExecutionStatus&) at cmProjectCommand.cxx:30), args=3D, = status=3D0xffffc9b8)(std::__1::vector, std::__1::allocator >, = std::__1::allocator, std::__1::allocator > > > const&, = cmExecutionStatus&), std::__1::vector > const&, cmExecutionStatus&) at = cmState.cxx:430:10 > frame #26: 0x00248988 = cmake`cmMakefile::ExecuteCommand(cmListFileFunction const&, = cmExecutionStatus&, cm::optional, std::__1::allocator > >) [inlined] = std::__1::__function::__value_func > const&, = cmExecutionStatus&)>::operator(this=3D, = __args=3D, = __args=3D)(std::__1::vector > const&, cmExecutionStatus&) = const at functional:1884:16 > frame #27: 0x00248980 = cmake`cmMakefile::ExecuteCommand(cmListFileFunction const&, = cmExecutionStatus&, cm::optional, std::__1::allocator > >) [inlined] = std::__1::function > const&, = cmExecutionStatus&)>::operator(this=3D, = __arg=3D, = __arg=3D)(std::__1::vector > const&, cmExecutionStatus&) = const at functional:2556 > frame #28: 0x00248980 = cmake`cmMakefile::ExecuteCommand(this=3D0x4086a000, lff=3D0x40884018, = status=3D, deferId=3D) at cmMakefile.cxx:462 > frame #29: 0x0024a628 = cmake`cmMakefile::RunListFile(this=3D, listFile=3D0xffffcae0,= = filenametoread=3D"/wrkdirs/usr/ports/devel/cmake/work/cmake-3.19.6/CMakeLi= sts.txt", defer=3D0x4087b010) at cmMakefile.cxx:788:11 > frame #30: 0x00254948 cmake`cmMakefile::Configure(this=3D0x4086a000) = at cmMakefile.cxx:1768:9 > frame #31: 0x001d2e9c = cmake`cmGlobalGenerator::Configure(this=3D0x403cc900) at = cmGlobalGenerator.cxx:1242:10 > frame #32: 0x0031123c = cmake`cmGlobalUnixMakefileGenerator3::Configure(this=3D) at = cmGlobalUnixMakefileGenerator3.cxx:132:28 > frame #33: 0x002f5ab0 cmake`cmake::ActualConfigure(this=3D0xffffd018)= at cmake.cxx:1928:26 > frame #34: 0x002f493c cmake`cmake::Configure(this=3D0xffffd018) at = cmake.cxx:1785:19 > frame #35: 0x002f6fec cmake`cmake::Run(this=3D0xffffd018, = args=3D0xffffcfd8, noconfigure=3Dfalse) at cmake.cxx:2155:19 > frame #36: 0x002fdeec cmake`main [inlined] (anonymous = namespace)::do_cmake(ac=3D, av=3D) at = cmakemain.cxx:300:16 > frame #37: 0x002fde78 cmake`main(ac=3D, = av=3D) at cmakemain.cxx:861 > frame #38: 0x0009b32c cmake`__start(argc=3D6, argv=3D, = env=3D, ps_strings=3D, obj=3D0x403ea004, = cleanup=3D0x403b7aa0) at crt1_c.c:92:7 >=20 > -> 223 while ((p =3D cmsysProcess_WaitForData(cp, &data, = &length, nullptr))) { >=20 > 0xfd120 <+744>: bl 0x3672f8 ; = cmsysProcess_WaitForData at ProcessUNIX.c:1064 > -> 0xfd124 <+748>: cmp r0, #0 >=20 >=20 > For devel/gdb there are 2 cores: a gmake.core and a sh.core >=20 >=20 > For devel/gdb's gmake.core : > (jobserver_acquire not shown between #0 and #1) >=20 > (lldb) bt > * thread #1, name =3D 'gmake', stop reason =3D signal SIGSEGV > * frame #0: 0xffffe190 > frame #1: 0x0003b5f8 gmake`new_job(file=3D) at = job.c:1870:21 > frame #2: 0x0002db80 = gmake`execute_file_commands(file=3D) at commands.c:476:3 = [artificial] > frame #3: 0x00049acc gmake`update_file [inlined] = remake_file(file=3D0x4036cda0) at remake.c:1234:11 > frame #4: 0x00049a84 gmake`update_file [inlined] = update_file_1(file=3D, depth=3D4) at remake.c:835 > frame #5: 0x000494ec gmake`update_file(file=3D, = depth=3D) at remake.c:336 > frame #6: 0x0004b08c gmake`check_dep(file=3D0x4036cda0, = depth=3D, this_mtime=3D1, must_make_ptr=3D0xffff6aec) at = remake.c:1024:20 > frame #7: 0x00049074 gmake`update_file at remake.c:572:17 > frame #8: 0x00048b80 gmake`update_file(file=3D, = depth=3D) at remake.c:336 > frame #9: 0x0004b08c gmake`check_dep(file=3D0x4036cc20, = depth=3D, this_mtime=3D1, must_make_ptr=3D0xffff6ba4) at = remake.c:1024:20 > frame #10: 0x00049074 gmake`update_file at remake.c:572:17 > frame #11: 0x00048b80 gmake`update_file(file=3D, = depth=3D) at remake.c:336 > frame #12: 0x000487e0 = gmake`update_goal_chain(goaldeps=3D) at remake.c:151:22 > frame #13: 0x0003f25c gmake`main(argc=3D130, argv=3D0xffffa36c, = envp=3D0xffffffff) at main.c:2589:13 > frame #14: 0x0002c0fc gmake`__start(argc=3D130, argv=3D,= env=3D, ps_strings=3D, obj=3D0x400c4004, = cleanup=3D0x40091aa0) at crt1_c.c:92:7 >=20 > -> 1870 got_token =3D jobserver_acquire (waiting_jobs !=3D= NULL); >=20 > 0x3b5f4 <+1288>: bl 0x50078 ; = jobserver_acquire at posixos.c:265 > -> 0x3b5f8 <+1292>: cmp r0, #1 >=20 >=20 >=20 > For devel/gdb's sh.core : > (dowait not shown between #0 and #1) >=20 > (lldb) bt > * thread #1, name =3D 'sh', stop reason =3D signal SIGSEGV > * frame #0: 0xffffe190 > frame #1: 0x00031aa8 sh`waitcmdloop(job=3D0x00064230) at = jobs.c:608:11 > frame #2: 0x00031a24 sh`waitcmd(argc=3D, = argv=3D) at jobs.c:554:13 > frame #3: 0x00028f54 sh`evalcommand(cmd=3D0x403fd0e4, = flags=3D, backcmd=3D0x00000000) at eval.c:1107:16 > frame #4: 0x00027800 sh`evaltree(n=3D0x403fd0e4, = flags=3D) at eval.c:289:4 > frame #5: 0x000344d0 sh`cmdloop(top=3D1) at main.c:221:4 > frame #6: 0x000342f4 sh`main(argc=3D, = argv=3D) at main.c:168:3 > frame #7: 0x0002480c sh`__start(argc=3D26, argv=3D, = env=3D, ps_strings=3D, obj=3D0x400b4004, = cleanup=3D0x40081aa0) at crt1_c.c:92:7 >=20 > -> 608 } while (dowait(DOWAIT_BLOCK | DOWAIT_SIG, = (struct job *)NULL) !=3D -1); >=20 > 0x31aa4 <+80>: bl 0x32bcc ; dowait at = jobs.c:1142 > -> 0x31aa8 <+84>: cmn r0, #1 >=20 >=20 >=20 > It was basically the same list of ports that had built for > the cortex-a72 target context (208 armv7/cortex-a7 vs. 209 > cortex-a72). I've no evidence of native aarch64 problems. >=20 > The cortex-a57 self built its 209 just fine and so far the > a57's cortex-a53 targeted build of the 209 has had no > problems (built 148 with 61 yet to finish). >=20 > So the problem seems to be specific armv7 activity on aarch64 > systems, or possibly on cortex-a72 specifically. >=20 >=20 >=20 > For reference . . . >=20 > The chroot used to examine the expanded .tar content reports: >=20 > # ~/fbsd-based-on-what-freebsd-main.sh=20 > merge-base: bad9fa56620eb82395c5ab66d300e91a0222dde2 > merge-base: CommitDate: 2021-03-06 21:46:28 +0000 > e48a1c379bfc (HEAD -> mm-src) mm-src snapshot for mm's patched build = in git context. > bad9fa56620e (freebsd/main, freebsd/HEAD, pure-src, main) [PowerPC] = Fix AP bringup on 32-bit AIM SMP > FreeBSD FBSDmacch 14.0-CURRENT FreeBSD 14.0-CURRENT = mm-src-n245316-e48a1c379bfc GENERIC-NODBG arm armv7 1400005 1400005 >=20 > The host system reports: >=20 > # ~/fbsd-based-on-what-freebsd-main.sh=20 > merge-base: bad9fa56620eb82395c5ab66d300e91a0222dde2 > merge-base: CommitDate: 2021-03-06 21:46:28 +0000 > e48a1c379bfc (HEAD -> mm-src) mm-src snapshot for mm's patched build = in git context. > bad9fa56620e (freebsd/main, freebsd/HEAD, pure-src, main) [PowerPC] = Fix AP bringup on 32-bit AIM SMP > FreeBSD FBSDmacch 14.0-CURRENT FreeBSD 14.0-CURRENT = mm-src-n245316-e48a1c379bfc GENERIC-NODBG arm64 aarch64 1400005 1400005 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)