From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CAEBA15810F for ; Thu, 8 Jun 2023 00:53:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5655E0895; Thu, 8 Jun 2023 00:53:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2372E0895 for ; Thu, 8 Jun 2023 00:53:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 675C9335D83 for ; Thu, 8 Jun 2023 00:53:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 94065A5C for ; Thu, 8 Jun 2023 00:53:30 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1686185593.ad740d09d0a952503a4ecee24d1096207d2e0785.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/rust-bin/rust-bin-1.70.0-r1.ebuild dev-lang/rust-bin/rust-bin-1.70.0.ebuild X-VCS-Directories: dev-lang/rust-bin/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: ad740d09d0a952503a4ecee24d1096207d2e0785 X-VCS-Branch: master Date: Thu, 8 Jun 2023 00:53:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e5a9ca98-e008-406b-93ff-855ebc3e6be8 X-Archives-Hash: e6a687b9eac9c946bf270acfdc9ee402 commit: ad740d09d0a952503a4ecee24d1096207d2e0785 Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Jun 8 00:50:52 2023 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Jun 8 00:53:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad740d09 dev-lang/rust-bin: re-enable strip in 1.70.0 just skip libLLVM only Signed-off-by: Georgy Yakovlev gentoo.org> .../{rust-bin-1.70.0.ebuild => rust-bin-1.70.0-r1.ebuild} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dev-lang/rust-bin/rust-bin-1.70.0.ebuild b/dev-lang/rust-bin/rust-bin-1.70.0-r1.ebuild similarity index 97% rename from dev-lang/rust-bin/rust-bin-1.70.0.ebuild rename to dev-lang/rust-bin/rust-bin-1.70.0-r1.ebuild index 93ef429779a2..5205a10f872a 100644 --- a/dev-lang/rust-bin/rust-bin-1.70.0.ebuild +++ b/dev-lang/rust-bin/rust-bin-1.70.0-r1.ebuild @@ -39,10 +39,6 @@ BDEPEND=" REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )" -# stripping rust may break it (at least on x86_64) -# https://github.com/rust-lang/rust/issues/112286 -RESTRICT="strip" - QA_PREBUILT=" opt/${P}/bin/.* opt/${P}/lib/.*.so @@ -208,6 +204,11 @@ multilib_src_install() { # BUG: installs x86_64 binary on other arches rm -f "${ED}/opt/${P}/lib/rustlib/"*/bin/rust-llvm-dwp || die + + # libLLVM must NOT be stripped + # it's not present on all arches, but if present and stripped rustc will segfault. + # https://github.com/rust-lang/rust/issues/112286 + dostrip -x *libLLVM-* } pkg_postinst() {