Re: Resolved: devel/llvm13 build: "ninja: build stopped: subcommand failed"
Date: Sun, 14 Aug 2022 14:50:54 UTC
Hello Mark, I use poudriere with USE_TMPFS=no, ofc because of low mem) The problem "ninja: build stopped: subcommand failed" have some time now and it's caused by a build peak of memory that affects people with less than 32/64GB mem and to solve building it must be build using one builder with one core thats takes about 7 hours on my machine or with 6c+6t on 12.3 i386 that takes about 45min (123i386 is the only jail that I can use all cores). llvm 12 build without problems Cheers Mark Millard <marklmi@yahoo.com> escreveu no dia domingo, 14/08/2022 à(s) 03:54: > Nuno Teixeira <eduardo_at_freebsd.org> wrote on > Date: Sat, 13 Aug 2022 16:52:09 UTC : > > > . . . > > 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. > > . . . > > This leaves various points unclear: > > poudriere style build? Some other style? > > (I'll state questions in a form generally for a poudriere style > context. Some could be converted to analogous points for other > build-styles.) > > How many poudriere builders allowed (-JN) ? > > /usr/local/etc/poudreire.conf : > ALLOW_MAKE_JOBS=yes in use? > ALLOW_MAKE_JOBS_PACKAGES=??? in use? > USE_TMPFS=??? With what value? Anything other that "data" or "no"? > > /usr/local/etc/poudriere.d/make.conf (or the like): > MAKE_JOBS_NUMBER=??? in use? With what value? > > Is tmpfs in use such that it will use RAM+SWAP when the > used tmpfs space is large? > > How much free space is available for /tmp ? > > Are you using something like ( in, say, /boot/loader/conf ): > > # > # Delay when persistent low free RAM leads to > # Out Of Memory killing of processes: > vm.pageout_oom_seq=120 > > > How many FreeBSD cpus does a Lenovo Legion 5 present > in the configuration used? > > > === > Mark Millard > marklmi at yahoo.com > > -- Nuno Teixeira FreeBSD Committer (ports)