From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AD5A33856DE2; Mon, 6 Nov 2023 10:47:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AD5A33856DE2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699267656; bh=6G9Io0wgtKb/XhEy4le5LXcrs8xEWglSZHzMhjml3X0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XYJrOLYq0oykTU8f1xDNsFYAAkvQWpEYYkZ/rIq5ymV1IZEcNDNHCQyhwTpRxTtEQ zi3KfZLAuxJZVDVU+G/wGgO1LqaIpVmevLyUqk07dxTCrcQDM2wB36YaBjk7OeBJGM Z2rrcJRyoojZd1lWws2MIZxPGcRCPb/kchp27KmU= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/112351] libstdc++ locale init doesn't handle __gthread_once failure Date: Mon, 06 Nov 2023 10:47:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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: 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=3D112351 --- Comment #2 from Jonathan Wakely --- Ah yes, that's a good point. Patrick's improvement affects this initializat= ion. It's not done for all targets though, as not all targets have linker support for the init_priority attribute (notably, darwin doesn't).=