From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ACECC3857C61; Tue, 30 Mar 2021 13:02:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ACECC3857C61 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/98125] [11 Regression] New test case g++.dg/pr93195a.C in r11-5656 has excess errors Date: Tue, 30 Mar 2021 13:02:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 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: Tue, 30 Mar 2021 13:02:24 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98125 --- Comment #17 from Jakub Jelinek --- As a quick hack, we could do e.g. --- gcc/configure.ac 2021-03-23 19:42:05.417907561 +0100 +++ gcc/configure.ac 2021-03-30 14:54:31.655766205 +0200 @@ -3404,12 +3404,15 @@ AC_DEFINE_UNQUOTED(HAVE_GAS_SHF_GNU_RETA # Test if the assembler supports the section flag 'o' for specifying # section with link-order. case "${target}" in - # Solaris may use GNU assembler with Solairs ld. Even if GNU + # Solaris may use GNU assembler with Solaris ld. Even if GNU # assembler supports the section flag 'o', it doesn't mean that # Solairs ld supports it. *-*-solaris2*) gcc_cv_as_section_link_order=3Dno ;; + powerpc*-*-*) + gcc_cv_as_section_link_order=3Dno + ;; *) gcc_GAS_CHECK_FEATURE([section 'o' flag], gcc_cv_as_section_link_order, [2,35,0], [--fatal-warnings], i.e. effectively revert H.J's patch for powerpc* targets. That is a hack rather than proper solution. For GCC11 we need some solution at least for the P1 regression, i.e. the ELFv1 support that worked in the past and was broken by r11-5656-g694d4a6d0c466d0fbc97920a9c6641a7b349ca35=