From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 366CB3858D33; Sat, 7 Jan 2023 21:19:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 366CB3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673126345; bh=5y9VH26uiO7cMpbbVoUkjNw73eVc76NVfskjGYuyJSY=; h=From:To:Subject:Date:From; b=q8Hr8N2N9bhzRlZafQCa3ph6uKiUgeULpC8ixr6L3zf0tfsA9SStgFcFaohQHrbdk /JD8m2JvBUOJd4vw6Sj9ploly7kxoHmqEI6qeA53Gn3HAs9DGpKEv5HMoc0xOQM9iQ wacdk7imvRI0uX4cwe2X4D12pxrnvQ3e++I99bQI= From: "unlvsur at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/108331] New: ABI break of std::__c_file and std::fstream for win32 thread model of GCC for windows Date: Sat, 07 Jan 2023 21:19:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: unlvsur at live dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D108331 Bug ID: 108331 Summary: ABI break of std::__c_file and std::fstream for win32 thread model of GCC for windows Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: unlvsur at live dot com Target Milestone: --- The recent win32 thread model changes cause abi break of std::fstream due to layout silently change. I do not understand why you need a mutex for std::fstream. Now win32, posix= and mcf thread model they cause abi issues for this due to that lock. Can we un= ify the abi for windows here?=