From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 634093858C74; Sat, 4 Feb 2023 03:22:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 634093858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675480947; bh=QfADZ4PKf1J6YkJF3nGQYLX68UGQv5aJ3b6ijMRnLyI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nBmh7fDkqFbfe3/rKBA4uioK+qlhldY5UWDUJBQHBXFTK6tPuOP9L8TVNPXtj6Trf +O7YO1tycQ/QUdk24mGadTy6pDjU2GbSyl0iDN2AmGzH0hN14Z1ZuREVXqmxDnlzYr Y2FkyOTSOu1L4Wy8hFLSTMfJ9B5iV4labCvUa5JQ= From: "murugesandins at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/94810] std::cout segmentation fault in __attribute__((constructor)) function Date: Sat, 04 Feb 2023 03:22:26 +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: 9.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: murugesandins at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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=3D94810 --- Comment #12 from Murugesan Nagarajan -= -- Thank you for sharing comment at: >> https://gcc.gnu.org/git/gitweb.cgi?p=3Dgcc.git;h=3D4e4e3ffd10f53e Move stream initialization into compiled library I am facing my issue to have my proper environment: 01. My laptop has gone before 6 months(it was having RHEL and ubuntu) at vmplayer iso files. 02. Current acer system do not have any .iso files. 03. My working place not providing sudo access at Linux. I have verified at cygwin using g++.exe which is working fine. :) $ g++.exe --version 2>&1 | grep GCC g++ (GCC) 11.3.0 However I can verify your g++ related changes and I will update this page(in future) when I have related OS using relative admin privileges. Have a nice weekend.=