https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99426
Bug ID: 99426 Summary: [modules] failed to read compiled module cluster 1186: Bad file data Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alexander.lelyakin at googlemail dot com Target Milestone: --- g++ -std=c++20 -fmodules-ts -x c++-system-header exception g++ -std=c++20 -fmodules-ts -x c++-system-header stack g++ -std=c++20 -fmodules-ts -x c++-system-header cuchar g++ -std=c++20 -fmodules-ts -x c++-system-header cstdalign g++ -std=c++20 -fmodules-ts -x c++-system-header ios g++ -std=c++20 -fmodules-ts -x c++-system-header unordered_set g++ -std=c++20 -fmodules-ts -x c++-system-header cerrno g++ -std=c++20 -fmodules-ts -x c++-system-header cstdbool g++ -std=c++20 -fmodules-ts -x c++-system-header cstddef g++ -std=c++20 -fmodules-ts -x c++-system-header fstream g++ -std=c++20 -fmodules-ts -x c++-system-header queue g++ -std=c++20 -fmodules-ts -x c++-system-header latch g++ -std=c++20 -fmodules-ts -x c++-system-header sstream g++ -std=c++20 -fmodules-ts -x c++-system-header cwchar g++ -std=c++20 -fmodules-ts -x c++-system-header semaphore g++ -std=c++20 -fmodules-ts -x c++-system-header type_traits g++ -std=c++20 -fmodules-ts -x c++-system-header cstdint g++ -std=c++20 -fmodules-ts -x c++-system-header locale g++ -std=c++20 -fmodules-ts -x c++-system-header iomanip ---- In module imported at /usr/local/include/c++/11.0.1/iomanip:43:1: /usr/local/include/c++/11.0.1/locale: error: failed to read compiled module cluster 1186: Bad file data /usr/local/include/c++/11.0.1/locale: note: compiled module file is ‘gcm.cache/./usr/local/include/c++/11.0.1/locale.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:6608:54: fatal error: failed to load pendings for ‘__gnu_cxx::__stoa’ 6608 | __idx, __base); } | ^ compilation terminated.