https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81091
Jc Yang <bandinfinite at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bandinfinite at gmail dot com --- Comment #1 from Jc Yang <bandinfinite at gmail dot com> --- This bug also affects std::filesystem when the capacity of modern storage devices are progressing in a fast pace. Without 64bit _FILE_OFFSET_BITS, and consider that there's no trends among the hardware vendors to migrate to a block size larger than 4096 in the foreseeable future, not even the fixed in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85632 can tell the user of a 32bit system the correct size of a partition that is as large as 20TB. I think we need this as the ultimate fix and should force it no matter whether it is a 64bit build or not.