From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B60203858D20; Wed, 1 Nov 2023 09:07:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B60203858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698829660; bh=I6ICssi3vcbOqYwPBxZvhr2hLhVXgbg0ssUpzeDyW+w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZH50BIDfTkEq1kLEAzVKRrqhK8fLBh9FzSo2Csu3gzp5y4Sz6WvrvVvBhngwfjA9+ thKCVyA0hSYgZ5W57WP5lrH7fRzP0b9OPdiFNbkAIrCVXffa3eCWG+W2XnGeksv8J9 BiuOBsowxIrbBVbHXwViScjBRDgBDzy1wB/1w1lk= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112330] [14 Regression] LoongArch: LTO bootstrap failure with GAS 2.41 Date: Wed, 01 Nov 2023 09:07:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xry111 at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112330 --- Comment #4 from Xi Ruoyao --- (In reply to chenglulu from comment #3) > (In reply to Xi Ruoyao from comment #1) > > (In reply to Xi Ruoyao from comment #0) > >=20 > > > I guess the easiest solution is raising the minimal GAS requirement of > > > bootstrapping GCC 14 on LoongArch to 2.42. > >=20 > > Another solution might be default to -mno-relax if GAS is 2.41, but I'm= not > > sure if it's enough. >=20 > This issue really doesn't happen after adding -mno-relax, but is it really > necessary to judge the version of binutils because of this? I'm not sure if -mno-relax is the proper fix. For now I've reduced the test case to: a: .rept 100000 nop .endr beq $r12, $r13, a but this still does not work with GAS 2.41 even if -mno-relax.=