https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110017
Bug ID: 110017
Summary: Crossback Compilation for multilib fails on latest
ubuntu due to -mx32 being disabled by the linux kernel
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcc
Assignee: unassigned at gcc dot gnu.org
Reporter: unlvsur at live dot com
Target Milestone: ---
I attempted crossback compilation for GCC, where the compiler is built on
Linux, runs on Windows, and is targeted for Linux again. However, the build
system of libgcc includes a sanity test to detect the functionality of the
compiler, which prevents the build for the -mx32 option and disables m32.
Moreover, during crossback compilation, GCC specifically looks for the "cc"
command instead of just "gcc," even in cases where it doesn't exist.
Is there a way to remove or bypass the sanity test restriction for crossback
compilation in this scenario?