Subject: Re: bug#17176: 24.3.50; Problem with manifests on cygw32 build with new binutils

From: Eli Zaretskii <[email-masked]>
Date: Wed, 02 Apr 2014 23:29:35 +0300

> Date: Wed, 02 Apr 2014 15:07:23 -0400
> From: Ken Brown <[email-masked]>
> 
> binutils has changed so that, on Cygwin, executables have a manifest 
> built in by default.  A consequence is that the cygw32 build of emacs 
> produces an emacs.exe which, after it is stripped, won't run:
> 
> $ ./emacs-stripped.exe
> -bash: ./emacs-stripped.exe: cannot execute binary file
> 
> This is presumably caused by the fact that the cygw32 build already 
> incorporates a manifest via nt/emacs.res.

Are you sure this is the cause?  If so, can you explain how stripping
makes this problem rear its head?  What do you see in the .rsrc
section in the unstripped and in stripped emacs.exe?