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#58318: 28.2; Emacs installed from package won't work with MinGW Date: Sat, 08 Oct 2022 16:03:56 +0300 Message-ID: <831qrilb5v.fsf@gnu.org> References: <835ygxsdyu.fsf@gnu.org> <87zge9w049.fsf@gnus.org> <83k05dovwq.fsf@gnu.org> <87a667x3l4.fsf@gnus.org> <83edvjondh.fsf@gnu.org> <87sfjzvnyu.fsf@gnus.org> <837d1bomsv.fsf@gnu.org> <83wn9bn69q.fsf@gnu.org> <83tu4fn3rz.fsf@gnu.org> <83r0zjn31y.fsf@gnu.org> <83a667mook.fsf@gnu.org> <87o7umtqwh.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8064"; mail-complaints-to="usenet@ciao.gmane.io" Cc: corwin@bru.st, 58318@debbugs.gnu.org, bartosz.bubak@gmail.com, akrl@sdf.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 08 15:05:36 2022 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 1oh9WJ-0001vU-Gg for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Oct 2022 15:05:35 +0200 Original-Received: from localhost ([::1]:44532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oh9WI-0008Bi-B7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Oct 2022 09:05:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oh9Vn-0008AA-0k for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2022 09:05:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39501) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oh9Vl-0003SM-Ow for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2022 09:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oh9Vl-0001rR-JK for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2022 09:05:01 -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, 08 Oct 2022 13:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58318 X-GNU-PR-Package: emacs Original-Received: via spool by 58318-submit@debbugs.gnu.org id=B58318.16652342437084 (code B ref 58318); Sat, 08 Oct 2022 13:05:01 +0000 Original-Received: (at 58318) by debbugs.gnu.org; 8 Oct 2022 13:04:03 +0000 Original-Received: from localhost ([127.0.0.1]:38579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oh9Uo-0001qC-ND for submit@debbugs.gnu.org; Sat, 08 Oct 2022 09:04:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oh9Um-0001pg-Nl for 58318@debbugs.gnu.org; Sat, 08 Oct 2022 09:04:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oh9Uh-0003Gd-Hw; Sat, 08 Oct 2022 09:03:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=F+xVQKKYTtTk94ePYV/TJm20rQl5v2YIP9DCnqxuyvo=; b=n6Fzsyg0nibG Hj+IbfLfJFL03k+g5pqiGCpnt9c/GsIuLZj+zlKckuIuhYXJaY5YtjGQCq4bFzRFIOAM2zK+6kQlW DMjAnKpLxMzp61XRQ+e6sIfShTw2KWxZD97V9NWwUKdSK7NpNVdxiyXnBcZf4hNGXXSKKux3tzLfk nNBAHPcIEpGUoXDreXkG6qloKDEaQZJlIZZbNJRwrw/0Ae4ntvRXbQCWweIZr6HT5sx5WjgotyFhG fD9UioAAgQiM/izyGYK/4IK7Wc9HMAoERUJQz+Y08EJ1r6Qhi2X+zpLd+EzP+lWC4tCYu9FSA+vpA ujBPaP9Bldwp2j+zXt9fcw==; Original-Received: from [87.69.77.57] (port=4788 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oh9Uh-0006Vv-0h; Sat, 08 Oct 2022 09:03:55 -0400 In-Reply-To: <87o7umtqwh.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 08 Oct 2022 14:56:46 +0200) 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" Xref: news.gmane.io gmane.emacs.bugs:244898 Archived-At: > From: Lars Ingebrigtsen > Cc: Corwin Brust , akrl@sdf.org, bartosz.bubak@gmail.com, > 58318@debbugs.gnu.org > Date: Sat, 08 Oct 2022 14:56:46 +0200 > > Eli Zaretskii writes: > > > Right, so I think we need a special Makefile target to produce those > > compiled trampolines (something like "make trampolines"), and that > > target should be only used manually when building a binary > > distribution, not when building the release tarball for use on the > > same machine where it is built. > > Yup. > > But I'm not sure this is something we should do, really -- it's extra > work for something that is only important on non-free systems, and it > will complicate the logic in general (since we'd probably need to add > another directory for pre-built trampolines and manage those, etc). > > I think we should leave this up to people who do packaging. That is, if > Cygwin (etc) distributes an Emacs with nativecomp, they will also > distribute libgccjit etc (i.e., all the prerequisites). It could be part of the scripts in admin/nt/dist-build instead, yes. > That leaves the question of what we should do with the Windows zip file > we (that is, Corwin) distributes, and I think we should avoid enabling > nativecomp in that build, so that it works on the widest range of > Windows machines. The Windows build with nativecomp is supposed to be fully workable on systems that don't have libgccjit, even if the libgccjit bundled with the zip file is not installed or deleted. If there are issues with that, they should be fixed, because we want to allow users to move Emacs from system top system without the optional libraries, and have a functional Emacs, like is already the case with image libraries.