unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: 50818@debbugs.gnu.org
Subject: bug#50818: 28.0.50; .eln files need to be executable on Cygwin
Date: Sun, 26 Sep 2021 11:03:53 -0400	[thread overview]
Message-ID: <7330c585-dffd-77e8-8d41-0ba1c7cbcfa6@cornell.edu> (raw)

An installed emacs built with native compilation won't start on Cygwin because 
the executable permissions have been removed from the .eln files.  This is done 
in the install-eln target of the top-level Makefile.in, which installs the .eln 
files with 644 permissions even though they were created with executable 
permissions.

The failure is in Cygwin's dlopen, which calls the windows function 
GetModuleHandleExW.

Would it hurt anything on other platforms if the .eln files were installed with 
755 permissions?  If so, I can submit a patch that does this just on Cygwin.

Ken





             reply	other threads:[~2021-09-26 15:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-26 15:03 Ken Brown [this message]
2021-09-26 16:04 ` bug#50818: 28.0.50; .eln files need to be executable on Cygwin Eli Zaretskii
2021-09-26 16:57   ` Ken Brown
2021-09-27 18:52     ` Ken Brown
2021-09-27 19:12       ` Eli Zaretskii
2021-09-27 19:26         ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7330c585-dffd-77e8-8d41-0ba1c7cbcfa6@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=50818@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).