PR libstdc++/91067 add more missing exports for directory iterators
PR libstdc++/91067 * acinclude.m4 (libtool_VERSION): Bump to 6:28:0. * configure: Regenerate. * config/abi/pre/gnu.ver (GLIBCXX_3.4.28): Add new version. Export missing symbols. * testsuite/27_io/filesystem/iterators/91067.cc: Test move constructors. * testsuite/util/testsuite_abi.cc: Add new symbol version. From-SVN: r275032
This commit is contained in:
parent
132e2b41ef
commit
d02a041242
@ -1,3 +1,14 @@
|
||||
2019-08-29 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/91067
|
||||
* acinclude.m4 (libtool_VERSION): Bump to 6:28:0.
|
||||
* configure: Regenerate.
|
||||
* config/abi/pre/gnu.ver (GLIBCXX_3.4.28): Add new version. Export
|
||||
missing symbols.
|
||||
* testsuite/27_io/filesystem/iterators/91067.cc: Test move
|
||||
constructors.
|
||||
* testsuite/util/testsuite_abi.cc: Add new symbol version.
|
||||
|
||||
2019-08-29 Jakub Jelinek <jakub@redhat.com
|
||||
|
||||
* config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
|
||||
|
@ -3832,7 +3832,7 @@ changequote([,])dnl
|
||||
fi
|
||||
|
||||
# For libtool versioning info, format is CURRENT:REVISION:AGE
|
||||
libtool_VERSION=6:27:0
|
||||
libtool_VERSION=6:28:0
|
||||
|
||||
# Everything parsed; figure out what files and settings to use.
|
||||
case $enable_symvers in
|
||||
|
@ -2268,11 +2268,11 @@ GLIBCXX_3.4.26 {
|
||||
|
||||
GLIBCXX_3.4.27 {
|
||||
|
||||
# __shared_ptr<_Dir>::__shared_ptr()
|
||||
# __shared_ptr<_Dir>::__shared_ptr() (base object ctor)
|
||||
_ZNSt12__shared_ptrINSt10filesystem4_DirELN9__gnu_cxx12_Lock_policyE[012]EEC2Ev;
|
||||
_ZNSt12__shared_ptrINSt10filesystem7__cxx114_DirELN9__gnu_cxx12_Lock_policyE[012]EEC2Ev;
|
||||
|
||||
# __shared_ptr<recursive_directory_iterator::_Dir_stack>::__shared_ptr()
|
||||
# __shared_ptr<recursive_directory_iterator::_Dir_stack>::__shared_ptr() (base object ctor)
|
||||
_ZNSt12__shared_ptrINSt10filesystem28recursive_directory_iterator10_Dir_stackELN9__gnu_cxx12_Lock_policyE[012]EEC2Ev;
|
||||
_ZNSt12__shared_ptrINSt10filesystem7__cxx1128recursive_directory_iterator10_Dir_stackELN9__gnu_cxx12_Lock_policyE[012]EEC2Ev;
|
||||
|
||||
@ -2282,6 +2282,18 @@ GLIBCXX_3.4.27 {
|
||||
|
||||
} GLIBCXX_3.4.26;
|
||||
|
||||
GLIBCXX_3.4.28 {
|
||||
|
||||
# __shared_ptr<_Dir>::__shared_ptr(__shared_ptr&&) (base object ctor)
|
||||
_ZNSt12__shared_ptrINSt10filesystem4_DirELN9__gnu_cxx12_Lock_policyE[012]EEC2EOS4_;
|
||||
_ZNSt12__shared_ptrINSt10filesystem7__cxx114_DirELN9__gnu_cxx12_Lock_policyE[012]EEC2EOS5_;
|
||||
|
||||
# __shared_ptr<recursive_directory_iterator::_Dir_stack>::__shared_ptr(__shared_ptr&&) (base object ctor)
|
||||
_ZNSt12__shared_ptrINSt10filesystem28recursive_directory_iterator10_Dir_stackELN9__gnu_cxx12_Lock_policyE[012]EEC2EOS5_;
|
||||
_ZNSt12__shared_ptrINSt10filesystem7__cxx1128recursive_directory_iterator10_Dir_stackELN9__gnu_cxx12_Lock_policyE[012]EEC2EOS6_;
|
||||
|
||||
} GLIBCXX_3.4.27;
|
||||
|
||||
# Symbols in the support library (libsupc++) have their own tag.
|
||||
CXXABI_1.3 {
|
||||
|
||||
|
2
libstdc++-v3/configure
vendored
2
libstdc++-v3/configure
vendored
@ -79482,7 +79482,7 @@ $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
|
||||
fi
|
||||
|
||||
# For libtool versioning info, format is CURRENT:REVISION:AGE
|
||||
libtool_VERSION=6:27:0
|
||||
libtool_VERSION=6:28:0
|
||||
|
||||
# Everything parsed; figure out what files and settings to use.
|
||||
case $enable_symvers in
|
||||
|
@ -37,9 +37,25 @@ test02()
|
||||
d = std::move(d);
|
||||
}
|
||||
|
||||
void
|
||||
test03()
|
||||
{
|
||||
std::filesystem::directory_iterator d;
|
||||
auto d2 = std::move(d);
|
||||
}
|
||||
|
||||
void
|
||||
test04()
|
||||
{
|
||||
std::filesystem::recursive_directory_iterator d;
|
||||
auto d2 = std::move(d);
|
||||
}
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
test01();
|
||||
test02();
|
||||
test03();
|
||||
test04();
|
||||
}
|
||||
|
@ -208,6 +208,7 @@ check_version(symbol& test, bool added)
|
||||
known_versions.push_back("GLIBCXX_3.4.25");
|
||||
known_versions.push_back("GLIBCXX_3.4.26");
|
||||
known_versions.push_back("GLIBCXX_3.4.27");
|
||||
known_versions.push_back("GLIBCXX_3.4.28");
|
||||
known_versions.push_back("CXXABI_1.3");
|
||||
known_versions.push_back("CXXABI_LDBL_1.3");
|
||||
known_versions.push_back("CXXABI_1.3.1");
|
||||
@ -239,7 +240,7 @@ check_version(symbol& test, bool added)
|
||||
test.version_status = symbol::incompatible;
|
||||
|
||||
// Check that added symbols are added in the latest pre-release version.
|
||||
bool latestp = (test.version_name == "GLIBCXX_3.4.27"
|
||||
bool latestp = (test.version_name == "GLIBCXX_3.4.28"
|
||||
|| test.version_name == "CXXABI_1.3.12"
|
||||
|| test.version_name == "CXXABI_FLOAT128"
|
||||
|| test.version_name == "CXXABI_TM_1");
|
||||
|
Loading…
Reference in New Issue
Block a user