maintainer-feedback requested: [Bug 264949] lang/gcc11: Needs build time warning for /tmp consumption
Date: Wed, 29 Jun 2022 11:54:48 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-toolchain (Nobody) <toolchain@FreeBSD.org> for maintainer-feedback: Bug 264949: lang/gcc11: Needs build time warning for /tmp consumption https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264949 --- Description --- lang/gcc11 is now the default version of gcc at ports git cad2f66a384d74cffa870d978722e6fd579c7d2f. On updating, build exhausted by insufficient capacity of /tmp. At the moment, I had 2GiB of tmpfs for /tmp, backed with 32GiB swap. stable13 at git dac438a9b599cfec13b463a1a8d90283f7ed830f, amd64. By increasing /tmp with 1GiB step (with reboots), finally build finished successfully with 5GiB of/tmp. (4GiB was insufficient.) I'm not sure this is really reasonable for just a toolchain though, at least, this SHALL be warned like www/chromium does on pre-everything:: target does. Is this because of LTO_BOOTSTRAP option (default of amd64)? Note that /tmp was used only 1.7MiB after building lang/gcc11 finished and lang/gcc10 with default option was OK with 2GiB of /tmp.