https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91067

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |8.3.0
            Summary|Clang compiler can't link   |[9/10 Regression] Clang
                   |executable if               |compiler can't link
                   |std::filesystem::directory_ |executable if
                   |iterator is encountered     |std::filesystem::directory_
                   |                            |iterator is encountered
      Known to fail|                            |10.0, 9.1.0

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is a regression caused by moving the std::filesystem symbols into the
libstdc++.so shared library. It links OK with GCC 8 (using -lstdc++fs to link
to the static lib as needed for std::filesystem in GCC 8).

Adding the missing export will require GCC 9.2 to bump the version to
libstdc++.so.6.0.27

Reply via email to