https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81091
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #3) > (In reply to Richard Biener from comment #0) > > libstdc++ seems to lack AC_SYS_LARGEFILE in configury and thus uses > > fopen/open > > in fstream and friends that can fail not only because of large files but > > files with large inode numbers depending on the underlying filesystem. > > Richi, are you sure about that? I think I looked at all unresolved symbols of libstdc++.so and there were some not using the LFS interfaces. I didn't actually see you are "manually" selecting the API.