From nobody Mon Sep 01 08:25:57 2025 X-Original-To: dev-commits-ports-main@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 4cFhlp1Npmz66TJ8; Mon, 01 Sep 2025 08:25:58 +0000 (UTC) (envelope-from git@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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cFhln5NjWz3xFk; Mon, 01 Sep 2025 08:25:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756715157; 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=NHkGZJ7RbyJIrXTyJcsJCESvU3X+aBIHJYLqvfyYPyE=; b=i2weAXlPco7B6OQtxPAdL6f0XPRJLoDzOyTi3nXQGsB2UiTUMdIwISte4YZNdFRx0x0Y2q MVvpmCeh0/f1ZrUjpNFpi8N/BqG7voWrCOcUdNkSmWKPlzXRwByDs/l9BUcasE/WdP9ZdG /Xzo00wQwIuRhSc5jMq9/BdKlRFRbNwP+sCNPRFQNPrx6G9bCQAv24SZE7TruYvRIAvZxd AvBzkuJESWMxxkA2pNmEbGpFSTwIfipdiWPPvdjV9yyQPQUcojyripBVs6ydPm+mmbFt+U KzD8OJMf4aS8yTKDHb/8O3gI95oxCcL0YN84mzwlD0S7qUGgwzZ0r/LeaHg9CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756715157; 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=NHkGZJ7RbyJIrXTyJcsJCESvU3X+aBIHJYLqvfyYPyE=; b=jlwjZ4vR+wYqqH/5V5tSdsMMWeGyXVz/6wvjF1iq/RR1hL+u4KhIkddYLumOxlrzTiFAwJ a5C6Gfr06/3fyPAzO7/avijwOEzY8veD6TaU9OOD5LxOYw6fk9y2Qx7OpoJ17pLTkPT+xT mHsNaD1LFsXNM3998Hcu4xncQ8zxjzklaZc0aY80nFi2Mf3yiuWB6D/IQjbM4HMuKMEZsf K3Ndja2DjkyHtVG04sio/J/ekAITmCSMZaST70E1ypSBqQSOeo9JJpDCGT51aC3OGkyA20 4hCI2PXenheej1lK3pHveyWlvq/lrYO48KblUHx8EG9hq6nxIG2ht2Qxg3Kluw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756715157; a=rsa-sha256; cv=none; b=YQiVzEx01UfEsMsP0rdJVnlgBaHMGDK2mlYmdMC5NLqbjzBj8LtAyrY0LXitfUrRsfGDeO zp0qEAPDnPO5T0QdgHkTjn1W5NxVVD1g8hpRv7PbH2VcPrubzfz3dXpdI94R8FXkKlHMK+ AdlillvZaYanuEpXnE+KSKnpFs/vKDXpkr9XVWeJNEn6HAZqHNbM2BUp3Ge/ycpHRuRk3/ k2tOZ4B64Ecy3yFkTb5yEwY1gZOyYxjR4byGSoZNLUnflfP+m9arDbNtG/FCkI0A0gwBgh j8ju9SmuyYaxhMWBDYJaCT1I8wz/SeveoPmwnuY6RIcktcrjxI5ekaF+KO6yXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4cFhln4YXTzs40; Mon, 01 Sep 2025 08:25:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5818Pvqi067351; Mon, 1 Sep 2025 08:25:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5818PvkE067348; Mon, 1 Sep 2025 08:25:57 GMT (envelope-from git) Date: Mon, 1 Sep 2025 08:25:57 GMT Message-Id: <202509010825.5818PvkE067348@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikael Urankar Subject: git: 1ecf7c315719 - main - www/iridium: Fix build with rust 1.89.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1ecf7c3157196660cd55f5f8aab964e28d7a0b65 Auto-Submitted: auto-generated The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ecf7c3157196660cd55f5f8aab964e28d7a0b65 commit 1ecf7c3157196660cd55f5f8aab964e28d7a0b65 Author: Mikael Urankar AuthorDate: 2025-08-31 09:50:50 +0000 Commit: Mikael Urankar CommitDate: 2025-09-01 08:24:02 +0000 www/iridium: Fix build with rust 1.89.0 error: ld.lld: error: undefined symbol: __rustc::__rust_no_alloc_shim_is_unstable_v2 PR: 288923 Approved by: portmgr (build fix blanket) --- www/iridium/files/patch-build_rust_allocator_lib.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/www/iridium/files/patch-build_rust_allocator_lib.rs b/www/iridium/files/patch-build_rust_allocator_lib.rs new file mode 100644 index 000000000000..a3a636371887 --- /dev/null +++ b/www/iridium/files/patch-build_rust_allocator_lib.rs @@ -0,0 +1,18 @@ +https://chromium.googlesource.com/chromium/src/+/8393b61ba876c8e1614275c97767f9b06b889f48 +https://chromium.googlesource.com/chromium/src/+/6aae0e2353c857d98980ff677bf304288d7c58de + + +--- build/rust/allocator/lib.rs.orig 2025-06-18 14:17:42.000000000 +0200 ++++ build/rust/allocator/lib.rs 2025-08-24 10:57:12.002293000 +0200 +@@ -89,9 +89,8 @@ mod both_allocators { + /// As part of rustc's contract for using `#[global_allocator]` without + /// rustc-generated shims we must define this symbol, since we are opting in + /// to unstable functionality. See https://github.com/rust-lang/rust/issues/123015 +- #[no_mangle] +- #[linkage = "weak"] +- static __rust_no_alloc_shim_is_unstable: u8 = 0; ++ #[rustc_std_internal_symbol] ++ fn __rust_no_alloc_shim_is_unstable_v2() {} + + // Mangle the symbol name as rustc expects. + #[rustc_std_internal_symbol]