From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70438: Emacs error 6 abort when starting rust-ts-mode Date: Sat, 27 Apr 2024 09:16:30 +0300 Message-ID: <86frv7xrcx.fsf@gnu.org> References: <868r1cgdk9.fsf@gnu.org> <0439FD61-C3EE-4438-B775-043FE098F41E@gmail.com> <86zfto8jfs.fsf@gnu.org> <86jzkr8gpr.fsf@gnu.org> <6944FFA3-5CEB-4FFA-9A4C-1EFFF8EDC62D@gmail.com> <86cyqi6iyh.fsf@gnu.org> <3FCA9A10-73AD-4B56-B3E7-AB3DF04FD2BF@gmail.com> <86plud1sxk.fsf@gnu.org> <86plucxcot.fsf@gnu.org> <82B0E79F-050A-43B0-BB68-BBD58F37E08E@gmail.com> <86le50x9ed.fsf@gnu.org> <137AED3E-F2C3-41D1-A9B0-5963F53D8D74@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38795"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70438@debbugs.gnu.org, sh@bytekomplex.de To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 27 08:17:13 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s0bN2-0009th-Nb for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Apr 2024 08:17:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0bMs-000832-1m; Sat, 27 Apr 2024 02:17:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s0bMc-0007zh-TR for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2024 02:16:46 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s0bMc-0007ZY-7H for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2024 02:16:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s0bMu-0007oh-GR for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2024 02:17:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Apr 2024 06:17:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70438 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 70438-submit@debbugs.gnu.org id=B70438.171419862129999 (code B ref 70438); Sat, 27 Apr 2024 06:17:04 +0000 Original-Received: (at 70438) by debbugs.gnu.org; 27 Apr 2024 06:17:01 +0000 Original-Received: from localhost ([127.0.0.1]:38787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0bMp-0007nc-FV for submit@debbugs.gnu.org; Sat, 27 Apr 2024 02:17:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0bMn-0007lx-AA for 70438@debbugs.gnu.org; Sat, 27 Apr 2024 02:16:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s0bMO-0007Xf-0w; Sat, 27 Apr 2024 02:16:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=sVovY3ckpgkhdG/2PyG2wNDZptqdlA1bQ5FQCbwfeTE=; b=ZLgKI4GJDDD28uyVKHkV vH6N2LrbxVS1+u9Lnc2mGwNcRNW7a6tAwMQBriGb0An0NJKMYZQWWqKepJ13LFj9eeEKW2346uQOs 9gAwUY8qs/thqNgR7/mt3UqDvlG/BCjDCnHAiPUaqfyL+Tn+gyWONRfPxeBTxI59vSnU6m7YNPI4T s+gcLwvjxM6lx5QuSqWnvAH/7Kipsri9wpO7T+EHQk5QPS0TbBm2/EEKur/7U+CAZnjUhWPAIWh0x OkZS1hHJ7cp4dYIWTA5rWuEw452GAIq1CyxAAhCbAZaDX9fynhgir0MJSdDCzq4PrXk0x1j8ugI8B xXeTCi/SAwIp7Q==; In-Reply-To: <137AED3E-F2C3-41D1-A9B0-5963F53D8D74@gmail.com> (message from Yuan Fu on Fri, 26 Apr 2024 20:06:26 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284011 Archived-At: > From: Yuan Fu > Date: Fri, 26 Apr 2024 20:06:26 -0700 > Cc: Stefan Heitmann , > 70438@debbugs.gnu.org > > > Emacs can indeed be statically linked with tree-sitter. But since we, > > the Emacs project, don't distribute binaries, the decision how to link > > Emacs with various libraries is made by the distros. And they always > > prefer shared libraries, because that allows to upgrade the libraries > > without installing new binaries of dependent programs. > > I wonder if we can make Emacs prefer static libtree-sitter in the makefile? Or it’s better done on the distro side? The latter, I think. Moreover, even if we do prefer static linking in our configuration, distros can (and I think will) override it.