From nobody Mon Aug 15 03:26:30 2022 X-Original-To: freebsd-ports@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 4M5fp90Skhz4YZYg for ; Mon, 15 Aug 2022 03:26:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-25.consmr.mail.gq1.yahoo.com (sonic312-25.consmr.mail.gq1.yahoo.com [98.137.69.206]) (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 4M5fp80VDvz3Lc6 for ; Mon, 15 Aug 2022 03:26:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1660533998; bh=Y1v5C35TK/yy0tz3b5kJnkAedr1nD1KxkXaRnX0Y9FU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=mSq3OA1ZjcgLk3ssxDx2mrwq9iv8T7QOHgySM5oZawGGx6IooLXCTrsGFs2EUTk7uW6EMpIoeFebqbHNGGPwKHIXEiNNg2p761FKeV0NF/NQxzh2fg66adyqGWZQOmNWZK/pMSl1NNUTVN6lPgrTTEBBqReFIOidvoZvjAZZtfVhyhr159jLSx4Ssq5XAw7nlXQxI3u1bSjuaPA+QJlnICm8e1/xFCH44fsP2iUZoOYnIiIQqs6AMZdX2uAAzpFBtDRc/S8sEaVREd6TrgdWbqhCsxgxt2FQ48q99Rdq6cVdCqZIa6Ap7FMZsszuiqO9rUrIhMMIeexFjV7qlxzUig== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1660533998; bh=hbO0FUfwYyMDgPiAolvtJd3W6OFsHf1LaoUTg0/6AWH=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g7jlw3Y706CikewXWlENo.OFwPv1iIOSsIEENGzCtnLmqKBaFSfta3 lCjObYv2ddRnwZkae0VKXfLXopZBQYdryR53NNv7Y1gDNYmP.LaPSaYsMuzGZ1Wxj5K1MH4TVSV6 H_3F1vNfwpHn6OrRVfMKqQCmuzRQizfoRikINiezM_hDtDvdPnAkKwS5EaK1HKW1zw92.nZV300N s_3d5VK21c25OmmFcBfvbCZGbnIxhiAPiIXl5KUlnNToK8.gWhyrxWShWZ_psmwyWpuiDiG_4Z43 YgzzIQQp1uczQ8mL_39K1qn5PxDlLSWLgOdRtvkjR5CytQJp1Q84c7rQdPDZ28LJ40N5.YWb1TJL 8BDLXwv94j_OSwVJjB4EK_wtF3GK9_Eyuho9gl5MUM3ZZ5Xe4ZFfGLq5qyXzbqSD5Zlud7qSxc1m kKmjZfWfHFXnPWhsU8Oq0VMu908aUm_SrgZTN0RHhuqNczAoQ9Uucf6HYWBkT.W6.LT5cnT.GXmB NugDTYxE81N_48EXVPQ3uCWGE2NzfbfLGxAw67UiFU91GUu_AhrDfFniNCVv8BhD4QHCSzHk_zBv faBkzmHS1yIgVC2tLkzNKz_ywwm0k3jdBpG7S0vDBDyjL8zyQpclYHX6V6Hs8 X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Mon, 15 Aug 2022 03:26:38 +0000 Received: by hermes--production-bf1-7586675c46-6jlzf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4b4c13b1f73ee07edb9bbeb2974ba2b1; Mon, 15 Aug 2022 03:26:33 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Resolved: devel/llvm13 build: "ninja: build stopped: subcommand failed" From: Mark Millard In-Reply-To: <20220815120616.0cb809413a551717cab3a2eb@dec.sakura.ne.jp> Date: Sun, 14 Aug 2022 20:26:30 -0700 Cc: Nuno Teixeira , FreeBSD Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: <4D8AB2F3-6A76-4E3A-9C44-348F1352A5D3@yahoo.com> References: <1D4C14BD-8955-4B86-9C99-3E58D7603122.ref@yahoo.com> <1D4C14BD-8955-4B86-9C99-3E58D7603122@yahoo.com> <7CDC63F3-8B68-420E-8012-B1692667E293@yahoo.com> <21FC1F5E-240E-4A8C-A5D2-6B73494026C0@yahoo.com> <3E3F8980-8214-45E9-9530-D78243A29D41@yahoo.com> <20220815120616.0cb809413a551717cab3a2eb@dec.sakura.ne.jp> To: Tomoaki AOKI X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4M5fp80VDvz3Lc6 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=mSq3OA1Z; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.34 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.990]; NEURAL_HAM_MEDIUM(-0.85)[-0.846]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.206:from]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N On 2022-Aug-14, at 20:06, Tomoaki AOKI = wrote: > On Sun, 14 Aug 2022 12:23:03 -0700 > Mark Millard wrote: >=20 >> On 2022-Aug-14, at 11:07, Nuno Teixeira wrote: >>=20 >>> I will follow = https://docs.freebsd.org/en/books/handbook/book/#disks-growing and = resize actual swap, but before that I will have to make sure that = backups are ok in case of something goes wrong. >>>=20 >>> I've tooked a note about total swap <=3D60GB >>>=20 >>> . . . >>=20 >>=20 >> I forgot an important question relative to the resource use >> for building devel/llvm13 and later: do you need/want the >> fortran compiler? >>=20 >> If not, you can disable the options: FLANG MLIR >> (building FLAG would require building MLIR) >>=20 >> Then the build will be far less memory intensive >> and take less time. >>=20 >> It had slipped my mind that my builds have these 2 options >> disabled. >>=20 >> =3D=3D=3D >> Mark Millard >> marklmi at yahoo.com >=20 > Is there any possibility that something alike Bug 264949 [1] for gcc11 > is happening? >=20 > For amd64, option GOLD (LTO support) is implied by default. > If it causes LTO to be enabled for llvm13 build itself, and lld act as > linker of gcc11, small TMPDIR would overflow. >=20 > gcc11 required at minimum 5GiB of free space on TMPDIR. > (4GiB was insufficient.) >=20 > [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264949 >=20 Nuno had a specific problem others have not reported: QUOTE I've tested it but it still fails: --- pid 64502 (c++), jid 7, uid 65534, was killed: failed to reclaim memory swap_pager: out of swap space --- on a Lenovo Legion 5, 16GB RAM and 4GB swap. END QUOTE "was killed: failed to reclaim memory" and "swap_pager: out of swap space" are not about "small TMPDIR overflow", at least not directly. But if the tmpfs is of a form backed by RAM+SWAP, then the tmpfs use can grow to contribute to causing reclaim problems and/or out of swap space problems by competing for RAM+SWAP space. Nuno reported having disabled such tmpfs use ( via USE_TMPFS=3Dno in /usr/local/etc/poudriere.conf ). I do not know if that status is well confirmed or not. I've also no clue if WITH_DEBUG=3D might be in use. (WITH_DEBUG needs to not be in use unless huge resources are available.) My amd64 tests indicate that something beyond the compiles/links themselves was using significant RAM+SWAP in Nuno's context. I've no clue what. =3D=3D=3D Mark Millard marklmi at yahoo.com