https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115482
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:5fad8874300ef67c577cc204e339dca6bca15467 commit r14-10502-g5fad8874300ef67c577cc204e339dca6bca15467 Author: Detlef Vollmann <d...@vollmann.ch> Date: Tue Jul 23 09:25:22 2024 +0100 libstdc++: Do not use isatty on avr [PR115482] avrlibc has an incomplete unistd.h that doesn't have isatty. So building libstdc++ fails when compiling c++23/print.cc. As a workaround I added a check for AVR. libstdc++-v3/ChangeLog: PR libstdc++/115482 * src/c++23/print.cc (__open_terminal) [__AVR__]: Do not use isatty. (cherry picked from commit 8439405e38c56b774cf3c65bdafae5f9e11d470a)