From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 65612385741F; Fri, 20 Aug 2021 22:00:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 65612385741F From: "bneumeier at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/80196] fenv_t not declared Date: Fri, 20 Aug 2021 22:00:58 +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: bneumeier at gmail dot com 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, 20 Aug 2021 22:00:58 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80196 Brett Neumeier changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bneumeier at gmail dot com --- Comment #13 from Brett Neumeier --- I ran into this issue with: --build=3Daarch64-unknown-linux-gnu --host=3Dx86_64-unknown-linux-gnu --target=3Dx86_64-unknown-linux-gnu I applied this patch from Yujie Yang, on comment 20 of PR 100017, and it fi= xed the issue for me. diff --git a/configure b/configure index 6157a8c87fb..2a4a05b4edf 100755 --- a/configure +++ b/configure @@ -16653,7 +16653,7 @@ else fi -RAW_CXX_FOR_TARGET=3D"$CXX_FOR_TARGET" +RAW_CXX_FOR_TARGET=3D"$CXX_FOR_TARGET -nostdinc++" { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target= ar" >&5 $as_echo_n "checking where to find the target ar... " >&6; } diff --git a/configure.ac b/configure.ac index 2ff48941754..01ecc8c42d9 100644 --- a/configure.ac +++ b/configure.ac @@ -3515,7 +3515,7 @@ ACX_CHECK_INSTALLED_TARGET_TOOL(STRIP_FOR_TARGET, str= ip) ACX_CHECK_INSTALLED_TARGET_TOOL(WINDRES_FOR_TARGET, windres) ACX_CHECK_INSTALLED_TARGET_TOOL(WINDMC_FOR_TARGET, windmc) -RAW_CXX_FOR_TARGET=3D"$CXX_FOR_TARGET" +RAW_CXX_FOR_TARGET=3D"$CXX_FOR_TARGET -nostdinc++" GCC_TARGET_TOOL(ar, AR_FOR_TARGET, AR, [binutils/ar]) GCC_TARGET_TOOL(as, AS_FOR_TARGET, AS, [gas/as-new])=