maintainer-feedback requested: [Bug 264949] lang/gcc11: Needs build time warning for /tmp consumption

From: <>
Date: Wed, 29 Jun 2022 11:54:48 UTC
Bugzilla Automation <> has asked freebsd-toolchain (Nobody)
<> for maintainer-feedback:
Bug 264949: lang/gcc11: Needs build time warning for /tmp consumption

--- Description ---
lang/gcc11 is now the default version of gcc at ports git

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.