From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1A8353835437; Fri, 12 Mar 2021 05:40:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1A8353835437 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: Fri, 12 Mar 2021 05:40:40 +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: UNCONFIRMED 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: Fri, 12 Mar 2021 05:40:41 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99426 --- Comment #2 from Alexander Lelyakin --- There is a shorter sequence: g++ -std=3Dc++20 -fmodules-ts -x c++-system-header typeindex g++ -std=3Dc++20 -fmodules-ts -x c++-system-header stop_token g++ -std=3Dc++20 -fmodules-ts -x c++-system-header optional g++ -std=3Dc++20 -fmodules-ts -x c++-system-header system_error g++ -std=3Dc++20 -fmodules-ts -x c++-system-header streambuf g++ -std=3Dc++20 -fmodules-ts -x c++-system-header exception g++ -std=3Dc++20 -fmodules-ts -x c++-system-header unordered_map g++ -std=3Dc++20 -fmodules-ts -x c++-system-header complex ---- In module imported at /usr/local/include/c++/11.0.1/ios:43:1, included from /usr/local/include/c++/11.0.1/istream:38, from /usr/local/include/c++/11.0.1/sstream:38, from /usr/local/include/c++/11.0.1/complex:45: /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/ios:42, from /usr/local/include/c++/11.0.1/istream:38, from /usr/local/include/c++/11.0.1/sstream:38, from /usr/local/include/c++/11.0.1/complex:45: /usr/local/include/c++/11.0.1/bits/basic_string.h:6608:54: fatal error: fai= led to load pendings for =E2=80=98__gnu_cxx::__stoa=E2=80=99 6608 | __idx, __base); } | ^ compilation terminated. ---- g++ (GCC) 11.0.1 20210311 (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.=