From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 780C13850438; Wed, 4 Aug 2021 16:30:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 780C13850438 From: "unlvsur at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- cross toolchain fails to build Date: Wed, 04 Aug 2021 16:30:42 +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: 11.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: unlvsur at live dot com 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: 11.3 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 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: Wed, 04 Aug 2021 16:30:43 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100017 --- Comment #21 from cqwrteur --- =E5=8A=A0QQ=E7=BE=A41076846339 Get Outlook for Android ________________________________ From: yangyujie at alumni dot sjtu.edu.cn Sent: Wednesday, August 4, 2021 3:45:37 AM To: unlvsur@live.com Subject: [Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not = been declared in '::' -- cross toolchain fails to build https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgcc.gnu.= org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D100017&data=3D04%7C01%7C%7C653e82d= 3249e48040a3008d9571bda20%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C6376= 36599397520649%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIi= LCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3DFKy8fg1EZAP5JsEVt2lfiHaDs= T7zdnxvTCn7dcXg0ng%3D&reserved=3D0 Yujie Yang changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yangyujie at alumni dot sjtu.edu.c | |n --- Comment #20 from Yujie Yang --- This patch works for my cross-native build. 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]) -- You are receiving this mail because: You are on the CC list for the bug. You reported the bug.=