https://sourceware.org/bugzilla/show_bug.cgi?id=16807
--- Comment #12 from Ken Brown <kbrown at cornell dot edu> --- There are still problems with merged resources. Namely, the resulting executable after being stripped won't run, at least in some circumstances. Here's a simple test case on 64-bit Cygwin with the just-released binutils- 2.24.51-3. It uses the attachments test.c, emacs.rc, and default-manifest.rc. 1. Compile the three source files: $ gcc -c test.c $ windres -o emacs.o emacs.rc $ windres -o default-manifest.o default-manifest.rc 2. Link them: $ gcc -o test test.o emacs.o default-manifest.o 3. Strip the resulting executable: $ strip test.exe 4. Try to run it: $ ./test.exe -bash: ./test.exe: cannot execute binary file 5. Observe that the resource section of the stripped executable is messed up: $ objdump -j .rsrc -s test.exe test.exe: file format pei-x86-64 Contents of section .rsrc: objdump: Reading section failed -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils