https://sourceware.org/bugzilla/show_bug.cgi?id=16807
Christopher G. Faylor <cgf at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cgf at sourceware dot org
--- Comment #17 from Christopher G. Faylor <cgf at sourceware dot org> ---
(In reply to Ken Brown from comment #12)
> 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
I see the above behavior even without stripping.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils