From nobody Fri Nov 07 15:42:24 2025 X-Original-To: freebsd-current@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 4d33Gr36K1z6G5pl; Fri, 07 Nov 2025 15:42:44 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.ipv6.vt.edu [IPv6:2607:b400:a:8a80:2:5000:5555:5555]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4d33Gr03Fkz3Tm5; Fri, 07 Nov 2025 15:42:43 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2601:5cf:407f:8a51::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 8CDE960E06; Fri, 07 Nov 2025 10:42:35 -0500 (EST) Content-Type: text/plain; charset=utf-8 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.200.81.1.6\)) Subject: Re: Arm v7 RPi2 -current unresponsive to debugger escape during buildworld From: Paul Mather In-Reply-To: Date: Fri, 7 Nov 2025 10:42:24 -0500 Cc: Mark Millard , Ronald Klop , freebsd-current@freebsd.org, freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <8939ABFB-B315-4DFE-8CD9-296B8A117053@gromit.dlib.vt.edu> References: <475995705.6919.1762440301455@localhost> <05ADBC62-E111-42F9-ACF2-3A92F2781870@yahoo.com> To: bob prohaska X-Mailer: Apple Mail (2.3864.200.81.1.6) X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:1312, ipnet:2607:b400::/40, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4d33Gr03Fkz3Tm5 On Nov 6, 2025, at 9:22=E2=80=AFpm, bob prohaska = wrote: > On Thu, Nov 06, 2025 at 10:00:19AM -0800, Mark Millard wrote: >> On Nov 6, 2025, at 08:38, bob prohaska wrote: >>=20 >>> On Thu, Nov 06, 2025 at 03:45:01PM +0100, Ronald Klop wrote: >>>> Hi, >>>>=20 >>>> To me it sounds like your machine is overwhelmed by swapping. >>>>=20 >>>> Try -j1 buildworld. > Maybe a -j1 buildworld could be at least somewhat informative. > Lately none of my Pi2's has made it through buildworld=20 > without hanging silently. If -j1 buildworld completes, > that would be a significant change. The test will take a > week, but the problem has been going on for a year. This isn't related directly to building on the RPi2, but just a general = comment that on a system with 1 GB RAM like the RPi2, building with -j3 = (or anything more than -j1) is probably wishful thinking at this point = given it seems the RAM requirements of LLVM right now seem to be = creeping ever upwards. LLVM 19.1.7 seems slower and more memory-hungry than ever before. Maybe = it's LTO? I don't know. My current bugbear is the databases/mongodb70 = port which will no longer build for me on the 16 GB RAM FreeBSD/amd64 = 14-STABLE system I use to build ports locally via Poudriere. It will = grind away for hours and ultimately fail due to the compiler being out = of memory at some point. I found a Bugzilla report by someone who = attested it required 24 GB RAM to build, and it will only successfully = build now for me if I add an extra 30 GB swap or so on that build = system. Even then, it takes an age to build: the last successful one = being 12:39:27 (and that potentially benefitting from prior ccache = builds). That mongodb70 port takes about an order of magnitude longer = to build than an entire buildword/buildkernel on the same system. I guess building software yourself just takes more RAM these days, and = recognise that the RPi2 does not have much RAM in the grand scheme of = things by today's standards. I hope a "-j1" build works for you. Cheers, Paul.