From nobody Mon Aug 15 03:06:16 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 4M5fLl6X5mz4YVGD for ; Mon, 15 Aug 2022 03:06:23 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 4M5fLk1Sxtz3HrW; Mon, 15 Aug 2022 03:06:21 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from kalamity.joker.local (123-1-85-147.area1b.commufa.jp [123.1.85.147]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 27F36HVb098584; Mon, 15 Aug 2022 12:06:18 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Mon, 15 Aug 2022 12:06:16 +0900 From: Tomoaki AOKI To: Mark Millard Cc: Nuno Teixeira , FreeBSD Mailing List Subject: Re: Resolved: devel/llvm13 build: "ninja: build stopped: subcommand failed" Message-Id: <20220815120616.0cb809413a551717cab3a2eb@dec.sakura.ne.jp> In-Reply-To: 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> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4M5fLk1Sxtz3HrW X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp X-Spamd-Result: default: False [-1.60 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_TO(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[sakura.ne.jp]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_NA(0.00)[no SPF record]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, 14 Aug 2022 12:23:03 -0700 Mark Millard wrote: > On 2022-Aug-14, at 11:07, Nuno Teixeira wrote: > > > 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. > > > > I've tooked a note about total swap <=60GB > > > > . . . > > > I forgot an important question relative to the resource use > for building devel/llvm13 and later: do you need/want the > fortran compiler? > > If not, you can disable the options: FLANG MLIR > (building FLAG would require building MLIR) > > Then the build will be far less memory intensive > and take less time. > > It had slipped my mind that my builds have these 2 options > disabled. > > === > Mark Millard > marklmi at yahoo.com Is there any possibility that something alike Bug 264949 [1] for gcc11 is happening? 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. gcc11 required at minimum 5GiB of free space on TMPDIR. (4GiB was insufficient.) [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264949 -- Tomoaki AOKI