Bug 11545

Summary: generate wrongly executable, with .res file
Product: binutils Reporter: lanxingcan
Component: ldAssignee: unassigned
Status: RESOLVED INVALID    
Severity: normal CC: bug-binutils
Priority: P1    
Version: 2.20   
Target Milestone: ---   
Host: Target: x86_64-*mingw32
Build: Last reconfirmed:

Description lanxingcan 2010-04-27 06:56:15 UTC
I test wxwidgets library with a simple hello-world like program in Windows
Server 2008 R2. link with wxMain.o wxApp.o and resource.res, passing linker
flags --enable-runtime-pseudo-reloc-v2 (without this the dll could not be load).
The program could not be run with error 0x0000007b. I remove the resource.res,
it run properly
Comment 1 lanxingcan 2010-05-28 14:26:25 UTC
(In reply to comment #0)
> I test wxwidgets library with a simple hello-world like program in Windows
> Server 2008 R2. link with wxMain.o wxApp.o and resource.res, passing linker
> flags --enable-runtime-pseudo-reloc-v2 (without this the dll could not be load).
> The program could not be run with error 0x0000007b. I remove the resource.res,
> it run properly

Sorry, this is my fault, I just use an invaild manifest file which is for x86
other than x64. This problem have stuck me for a long time.
BTW, I am a freshman of bugzilla, I don't know how to close this BUG.
Anyone(admin?) could do this?
Comment 2 Alan Modra 2010-05-29 05:29:09 UTC
As requested