[Bug c++/41207] New: The resulting 64-bit binary doesn't get recognized as proper binary by windows vista x64
t66667 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Sep 1 08:57:00 GMT 2009
x86_64-w64-mingw32-g++ produce binary will not run.
Runtime : libqt4_plugin.dll' (%1 is not a valid Win32 application. (error 193))
plugins/libqt4_plugin.dll: file format pei-x86-64
Disassembly of section .text:
0000000068e81000 <_pre_c_init>:
68e81000: 53 push %rbx
68e81001: b9 00 01 00 00 mov $0x100,%ecx
68e81006: 48 83 ec 20 sub $0x20,%rsp
68e8100a: e8 01 16 71 00 callq 69592610 <_malloc>
68e8100f: 48 89 c3 mov %rax,%rbx
68e81012: 48 89 c1 mov %rax,%rcx
68e81015: e8 f6 7f 6f 00 callq 69579010 <__encode_pointer>
68e8101a: 48 85 db test %rbx,%rbx
68e8101d: 48 89 05 bc a4 cb 00 mov %rax,0xcba4bc(%rip) #
69b3b4e0 <___onexitbegin>
68e81024: 48 89 05 c5 a4 cb 00 mov %rax,0xcba4c5(%rip) #
69b3b4f0 <___onexitend>
68e8102b: b8 01 00 00 00 mov $0x1,%eax
68e81030: 74 09 je 68e8103b <_pre_c_init+0x3b>
68e81032: 48 c7 03 00 00 00 00 movq $0x0,(%rbx)
68e81039: 30 c0 xor %al,%al
68e8103b: 48 83 c4 20 add $0x20,%rsp
68e8103f: 5b pop %rbx
68e81040: c3 retq 68e81041: 66 66 66 66 66 66
2e nopw %cs:0x0(%rax,%rax,1)
68e81048: 0f 1f 84 00 00 00 00
68e8104f: 00
0000000068e81050 <__CRT_INIT>:
68e81050: 41 54 push %r12
68e81052: 55 push %rbp
68e81053: 57 push %rdi
68e81054: 4c 89 c7 mov %r8,%rdi
68e81057: 56 push %rsi
68e81058: 53 push %rbx
68e81059: 48 89 cb mov %rcx,%rbx
68e8105c: 48 83 ec 20 sub $0x20,%rsp
68e81060: 85 d2 test %edx,%edx
68e81062: 75 7d jne 68e810e1 <__CRT_INIT+0x91>
68e81064: 8b 15 96 ef ca 00 mov 0xcaef96(%rip),%edx #
69b30000 <__bss_start__>
68e8106a: 31 c0 xor %eax,%eax
68e8106c: 85 d2 test %edx,%edx
68e8106e: 7e 66 jle 68e810d6 <__CRT_INIT+0x86>
68e81070: 83 ea 01 sub $0x1,%edx
68e81073: 31 c0 xor %eax,%eax
68e81075: 89 15 85 ef ca 00 mov %edx,0xcaef85(%rip) #
69b30000 <__bss_start__>
68e8107b: ba 01 00 00 00 mov $0x1,%edx
68e81080: f0 48 0f b1 15 87 a4 lock cmpxchg %rdx,0xcba487(%rip)
# 69b3b510 <___native_startup_lock>
68e81087: cb 00
68e81089: 48 85 c0 test %rax,%rax
68e8108c: 74 2a je 68e810b8 <__CRT_INIT+0x68>
68e8108e: 48 8b 35 6b ec cb 00 mov 0xcbec6b(%rip),%rsi #
69b3fd00 <__imp__Sleep>
68e81095: bf 01 00 00 00 mov $0x1,%edi
68e8109a: 31 db xor %ebx,%ebx
68e8109c: 0f 1f 40 00 nopl 0x0(%rax)
68e810a0: b9 e8 03 00 00 mov $0x3e8,%ecx
68e810a5: ff d6 callq *%rsi
68e810a7: 48 89 d8 mov %rbx,%rax
68e810aa: f0 48 0f b1 3d 5d a4 lock cmpxchg %rdi,0xcba45d(%rip)
# 69b3b510 <___native_startup_lock>
68e810b1: cb 00
68e810b3: 48 85 c0 test %rax,%rax
68e810b6: 75 e8 jne 68e810a0 <__CRT_INIT+0x50>
68e810b8: 8b 05 42 a4 cb 00 mov 0xcba442(%rip),%eax #
69b3b500 <___native_startup_state>
68e810be: 83 f8 02 cmp $0x2,%eax
68e810c1: 0f 84 e9 00 00 00 je 68e811b0 <__CRT_INIT+0x160>
68e810c7: b9 1f 00 00 00 mov $0x1f,%ecx
68e810cc: e8 47 15 71 00 callq 69592618 <__amsg_exit>
--
Summary: The resulting 64-bit binary doesn't get recognized as
proper binary by windows vista x64
Product: gcc
Version: 4.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: t66667 at gmail dot com
GCC build triplet: x86_64-w64-mingw32
GCC host triplet: x86_64-w64-mingw32
GCC target triplet: x86_64-w64-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41207
More information about the Gcc-bugs
mailing list