From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 607983858001; Sun, 7 Nov 2021 19:14:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 607983858001 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 '::' -- canadian compilation fails Date: Sun, 07 Nov 2021 19:14:46 +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: Sun, 07 Nov 2021 19:14:47 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100017 --- Comment #33 from cqwrteur --- (In reply to Andrew Aladjev from comment #32) > I've added include_next_fenv dirty patch. I want just to quickly explain = how > to use it. >=20 > First of all I've noticed (many years ago) that gcc developers are making > releases based on limited set of basic tests. These tests include one self > compilation using same version of gcc: gcc 11.2.0 amd64 -> gcc 11.2.0 amd= 64. > But in reality you have the following case: >=20 > gcc #{prev_version} #{platform1} #{env1} -> gcc #{next_version} #{platfor= m2} > #{env2} >=20 > This movement is very hard task in practice, so I've added an additional > step: >=20 > gcc #{prev_version} #{platform1} #{env1} -> dirty gcc #{next_version} > #{platform2} #{dirty_env2} -> gcc #{next_version} #{platform2} #{env2} >=20 > "dirty gcc" and "dirty env" step is very usefull when nobody have a > solution. You can invent your own dirty bicycle, apply it and you will > receive clean gcc on target platform in the last step anyway. >=20 > You may also review the following repo > https://github.com/andrew-aladev/test-images with my some test images. >=20 > Thank you. I can ensure your patch is not correct=