From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C4C10385700C; Sat, 17 Sep 2022 19:37:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C4C10385700C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663443476; bh=V+0zATrj80S3MEQzMt3qbZDspgNmuR13PxCLNUMocrI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=voIJiYeDL2/wrwTsE8vR+xiH+hW9fOXroKd8r1zI59+mub4IvSOofUNNHtewJw1Cx WvV/w1HPQrUG/fV+1A0mR4nUVWfL9sJWNEWRNWQZmrNpSLYXIj5HP86GqvMbuejbCN 8j4txutDXKy3ebOcMOWzDyhFrNdS79rEHcvUd3i0= From: "arsen at aarsen dot me" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/103626] _GLIBCXX_HOSTED should respect -ffreestanding Date: Sat, 17 Sep 2022 19:37:56 +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: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arsen at aarsen dot me 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=3D103626 --- Comment #2 from Arsen Arsenovi=C4=87 --- I started work on marking headers, and I already marked 162 headers (all of include/{std,bits,backward}, where appropriate) as part of my work on P1642. This set also lines up with the set of all installed installed headers for P1642. I already have a list of remaining headers that need to be marked, I= 'll be handling these, and maybe reverting the change on (to make it freestanding). The progress can be tracked here: https://github.com/ArsenArsen/gcc/tree/p1= 6412 This branch includes the titular changes, in order to support switching bet= ween freestanding and hosted, a rework of how freestanding headers are handled a= nd installed (though, I would like to exclude even more targets and files, so = that stuff doesn't get stamped needlessly, probably by constraining allstamped, unsure so far), , and the aforementioned marking. Next on my agenda is checking whether this version still produces equivalent results in hosting to the unpatched version of GCC, and updating the testsu= ite after that, then I can resume marking headers if this approach is deemed acceptable (which I'd like to get a greenlight on before editing 400-some headers by hand)=