Created attachment 243080 [details] Patch 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.
Approved by: mikael
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=93aa38dc68ed607ebee1ebe257926a14b3f7357f commit 93aa38dc68ed607ebee1ebe257926a14b3f7357f Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2023-07-01 05:43:07 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> 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(+)
Committed, Thanks!