Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2022 17:52:15 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        Free BSD <freebsd-arm@freebsd.org>
Subject:   Re: devel/llvm13 failed to reclaim memory on 8 GB Pi4 running -current [UFS context: used the whole swap space too]
Message-ID:  <77D2C785-3C81-46FB-804A-5948F36BA2B0@yahoo.com>
In-Reply-To: <20220129011429.GA58988@www.zefox.net>
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> <A4FA4E8B-635B-454E-87D1-C36A84E2C3BA@yahoo.com> <9771EB33-037E-403E-8A77-7E8E98DCF375@yahoo.com> <B12D2AB9-147E-49EF-854F-A3B999ADDECC@yahoo.com> <BA25F969-4DAC-4E5D-88EF-9475139B6B8A@yahoo.com> <20220129002017.GA58768@www.zefox.net> <03306779-68BB-4C87-9B03-81756EFC519C@yahoo.com> <20220129011429.GA58988@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2022-Jan-28, at 17:14, bob prohaska <fbsd@www.zefox.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77D2C785-3C81-46FB-804A-5948F36BA2B0>