From nobody Thu May 09 17:29:55 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VZzXz5yxJz5K7gn for ; Thu, 09 May 2024 17:29:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VZzXz4Gq3z4Tkw for ; Thu, 9 May 2024 17:29:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715275795; a=rsa-sha256; cv=none; b=dgHpOPrJc8W7kSPzXM9ukrZ+hojp+cHBa0H7okMfjkcY/SxTuellFOmWnWE8/g44+ePeSM P8nTfKtZkDoXvhEvuPuyrdWsjZrGUNw8Dea/lzaHAoz12bmqwgs/8RhXgX8BwvSSA6+QEx XMr0QSAZmzMBHw8ywBjjxE1xWRTY5lyavDaB8zDchwUuTm43qCxXEjQ2BVX1PWAYUVO5eV 1iU0bC5k1R0JM0icYPp84VQ7re0d36bFszVwDuLDaayO/n6ZLl0VHmH6CWEPKIPCFTNb46 e5ugEoZRjY7LOkGtByPppHVz+ohw1VOED+O97GhoZRfXVLh7IR48Q3aRj5iIpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715275795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lmLxkoPktSoZK/5juBI294cgqdH1PizM9K63H/LeFu8=; b=RGsdFRF9u5D0S5CvDjtRd0C7HPVuEFr355dgXMfME1DbOQhTZDrNjPh3EYh5++fETlJ8rG RVKVQAqNTIfe9R6v5oH3c26J7MaewkvPTMKqktM9v000cjvs+aN3FtraJgr3KowNOUytZz i495iK/VkrbJIzEYra2BbLGKIX2izNxntZNtKLLwnHd1fD3gjsuoW/1VNX8VXOYPN07sfW 87wikHtqcounG4qTP+Ql3hzzVPB+q8jkNQLTf+Q9P7SFqbzBRpreSKSGftqtSjnao/6Lrf zHeODZO29vg65gV725EKnn/rbCgV1aCiWlgmuBuwiFTYI2amjLdwDiU6URUh1Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VZzXz3mB4z1HKm for ; Thu, 9 May 2024 17:29:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 449HTtN8099447 for ; Thu, 9 May 2024 17:29:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 449HTt5S099446 for bugs@FreeBSD.org; Thu, 9 May 2024 17:29:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278879] LIB32 incompatible with gcc on aarch64 Date: Thu, 09 May 2024 17:29:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: brooks@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278879 Bug ID: 278879 Summary: LIB32 incompatible with gcc on aarch64 Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: brooks@FreeBSD.org We can't build LIB32 with the aarch64-gcc13 toolchain because the compiler doesn't support 32-bit arm via -m32 the way the amd64 and powerpc64* compil= ers do. This is due to a mix of GCC's architectural choice to not support multiple architectures in a single build and Arm's decision to divorce the aarch64 backend from prior targets. The easiest solution seems likely to be to add a toolchain wrapper port that installs both aarch64-gcc13 and armv7-gcc13 (or armv6 I guess) and has comp= iler wrappers that dispatch based on the presence of -m32 in the argument list. Another alternative is to add a mechanism to specify a per-compat-target se= t of tools and have the compat mechanism use it, but that's going to be a bunch = of work and complexity to support a single target with a non-default compiler. --=20 You are receiving this mail because: You are the assignee for the bug.=