From nobody Fri Nov 22 08:42:57 2024 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 4XvpX20pmxz5dc4C; Fri, 22 Nov 2024 08:42: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XvpX175MKz4T1F; Fri, 22 Nov 2024 08:42:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732264978; 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=iInISAn4xlk7s+j1kFMSZ/0utMbke3PVI/JkO/pJhlk=; b=jM1Zdp8CM21byzxoWL4KKbBdnj7flgeKWFbV8qZO9YOEdow06N0zwI1M5HMzzABSW+QhA7 SXnNq+TXMpWKiupOluSI66z35nfV9agHpiV40h8nmgWDoAHId26JTXteM0svykwoMnAQSo hXILv6fVJTsWnskrGX7k+kTjQxJ4v2Za4P9EAKkWCiMmWKkXZfCGMO7ccJ2bvfUYxgZL9v ce1SMhaJAYnaf7wgioMVj2HN1+mCx5TKODoRo3EeDFzDs/hFpO+eO+kus3P/g5cHfag1K7 FVn/fdEupXxGbSmnqCnQSS52cfVPXD0uwU/hKlc4Sq2JGDo0mx5njFCN/Pz4xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732264978; 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=iInISAn4xlk7s+j1kFMSZ/0utMbke3PVI/JkO/pJhlk=; b=Ca4EkGdGW9jPb/ngBIkj/WfsZOSK7++U3O7v3lw7QXQ228eG1p80g93Q7gJIJTBmSFqlbR XJe8H7FlO5qu6gaazg+EvfzUVEhER5pzAnEH6dGzBaw/16aWM/cts976cGQ0mLgthJXkAR 6gJh/z/07GxQ/BixA2v2hNQQVDVzJOsra7uImEzgRWuufmdtM6eIIpYiy1As24XdLOCGqu DRWNR2qHbOiI23OMcdi95CjPHbQrl/1QWU6SVu5Xe9bCGHrgu5G+VDxGAAFFXxs2kESUWk TLPqv33Kdo3gckkQZLclwAeXex3BV1zO1fbT4jv1zwxtDy5VgYzUlpzGfoLQIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732264978; a=rsa-sha256; cv=none; b=dv887lzCdi4XFY6Zdyh16VC+4BVzA35KrJVd20NCiQTFJq44yo6R0OeEnj/9eqcF1QSyda 9zmCcn/JK+zgBiTWgzXU/Ny+sGWVxkTbj3GHVVykglsBpqltTJyKMCoyrnkp+HlQiQ0Mrm 6c7MzsFksAxmfeFw9KsQy/ju52w93anI80tbgHexRW6ZLJdD1wIplbE0G2Ifc4jK1D8y82 aPnc00MOX0JOV9o+/pBSu+kqChE9X40WlurHEgyFML0yoye9AFh4jBGLhRCRv+NpA7NDhG XKXsmFovH2iaUZYqzdvaUXwVoNkmt0HGWvAd67QiT5J1TutZuNqQmXa8pCsH1g== 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 4XvpX16hg0zHY5; Fri, 22 Nov 2024 08:42: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 4AM8gvrW068962; Fri, 22 Nov 2024 08:42:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AM8gvAr068959; Fri, 22 Nov 2024 08:42:57 GMT (envelope-from git) Date: Fri, 22 Nov 2024 08:42:57 GMT Message-Id: <202411220842.4AM8gvAr068959@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: c348a547923c - main - lang/rust: Fix build on armv7 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: c348a547923c25a771d0d2a5db796103e25511ec Auto-Submitted: auto-generated The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=c348a547923c25a771d0d2a5db796103e25511ec commit c348a547923c25a771d0d2a5db796103e25511ec Author: Mikael Urankar AuthorDate: 2024-11-22 08:40:03 +0000 Commit: Mikael Urankar CommitDate: 2024-11-22 08:40:03 +0000 lang/rust: Fix build on armv7 PR: 282663 --- lang/rust/distinfo | 12 ++++++------ .../patch-compiler_rustc__target_src_spec_base_freebsd.rs | 11 +++++++++++ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/lang/rust/distinfo b/lang/rust/distinfo index 14992f681100..ffbc0867d0ec 100644 --- a/lang/rust/distinfo +++ b/lang/rust/distinfo @@ -13,12 +13,12 @@ SHA256 (rust/2024-09-05/rust-std-1.81.0-x86_64-unknown-freebsd.tar.xz) = dd34a1f SIZE (rust/2024-09-05/rust-std-1.81.0-x86_64-unknown-freebsd.tar.xz) = 26944964 SHA256 (rust/2024-09-05/cargo-1.81.0-x86_64-unknown-freebsd.tar.xz) = 0e2578c6d00860bcfcb7f7f55a85a162d98538c8c4ad856cfa0fe8cacf64a564 SIZE (rust/2024-09-05/cargo-1.81.0-x86_64-unknown-freebsd.tar.xz) = 10321608 -SHA256 (rust/2024-09-05/rustc-1.81.0-armv7-unknown-freebsd.tar.xz) = a9c8db8fc55fa5bb7fb6ef590298eb19cbe9787af6553accdea54df6a0973386 -SIZE (rust/2024-09-05/rustc-1.81.0-armv7-unknown-freebsd.tar.xz) = 61737980 -SHA256 (rust/2024-09-05/rust-std-1.81.0-armv7-unknown-freebsd.tar.xz) = db64d80b3143d87da5ff569d328186ee1bc792c091a39e9223a9677cd014983f -SIZE (rust/2024-09-05/rust-std-1.81.0-armv7-unknown-freebsd.tar.xz) = 25718520 -SHA256 (rust/2024-09-05/cargo-1.81.0-armv7-unknown-freebsd.tar.xz) = 4ee09452940556136b5af431e6a758512e8b583e19e093d6945241ebd73ba016 -SIZE (rust/2024-09-05/cargo-1.81.0-armv7-unknown-freebsd.tar.xz) = 9321956 +SHA256 (rust/2024-09-05/rustc-1.81.0-armv7-unknown-freebsd.tar.xz) = c13982b87ae60cbe4fe6ddfa96cded7293c0d59011816e6f89cdfa4531964eea +SIZE (rust/2024-09-05/rustc-1.81.0-armv7-unknown-freebsd.tar.xz) = 62941904 +SHA256 (rust/2024-09-05/rust-std-1.81.0-armv7-unknown-freebsd.tar.xz) = cadc589d89ca68fb81ad2913e60e89348a75bd228725f82faba2d4c961a2aca7 +SIZE (rust/2024-09-05/rust-std-1.81.0-armv7-unknown-freebsd.tar.xz) = 25949604 +SHA256 (rust/2024-09-05/cargo-1.81.0-armv7-unknown-freebsd.tar.xz) = efbd26868fef7fbca7da59591fdbacefa0f3ad5e263b9487d4fe07c93e0da588 +SIZE (rust/2024-09-05/cargo-1.81.0-armv7-unknown-freebsd.tar.xz) = 9313164 SHA256 (rust/2024-09-05/rustc-1.81.0-i686-unknown-freebsd.tar.xz) = 5562e52a5d3bc7e6072838c0aa8e7e518fe2db74c0e3792204e1dc5306559b20 SIZE (rust/2024-09-05/rustc-1.81.0-i686-unknown-freebsd.tar.xz) = 68846504 SHA256 (rust/2024-09-05/rust-std-1.81.0-i686-unknown-freebsd.tar.xz) = 7f0422aa60f4df0fabc4a07708319b09f496833cc6c4111544710a683b0571b2 diff --git a/lang/rust/files/armv7/patch-compiler_rustc__target_src_spec_base_freebsd.rs b/lang/rust/files/armv7/patch-compiler_rustc__target_src_spec_base_freebsd.rs new file mode 100644 index 000000000000..6bbfec294be6 --- /dev/null +++ b/lang/rust/files/armv7/patch-compiler_rustc__target_src_spec_base_freebsd.rs @@ -0,0 +1,11 @@ +--- compiler/rustc_target/src/spec/base/freebsd.rs.orig 2024-11-16 UTC ++++ compiler/rustc_target/src/spec/base/freebsd.rs +@@ -9,7 +9,7 @@ pub fn opts() -> TargetOptions { + crt_static_respected: true, + position_independent_executables: true, + relro_level: RelroLevel::Full, +- has_thread_local: true, ++ has_thread_local: false, + abi_return_struct_as_int: true, + default_dwarf_version: 2, + ..Default::default()