unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#50818: 28.0.50; .eln files need to be executable on Cygwin
@ 2021-09-26 15:03 Ken Brown
  2021-09-26 16:04 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Ken Brown @ 2021-09-26 15:03 UTC (permalink / raw)
  To: 50818

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-09-27 19:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-26 15:03 bug#50818: 28.0.50; .eln files need to be executable on Cygwin Ken Brown
2021-09-26 16:04 ` 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

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).