From nobody Wed Oct 16 17:59:00 2024 X-Original-To: riscv@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 4XTKFh4YYbz5YrJw for ; Wed, 16 Oct 2024 18:27:36 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XTKFh3Tb6z4vnW for ; Wed, 16 Oct 2024 18:27:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729103256; 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: in-reply-to:in-reply-to:references:references; bh=/2xScCy05ffmrqtjQMGwWruRS6WDj+xzRNBURKAmlwY=; b=iJUlEevgJDgpMEZSNgpcf+rlI53+bREBt3xCCxETGWKEEqZSTT0DWTqbnpa//HNO+ifrFv RwBVcMvTMsrdnsJK5sjptvo2r02/Ec8f7hZGl5AMFXcUG8bp8fLQxI+TOo/Vtn/C3I3HiC W5S2n+miPcJ2GeAPoa67d6vZav/PKVffWU9zoS/GAyff4j1J7FPPxu+Rji6ZnAzQ9lrPGN G04O6UcKGpRpjc/V85i+Pi6wKt8zAy2nfALDLU64iLX1JdrBgX7r0kni6Duq6KcOgMwJ6q bOS39/BvWqOlbdD3i2tKxBMWvQNTE0M666Pi0rVTMApP3OKXwhaaHBvN1CMYVA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729103256; a=rsa-sha256; cv=none; b=P2IhTeVuYfgJg48UxQghQlL/nFQGMQNW6qsXvsMfJKh29V7g996PNKs8/etXgnbN2FhSkF 0/GL+EvKESROvy9+8geOAKaYFphgyqyJ9Lb8tz5lA1bGj2Ow+Crz+4IxxeYDHT+1Ii+7kA Q4L2EqQ0xDC2NqrqfYKVuchGKBQmX1YYjo+joGrGf/IrwGZZeEjOG0TkuH0ofXd2r/z8zX H0LLqXLsyd0twfKI/O9IbTnvsTMQKRlaGBp8EB97GzR81jq3Mv2AW7ZGf4f2rz+bbs77m1 +txS+5saCTq4DWWMfOyOsEWShNW7ad2PAvWB+pH+ZiDzoWbWEmZtO8N6Sj+TSQ== 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 4XTKFh2tjxzH17 for ; Wed, 16 Oct 2024 18:27:36 +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 49GIRa30082601 for ; Wed, 16 Oct 2024 18:27:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49GHx7FP029225 for riscv@FreeBSD.org; Wed, 16 Oct 2024 17:59:07 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: riscv@FreeBSD.org Subject: [Bug 281600] lang/rust failing to build on risc-v (again) Date: Wed, 16 Oct 2024 17:59:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: mhorne@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mhorne@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: assigned_to cc bug_status Message-ID: In-Reply-To: References: 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: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-riscv@freebsd.org Sender: owner-freebsd-riscv@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281600 Mitchell Horne changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|rust@FreeBSD.org |mhorne@freebsd.org CC| |mhorne@freebsd.org Status|Open |In Progress --- Comment #25 from Mitchell Horne --- Hi all, I have been following this bug, and the larger issue of Rust on FreeBSD/riscv64, for a long time now. The desires for better defaults here = are heard. I am in contact with Alan Somers (asomers@) who is in-the-know on the transition away from FreeBSD 11 syscalls within the rust project. Essential= ly, we are closer than ever, but the rust developers are hesitant to make the switch officially, due to concerns/lack of confidence about backwards compatibility, and a couple of smaller TODOs. Thus, there is still no firm timeline for the transition. He suggested that in the meantime, we would be able to switch to the FreeBS= D 12 ABI by default for the riscv64 target specifically. I am working with him to test this, and if this solution proves workable in the near-term, our probl= em will be solved. If this course of action doesn't work out by the end of this year, I will enable COMPAT11 in GENERIC as a stop-gap. At the point that Rust has offici= ally moved off of the FreeBSD 11 interfaces, the compatibility will be removed a= nd users will be required to upgrade their ports. The discussion has repeated in circles for years now, and it is tiring to s= ee. We need to take some kind of step forward. What we are talking about is a triply-niche platform: an alternative programming language, on an alternati= ve operating system, on an emerging CPU architecture. In other words, we are v= ery much the small fish in this scenario. Robert is absolutely correct that by taking such a hard-line stance towards Rust's technical inadequacies, legitimate as they may be, _we_ are the ones who are losing in practical te= rms. In the same vein, those of you who are interested and willing to experiment with such an unofficial and immature platform as Rust on FreeBSD/riscv are expected to carry your weight in terms of workarounds, dealing with stumbli= ng blocks, unclear instructions, etc. This means in the immediate-term you will have to be comfortable with maintaining a custom kernel config adding COMPA= T11, if you want to experiment with Rust. For the three or four people that make= up this group, this is not an unreasonable ask at all. To reiterate: I intend to take action to get us "unstuck" here, in the near-term, but not immediately. It is important that we continue to improve= the out-of-the-box experience, but our pool of users is tiny and the pool of developers is minuscule. As a final request: please, do not post any more console output to this bug, unless it is requested specifically. You can share successes/challenges relating to building/running Rust ports on the freebsd-riscv mailing list. Thanks.=20 Mitchell --=20 You are receiving this mail because: You are on the CC list for the bug.=