From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 009F038515DC; Tue, 30 Mar 2021 06:50:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 009F038515DC From: "alexander.lelyakin at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99426] [modules] failed to read compiled module cluster 1186: Bad file data Date: Tue, 30 Mar 2021 06:50:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alexander.lelyakin at googlemail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 06:50:17 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99426 --- Comment #4 from Alexander Lelyakin --- More sequences: /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header system_er= ror /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header streambuf /usr/local/bin/g++ -std=3Dc++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 mod= ule cluster 1269: Bad file data /usr/local/include/c++/11.0.1/streambuf: note: compiled module file is =E2=80=98gcm.cache/./usr/local/include/c++/11.0.1/streambuf.gcm=E2=80=99 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:4= 0, 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: fai= led to load pendings for =E2=80=98__gnu_cxx::__stoa=E2=80=99 6607 | { return __gnu_cxx::__stoa(&std::strtol, "stoi", __str.c_str(), |=20=20=20=20=20=20=20=20=20=20=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=3Dc++20 -fmodules-ts -x c++-system-header system_er= ror /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header streambuf /usr/local/bin/g++ -std=3Dc++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 mod= ule cluster 1269: Bad file data /usr/local/include/c++/11.0.1/streambuf: note: compiled module file is =E2=80=98gcm.cache/./usr/local/include/c++/11.0.1/streambuf.gcm=E2=80=99 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:4= 0, 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: fai= led to load pendings for =E2=80=98__gnu_cxx::__stoa=E2=80=99 6607 | { return __gnu_cxx::__stoa(&std::strtol, "stoi", __str.c_str(), |=20=20=20=20=20=20=20=20=20=20=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6608 | __idx, __base); } | ~~~~~~~~~~~~~~ compilation terminated. /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header streambuf /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header ios /usr/local/bin/g++ -std=3Dc++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 =E2=80=98gcm.cache/./usr/local/include/c++/11.0.1/ios.gcm=E2=80=99 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: fai= led to load pendings for =E2=80=98__gnu_cxx::__stoa=E2=80=99 6607 | { return __gnu_cxx::__stoa(&std::strtol, "stoi", __str.c_str(), |=20=20=20=20=20=20=20=20=20=20=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6608 | __idx, __base); } | ~~~~~~~~~~~~~~ compilation terminated.=