https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99426
--- Comment #4 from Alexander Lelyakin <alexander.lelyakin at googlemail dot com> --- More sequences: /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header system_error /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header streambuf /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header iomanip ---- In module imported at /usr/local/include/c++/11.0.1/bits/locale_facets.h:44:1, included from /usr/local/include/c++/11.0.1/locale:40, from /usr/local/include/c++/11.0.1/iomanip:43: /usr/local/include/c++/11.0.1/streambuf: error: failed to read compiled module cluster 1269: Bad file data /usr/local/include/c++/11.0.1/streambuf: note: compiled module file is ‘gcm.cache/./usr/local/include/c++/11.0.1/streambuf.gcm’ In file included from /usr/local/include/c++/11.0.1/string:55, from /usr/local/include/c++/11.0.1/bits/locale_classes.h:40, from /usr/local/include/c++/11.0.1/bits/ios_base.h:41, from /usr/local/include/c++/11.0.1/iomanip:40: /usr/local/include/c++/11.0.1/bits/basic_string.h:6607:40: fatal error: failed to load pendings for ‘__gnu_cxx::__stoa’ 6607 | { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6608 | __idx, __base); } | ~~~~~~~~~~~~~~ compilation terminated. ---- g++ (GCC) 11.0.1 20210329 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header system_error /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header streambuf /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header iomanip ---- In module imported at /usr/local/include/c++/11.0.1/bits/locale_facets.h:44:1, included from /usr/local/include/c++/11.0.1/locale:40, from /usr/local/include/c++/11.0.1/iomanip:43: /usr/local/include/c++/11.0.1/streambuf: error: failed to read compiled module cluster 1269: Bad file data /usr/local/include/c++/11.0.1/streambuf: note: compiled module file is ‘gcm.cache/./usr/local/include/c++/11.0.1/streambuf.gcm’ In file included from /usr/local/include/c++/11.0.1/string:55, from /usr/local/include/c++/11.0.1/bits/locale_classes.h:40, from /usr/local/include/c++/11.0.1/bits/ios_base.h:41, from /usr/local/include/c++/11.0.1/iomanip:40: /usr/local/include/c++/11.0.1/bits/basic_string.h:6607:40: fatal error: failed to load pendings for ‘__gnu_cxx::__stoa’ 6607 | { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6608 | __idx, __base); } | ~~~~~~~~~~~~~~ compilation terminated. /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header streambuf /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header ios /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header condition_variable ---- In module imported at /usr/local/include/c++/11.0.1/ostream:38:1, included from /usr/local/include/c++/11.0.1/bits/unique_ptr.h:42, from /usr/local/include/c++/11.0.1/bits/shared_ptr_base.h:59, from /usr/local/include/c++/11.0.1/bits/shared_ptr.h:53, from /usr/local/include/c++/11.0.1/condition_variable:43: /usr/local/include/c++/11.0.1/ios: error: failed to read compiled module cluster 1295: Bad file data /usr/local/include/c++/11.0.1/ios: note: compiled module file is ‘gcm.cache/./usr/local/include/c++/11.0.1/ios.gcm’ In file included from /usr/local/include/c++/11.0.1/string:55, from /usr/local/include/c++/11.0.1/stdexcept:39, from /usr/local/include/c++/11.0.1/system_error:41, from /usr/local/include/c++/11.0.1/bits/std_mutex.h:39, from /usr/local/include/c++/11.0.1/condition_variable:40: /usr/local/include/c++/11.0.1/bits/basic_string.h:6607:40: fatal error: failed to load pendings for ‘__gnu_cxx::__stoa’ 6607 | { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6608 | __idx, __base); } | ~~~~~~~~~~~~~~ compilation terminated.