Bug 11545 - generate wrongly executable, with .res file
Summary: generate wrongly executable, with .res file
Status: RESOLVED INVALID
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.20
: P1 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-27 06:56 UTC by lanxingcan
Modified: 2010-05-29 05:29 UTC (History)
1 user (show)

See Also:
Host:
Target: x86_64-*mingw32
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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