From nobody Sat Jan 29 01:52:15 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 83EA41982DE3 for ; Sat, 29 Jan 2022 01:52:27 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-22.consmr.mail.gq1.yahoo.com (sonic310-22.consmr.mail.gq1.yahoo.com [98.137.69.148]) (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 4Jly4p0Nmzz3KN1 for ; Sat, 29 Jan 2022 01:52:25 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643421139; bh=bO0PoYRJ3ofHPsk3ZuoR/bOSEHunBa/8aLwhHxqKt0Q=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=dlWU79kIgb2Z6qyylcXUOAC8XIqv1JN8nGoSokBHv6kw26cBuNeP5ZmUlfqFjLQ6cM5r310K8UWLAjT2OF/DS7cAurUfQrJSvi35dR4WVjEe7OLpDKrhDTWvCUkUslmS21MdizjyKxS3Wy8SIhB9H71ISGY77jD3cgT+gmHu9frdlHTk+eqxb/zWgq0EFJZ04doz9sTqIfLevtpreY6gJ6xkYt3Td4HrF/5qH8FhpNwPkz4dE4x1bSETIjDSMHGLybPQ2/lIOvlFpWTqIgNsonSbLS3/QFW31y3AT9gSsYaRkOUQ8Tc6fucr9tRtK3FN1X1viwl3ZAL3eNL/O4ybig== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643421139; bh=pgqEmas63UD68mxAzV3TbSPjU72PCMfqKrSOygy7ZmT=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=bpPl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sOYzDQTXGesoaZgen_YyK3XPrjK3sj6__lR5QhaDcn9ixa1_dJPjqx.H3LNgftBJKcL8T Uuj22CXyXjfiUEYzea2hlAUBzE8nuufnFnpK3JBwsJ5Ix.2M2bbLGzTE7ogjzSipv87uC84c8Ac6 _3mliyDonkYAuMOykQAwOEcinOJpmeorJTv9miDZ_lMk.0mrW8iWrRC0ESh_N.WNtBGWsqTYIQZd qcs_3FaO4EfFDlzvexQ4kLKJifeQPP.rlDGAEp7NP5PnIpj.dwcnMjWCkl3gGt9xgGxsH5cAvJWp etWZJX1wahnq9HWE6aIVOcVfPOK_N7eAOIpZJ_uvvVo6aqsPGQXQp_pxoVZ4Rkd2nGML9UdpNL.v 18QZLlmPwtHs2Szmct1ug.m6qDo3DTgV_Mmn5CYx8JCYstdHUPY6dTRNVPYQu3x4mpTj2OknOSnj UzQh5NBOrmausHMrnlaUV7NuXxtZQ73F3TEqUv0lSVGHIkoHUfsy7UxIZq0gWJPL5ROJTwAC1AuV MZ.jdMsKXwfc- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Sat, 29 Jan 2022 01:52:19 +0000 Received: by kubenode507.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID cbdeb117bc215b00df562c6c59b85e29; Sat, 29 Jan 2022 01:52:17 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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: devel/llvm13 failed to reclaim memory on 8 GB Pi4 running -current [UFS context: used the whole swap space too] From: Mark Millard In-Reply-To: <20220129011429.GA58988@www.zefox.net> Date: Fri, 28 Jan 2022 17:52:15 -0800 Cc: Free BSD Content-Transfer-Encoding: quoted-printable Message-Id: <77D2C785-3C81-46FB-804A-5948F36BA2B0@yahoo.com> References: <20220127233048.GA51951@www.zefox.net> <6528ED25-A3C6-4277-B951-1F58ADA2D803@yahoo.com> <10B4E2F0-6219-4674-875F-A7B01CA6671C@yahoo.com> <54CD0806-3902-4B9C-AA30-5ED003DE4D41@yahoo.com> <9771EB33-037E-403E-8A77-7E8E98DCF375@yahoo.com> <20220129002017.GA58768@www.zefox.net> <03306779-68BB-4C87-9B03-81756EFC519C@yahoo.com> <20220129011429.GA58988@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Jly4p0Nmzz3KN1 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=dlWU79kI; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.148 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 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(-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)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.148:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.148:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Jan-28, at 17:14, bob prohaska wrote: > On Fri, Jan 28, 2022 at 04:33:11PM -0800, Mark Millard wrote: >>=20 >>=20 >> The part of it that has: >>=20 >> CFLAGS.clang+=3D -O0 >> .if empty(DEBUG_FLAGS) >> MK_DEBUG_FILES:=3Dno >> CFLAGS.clang+=3D -g0 >> .endif >>=20 >> is important to limiting memory use for building >> googletest. >>=20 >=20 > The version on my Pi3 running stable/13 contains > CFLAGS.clang+=3D -O0 > .if empty(DEBUG_FLAGS) > MK_DEBUG_FILES:=3Dno > CFLAGS.clang+=3D -g0 > .endif >=20 > No differences that I can see. Okay. I'll note that flang is new to devel/llvm13 and, for comparison to historical build-clang memory use, I ignore flang. Building flag is not involved in buildworld. But the failures that you have reported were not building clang or anything from the llvm project. They were building gmock things. An interesting thing that I've noted in your reporting: c++: note: diagnostic msg: /tmp/gmock-all-836ef8.cpp c++: note: diagnostic msg: /tmp/gmock-all-836ef8.sh vs. http://www.zefox.net/~fbsd/rpi3/20220121/ which has: =E2=80=A2 gmock_main-f5c28a.cpp =E2=80=A2 gmock_main-f5c28a.sh Those are different .cpp files and I only have access to the gmock_main-f5c28a.cpp related pair of files. I've never gotten a failure for what I have access to. You have not reported the lldb result for my reply that listed doing: QUOTE To look at the different frames: (lldb) up 1 (lldb) bt . . . (output) . . . (lldb) up 1 (lldb) bt . . . (output) . . . and so on until #5 has been displayed. END QUOTE This was a gmock_main-f5c28a.cpp context. The "up" commands make the sequence more than just "repeated bt commands". It should show the source code of the lines of code in question for the specific frame, much like it did for frame #0 in what you had sent to the list. =20 =3D=3D=3D Mark Millard marklmi at yahoo.com