From nobody Sat Jul 01 05:45:18 2023 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 4QtLkR0fL0z4kQdR; Sat, 1 Jul 2023 05:45:19 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QtLkR01zyz4K7X; Sat, 1 Jul 2023 05:45:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688190319; 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=E/zYcBap3EFa5zFtT6wnIEInO7vGZPIFnbe5SoM5qbQ=; b=rGi/apwUDsy1ZdnppFkMJxAWjkVTgJufLZh4kRD/ODEW5c2m9vv1tdE7gDRIEMoMEEKNRb 89LIdGFkB+VTw4X1hZDdk0eCjhnm0iBPC2ZI8Y3Rjm4dNyzrjMJWnlFPkInBiEAj6isIkF CT5kLf9gbi92jLlG6Y/TyhKwO08EJ7OUN4xJdFEl1I+w5BMu7K2QbL1+/MIQ5c7Occ574u 3nFNV+Jpgk+8vE6Jcd10IycZJOeTxot5j+BGqWMaMPJKVpt9t7klUfgPlZ28kZJV7W6Opj YU9k6D6jWX3HMc9+rAtCzUaPvC8fo5o1phcwHKAlasJIe/12U63YkC4V9zuUZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688190319; 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=E/zYcBap3EFa5zFtT6wnIEInO7vGZPIFnbe5SoM5qbQ=; b=NcgxYYmqTliW9oJfMiJXlN9jIg9KMuqv6WE9KxaRi2RdHFxJPDJ3RYfWK5SjO3murl45X5 NaD7hJZY+s6bW7VB13CCIwkI3IR6hyaG5qMQuttQGOgaiyuRm2a96inocDs0So2CE2Ltqy LbZh7n7J7AS7YLCL2e3j4evE0gb+Jaic5UEsrUNbEbQNxmV3tY4A9aWA7t3tFu7gi5laQu EupxDj6308GiikwtQd6pzBI06jjl1I9YvF06V3NLcZ9Zd7TV2jDvHi20Ptqr3gjRa6Zfnl +O0KR3y/SNlhyR5SrteAiQXOtHbmzpNfG7Bh7SmiXeZXBRSE+q20jChPV0akDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688190319; a=rsa-sha256; cv=none; b=bD/QCAvBUhAFF8HoNwDRzl/feRZOL1Qd/AxLXx6BItfKTxJBbb6yvAAX6ipqM74JtqAIWS /Ha8IRVw6J1Htf4cWiJ6L2tR7VqT9u/Ylqib0ZMEjUPWzp3dYGkS2VNPVUcSkkv3237wku f0xE8zngig+84b37nz7nSK4cgrPo1oLX1u6K8fBuYTc+lNxqbd2fecNvaNiqN4qTbIW3d/ 7xcXRtzlV7geLngfpx4L+4NPlh+xrUNCdhe69dpk27/CJN388CY7iASIGiU/R9skCdwSS1 BwYBiiobJ73LYrC2EIV7q7hXtmx3yH10zmxCUg1NXN36JcldV3Vglw2JCy0qHQ== 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 4QtLkQ6BYQzDff; Sat, 1 Jul 2023 05:45:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3615jI17010500; Sat, 1 Jul 2023 05:45:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3615jIMM010499; Sat, 1 Jul 2023 05:45:18 GMT (envelope-from git) Date: Sat, 1 Jul 2023 05:45:18 GMT Message-Id: <202307010545.3615jIMM010499@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hiroki Tagato Subject: git: 93aa38dc68ed - main - devel/rust-analyzer: mark as LTO_UNSAFE 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tagattie X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 93aa38dc68ed607ebee1ebe257926a14b3f7357f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=93aa38dc68ed607ebee1ebe257926a14b3f7357f commit 93aa38dc68ed607ebee1ebe257926a14b3f7357f Author: Hiroki Tagato AuthorDate: 2023-07-01 05:43:07 +0000 Commit: Hiroki Tagato CommitDate: 2023-07-01 05:45:06 +0000 devel/rust-analyzer: mark as LTO_UNSAFE rust-analyzer won't run (repeatedly terminated with signal 6) when called from VSCode's rust-analyzer extension. Error messages from rust-analyzer extension are as follows: [Info - 17:39:30] Connection to server got closed. Server will restart. [Info - 17:39:31] Connection to server got closed. Server will restart. [Info - 17:39:31] Connection to server got closed. Server will restart. [Info - 17:39:32] Connection to server got closed. Server will restart. [Error - 17:39:32] The Rust Analyzer Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information. Turning off LTO appears to work around the issue. PR: 272291 Approved by: mikael --- devel/rust-analyzer/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devel/rust-analyzer/Makefile b/devel/rust-analyzer/Makefile index dd10271c0596..5cbcb87f65cd 100644 --- a/devel/rust-analyzer/Makefile +++ b/devel/rust-analyzer/Makefile @@ -1,5 +1,6 @@ PORTNAME= rust-analyzer DISTVERSION= 2023-06-12 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= rust@FreeBSD.org @@ -203,6 +204,8 @@ CARGO_CRATES= addr2line-0.19.0 \ CARGO_INSTALL_PATH= crates/rust-analyzer +LTO_UNSAFE= yes + # attempts to install rustup toolchains NO_TEST= yes