From nobody Sun Aug 04 06:07:59 2024 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 4Wc8JJ21FYz5SCRt for ; Sun, 04 Aug 2024 06:08:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-21.consmr.mail.gq1.yahoo.com (sonic313-21.consmr.mail.gq1.yahoo.com [98.137.65.84]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 4Wc8JH2QJZz547P for ; Sun, 4 Aug 2024 06:08:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=gfEnkWVd; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1722751692; bh=il8f7tMy4JNZLwsHZ6t2Kq3jKwpkLQZHtXV9bAebsZE=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=gfEnkWVdOPi3RFNBREqphBUPqvQ68nJF+BvCoGkc+Eo9RbtZHjQfYVq31YzW8es15quxDK7NmTJQJacDDI5YEGD2biK3DNwFb/rXTfRZmMtGpGK9OKpzMyy6x+aKTUv+Yaum/5k2s2iMajNvD3PP9DMo2L9r7G4Pu3VK0iD/dqOGjcd/lFHc9LuaQ20wundFs4D7SPVWGf/gUYUFe+q/W223qsTSfhZGqd5ZJGycSho6gsZhkQkSVO08Tdvd/wIgvFUA7KO+AWsW1Zw48zJuzl8mwLRtESQwDWAHhMpELrrZBE9zbutIYzx3r5Cy+0HJymld++nZRpzAh2gNxy6eRA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1722751692; bh=jI6I9S4LJYy2r4cLw0w9R0MlEH4V6BmrTZDrIcyAIfg=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=KTOU4k7m2APLeO/ItK/eBHDS7xm22s3ilcgq4d+s17p71ZRJ6LcjnKKNeFejs7iza/exkXIS926IFkkE83VZTK0qFKkWdPUQbD032S1EcjRBXUckXYVUJqbNSo79mfQdZz4n+Dc4DWdIkjLq1S6Pwi2umwSxy9ehby0tpSdJ6k91Z0Yg2pjf2EEB5zSxoVv7OBhCgBRKrxdmlKnWyagIri/FQmDIIc1cfKYYXnQXogeU3GXy10t1UQBOBjKjX6A8wyNPpe4/rUTBRBl7PogZDV1+sT2MueUmIPY5w/ji/DW7Ar5Egf0oj88ZIIBMMFfWwnp1igSjaWQm3EkRbfCqyg== X-YMail-OSG: FJQmaBAVM1koVFTvp7id_mtTyhDydESbz8peTPcmNxBs.OHYK7u1V4lf2WDq1fT 3zZLrOvJSB4ddzGLhakIz36DTVSVnhtmCEwFaeGmPc5kL3swd7L3vHlOw6kx99PoXM9dxOedXfhP kRGeFUGD3zKswRkiMnYnf3bx7GkwS1nYHrQ.1UdrRO7buu2aPoM_m82T0bIyfhzHmmtYLjMiQ0cD dHdiO2CXOCNZQwgQPxqe7dsNArzRlvWk_Qqbrss0mdIHyowZKmN5kK8R51xw2dWwnN7573TMjk3P ivFGY0cY9OX08CObkECxP4pziiGzIBFXyqMU99vtR6nuj5j_1.i6vQp9Y_suJOBohwR4OWS39AHS D9klTmR.O4_elru8eDg7aTxFA339pwE_BPPS2eoqynBihQL4sQ5pS.buqyqudEd6WK3mXQJ3wO.W 5ImIkgkGJ1I9dmiumqu4W2sWqYlewmGhUEIJ3vBlAQnVTLMiR2OfaoyDZVxqQXk5v2M5e5bJMwer JunTY6fJPCDiqrxzdU3ktWrCcDBu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n.ZPWLmF2MIBNIiKUd332aKGzROfstOdxJsyjaArFMaa9WH CP0qwb.sg2pEENvC7Vfd0NsFVLhWbKlkwGWXOomzJT5DJZzNBkIy6jKt6IzrL3.UZSlVo8qJ1J3Q J6oUyScEH6gi5tkx0m66kSFnKR6KebES3D8jJCcgnbUgJIG1DfxNO2vgeBnJZDNMcCBiKghimqqK ZV8w46NzhIf4sNfLvzSDz_dNkZt9hvrqtY.3PGAycgwPaTdw7gnnJu5.cqtasCJgu8RoJP2L0xYT E0p5Rf3DJp08HfOlI.2nRm.ST.bLznJKm0IyZ9OpKnIiemL4XDsIqh5p3ovSfTADbgSMKtwsiznb Z0ecXZ3AX7qdGY7SnB30sW0P6nTLYSO583HTFdIZUMQcLQZPkcyOXey2BVbMJYADQlCH2mIaUy_l 08JMPHqjSrUR4lX6r8h7nrbSQjLZTBwKa_ElQRww19bIymY.vBUS8RvAUZrL0G18_DRNl4G6ctot TCyDM_m_3IjQS_euMMXWi4llNi.6gNgzxCumYmtjzdyphyY1FIw4P4.LAjM6d0W4QJZyCHWkl.J. D137TP6hvqXycxtHdFgbD7Q9Y1nZ.vanN2MIhZ854AKrJgLFQn8zKZYQ2ZLyiFWJNXjcAvYS_Y1q gQD9yllYyORH_9NXB44sYuxQmXN3ywmVBazkopmL_dxCfbHvpffRarxlhCzaLCM65Uyfwuee6wHU - X-Sonic-MF: X-Sonic-ID: 948c3b7b-76de-48aa-b8a2-26b52881f135 Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.gq1.yahoo.com with HTTP; Sun, 4 Aug 2024 06:08:12 +0000 Received: by hermes--production-gq1-5d95dc458-5j27b (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 0a5476f81707f3d349f20b5b11cf82bb; Sun, 04 Aug 2024 06:08:09 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 16.0 \(3774.600.62\)) Subject: Any known way to build devel/llvm* ( such as devel/llvm19 ) with --threads=1 for its linker activity during the build? Message-Id: <4FFD603F-E67C-4B62-B91B-8BE365EAA050@yahoo.com> Date: Sat, 3 Aug 2024 23:07:59 -0700 To: FreeBSD Toolchain , FreeBSD ARM List X-Mailer: Apple Mail (2.3774.600.62) References: <4FFD603F-E67C-4B62-B91B-8BE365EAA050.ref@yahoo.com> X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.78 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.78)[-0.785]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; APPLE_MAILER_COMMON(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.84:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.84:from] X-Rspamd-Queue-Id: 4Wc8JH2QJZz547P My recent attempts to build devel/llvm18 and devel/llvm19 in an armv7 = context (native or aarch64-as-armv7) have had /usr/bin/ld failures that = stop the build and report as: LLVM ERROR: out of memory Allocation failed (no system OOM activity or notices, so just a process size/fragmentation = issue, or so I would expect). On native armv7 I also had rust 1.79.0 fail that way so --but = aarch64-as-armv7 built it okay. I'm curious if --threads=3D1 use for the linker might allow the = devel/llvm* builds to complete at this point. Similarly for rust. (top = showed that the ld activity was multi-threaded.) Note: The structure of the poudriere-devel based native build attempts = is historical and it used to work. Similarly for the aarch64-as-armv7 = based build attempts. For now I'd just be exploring changes that might = allow much of my historical overall structure to still work. But I = expect that things are just growing to the point building is starting to = be problematical with process address spaces that are bounded by a limit = somewhat under 4 GiBytes. Native armv7 was a 2 GiByte OrangePi+ 2ed (4 cores) that had at boot time: AVAIL_RAM+SWAP =3D=3D 1958Mi+3685Mi =3D=3D 5643Mi and later had "Max(imum)Obs(erved)" figures: Mem: . . ., 1728Mi MaxObsActive, 275192Ki MaxObsWired, 1952Mi MaxObs(Act+Wir+Lndry) Swap: 3685Mi Total, . . ., 1535Mi MaxObsUsed, 3177Mi MaxObs(Act+Lndry+SwapUsed), 3398Mi MaxObs(A+Wir+L+SU), 3449Mi (A+W+L+SU+InAct) The aarch64-as-armv7 was a Win DevKit 2023 that has 8 cores and: AVAIL_RAM+SWAP =3D=3D 31311Mi+120831Mi =3D=3D 152142Mi So lots of 4 GiByte or smaller processes would fit. =3D=3D=3D Mark Millard marklmi at yahoo.com