From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D42C2385840C; Fri, 6 May 2022 18:56:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D42C2385840C From: "eddy at klopper dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/80196] fenv_t not declared Date: Fri, 06 May 2022 18:56:06 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eddy at klopper dot net X-Bugzilla-Status: REOPENED 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: cc 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2022 18:56:06 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80196 Eddy L O Jansson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eddy at klopper dot net --- Comment #15 from Eddy L O Jansson --- (In reply to Jonathan Wakely from comment #6) > Reopening. We still need to know why building the PCH fails to find fenv_t > for some people. I ran into this issue doing a very bog-standard build of the newly released= GCC 12.1 on linux X86-64, using a configuration that previously successfully bu= ilt GCC '12.0.1 20220424 (experimental)' a week or so ago. I did not save the output from the failed build, but it would eventually fa= il with 'error: 'fenv_t' has not been declared in '::' ... ' For reasons that I'll skip, between the successful build of 12.0.1 and now I had added: export CPLUS_INCLUDE_PATH=3D/opt/local/include/c++/12.0.1:/opt/local/include/c++/1= 2.0.1/x86_64-linux-gnu/ to my .bashrc Removing the 'CPLUS_INCLUDE_PATH' environment variable made the problem go away.=