From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 95CA3385829B; Sun, 7 Apr 2024 12:33:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 95CA3385829B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712493224; bh=0KXHxIayJPSzNdeVB+bGuWFTsPEwB+lBmJBg0xjgc+U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vdj0zH7QAysBJyA+ArOK68iJbJLmMB+WBXkIsk19DxhfWdf5/aZR0gMcsH6STeaAj LQrAFIDqEi+myMtaUtmyd0bYGMWr0mg0Eujl2OLQIEvgjnvFIM7RTPiTPJyewW9EoJ /PqSwNJoJEEMAFa0C32JY5KkxojOjwuXDQcbN/N8= From: "nickbegg at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99426] [modules] failed to read compiled module cluster 1186: Bad file data Date: Sun, 07 Apr 2024 12:33: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: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: nickbegg at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99426 --- Comment #8 from Nick Begg --- I've been testing with the proposed patch, and I am still getting the same errors..=20 /home/nick/inst/gcc-trunk-debug/bin/g++ -g -std=3Dgnu++23 -Wall -Wextra -freport-bug --param=3Dggc-min-expand=3D10000 -MD -MT CMakeFiles/moduleMin.dir/main.cpp.o -MF CMakeFiles/moduleMin.dir/main.cpp.o= .d -fmodules-ts -fmodule-mapper=3DCMakeFiles/moduleMin.dir/main.cpp.o.modmap -= MD -fdeps-format=3Dp1689r5 -x c++ -o CMakeFiles/moduleMin.dir/main.cpp.o -c /home/nick/src/moduleMin/main.cpp In module imported at /home/nick/src/moduleMin/main.cpp:3:1: modA: error: failed to read compiled module cluster 3000: Bad file data modA: note: compiled module file is =E2=80=98CMakeFiles/moduleMin.dir/modA.= gcm=E2=80=99 modA: error: failed to read compiled module cluster 3001: Bad file data In file included from /home/nick/src/moduleMin/main.cpp:1: /home/nick/inst/gcc-trunk-debug/include/c++/14.0.1/format:1899:35: fatal er= ror: failed to load pendings for =E2=80=98std::__format::__formatter_int=E2=80=99 1899 | return _M_f._M_parse(__pc); | ~~~~~~~~~~~~~~~~~~~^~~~~~ compilation terminated. I'm not sure if this is the same bug, or if I've uncovered a similar but distinct bug... Various values of --param=3Dggc-min-expand don't seem to ma= ke a difference.=