From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 247DF3858401; Wed, 31 Jan 2024 16:11:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 247DF3858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706717503; bh=Tm3pMzGxQ3b9FOrQ7mcJwxUq8MBqIYLJCTjmfH1On98=; h=From:To:Subject:Date:From; b=NJukMZPPEU+c0VfVENkAC5NZu3jg1SNc7fU8R8ZWyPsWDIX0XMe1npBbwBIQ9poK2 pvjD5Vlq6OcR3ClIrR9O+tc0v78RQTZv+6Y5rqir+dkuFlrSWvn/s0U4sJHLNGalPa wVo5gbWVplxAC/aBtqLH2a10PGy3sXCQMlX+OwNc= From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113684] New: Cross compiler without assembler and linker should assume that all assembler and linker features are available Date: Wed, 31 Jan 2024 16:11:42 +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: hjl.tools at gmail dot com 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=3D113684 Bug ID: 113684 Summary: Cross compiler without assembler and linker should assume that all assembler and linker features are available Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- When configuring GCC with --target=3DTARGET to build a cross compiler to reproduce a compiler bug, as and collect have ORIGINAL_AS_FOR_TARGET=3D"" ORIGINAL_LD_FOR_TARGET=3D"" As the result, many target features are disabled which makes it almost impossible to reproduce the bug. When there are no as nor ld, the compiler build isn't a working build. In this case, configure can assume that all assembler and linker features are available so that the partially built cross compiler can be used to reproduce the bug.=