https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113684
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=TARGET
to build a cross compiler to reproduce a compiler bug, as and collect have
ORIGINAL_AS_FOR_TARGET=""
ORIGINAL_LD_FOR_TARGET=""
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.