From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B96963858D38; Sun, 28 May 2023 22:39:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B96963858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685313577; bh=/cJnAcpEy1/szT5L5jYcJUeisB31k0fkpXgIPUStExs=; h=From:To:Subject:Date:From; b=WY1x/kgsvnuToK5h0mW5OCRm6fhoWPhnikGLBdb5e0nCsIotDVKFqzSYlSgWMhcOq MMGPEzXN/oYdeSoqL5/Pmhy5uP2GAtwIbjXo+8SJK5U4mAgTmwed/o+CO4KKGFfS0Q x2U94ejg2vpmyYpXefD7l80i+ZC3A5DRYxgahaEU= From: "unlvsur at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/110017] New: Crossback Compilation for multilib fails on latest ubuntu due to -mx32 being disabled by the linux kernel Date: Sun, 28 May 2023 22:39:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: unlvsur at live 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=3D110017 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?=