[Bug libstdc++/91067] [9/10 Regression] Clang compiler can't link executable if std::filesystem::directory_iterator is encountered
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 3 21:09:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91067
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Jul 3 21:09:13 2019
New Revision: 273025
URL: https://gcc.gnu.org/viewcvs?rev=273025&root=gcc&view=rev
Log:
PR libstdc++/91067 fix missing exports for filesystem iterators
The copy assignment operator for recursive_directory_iterator was not
exported despite being needed. The __shared_ptr default constructors are
not needed when compiling with GCC but Clang requires them for -O1.
PR libstdc++/91067
* acinclude.m4 (libtool_VERSION): Bump to 6:27:0.
* configure: Regenerate.
* config/abi/pre/gnu.ver (GLIBCXX_3.4.27): Add new version. Export
missing symbols.
* testsuite/27_io/filesystem/iterators/91067.cc: New test.
* testsuite/util/testsuite_abi.cc: Add new symbol version.
Added:
branches/gcc-9-branch/libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc
Modified:
branches/gcc-9-branch/libstdc++-v3/ChangeLog
branches/gcc-9-branch/libstdc++-v3/acinclude.m4
branches/gcc-9-branch/libstdc++-v3/config/abi/pre/gnu.ver
branches/gcc-9-branch/libstdc++-v3/configure
branches/gcc-9-branch/libstdc++-v3/testsuite/util/testsuite_abi.cc
More information about the Gcc-bugs
mailing list