From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 124C93858D1E; Wed, 1 Nov 2023 08:38:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 124C93858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698827926; bh=2/tx7XvJ/MTayWBJoURl6AYs/TBE2AYHGtOzIB8z7tQ=; h=From:To:Subject:Date:From; b=uqVYpyEm8Z8JdfuuaVeHMTy8vJnSKXmndTeEz0NJpZx6CWj0qOQ4ImvWrrttaNgnJ iIRmA3AeEnYWzAqJt78KYYO5CtuHcr0hRZkU1+tT4T5aZynDK/pdC6f5ctIy5kUtl3 CFyhI5cHakNuzE5hamb/NDU8iUesx9PlEyQCnPZg= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112330] New: [14 Regression] LoongArch: LTO bootstrap failure with GAS 2.41 Date: Wed, 01 Nov 2023 08:38:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 Bug ID: 112330 Summary: [14 Regression] LoongArch: LTO bootstrap failure with GAS 2.41 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: xry111 at gcc dot gnu.org Target Milestone: --- r14-5053 fails to LTO bootstrap with GAS 2.41 and the following configurati= on: ../gcc/configure --prefix=3D/home/xry111/gcc-dev --with-system-zlib --disable-fixincludes --enable-default-ssp --enable-default-pie --disable-werror --disable-multilib --with-build-config=3Dbootstrap-lto && = make -j32 The error message is: /usr/bin/as: /usr/bin/as: BFD (Gentoo 2.41 p2) 2.41.0 internal error, abort= ing at /tmp/portage/sys-devel/binutils-2.41-r2/work/binutils-2.41/bfd/bfd.c:118= 5 in _bfd_doprnt /usr/bin/as: Please report this bug. The problem is since r14-4674 we are relying on Binutils commit 1fb3cdd87ec61715a5684925fb6d6a6cf53bb97c, which is not available in GAS 2.4= 1. I guess the easiest solution is raising the minimal GAS requirement of bootstrapping GCC 14 on LoongArch to 2.42.=