windres uses unsigned long for fwrite'ing 32-bit little-endian integers (DWORD).
This breaks cross tools on 64-bit and/or bigendian hosts.
When writing res file, resource header (write_res_header() from resres.c) is two
64-bit integers instead of 32 bit.
There's also FIXME in code about that iss
--- Additional Comments From nickc at redhat dot com 2006-06-09 13:36
---
Hi Asher,
The problem appears to be that the .tcommon section has an alignment of 1
whereas the "matrix" symbol has an alignment of 4.
The code to generate the warning message was not taking into account the
--- Additional Comments From nickc at redhat dot com 2006-06-09 13:37
---
Created an attachment (id=1069)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1069&action=view)
Handle case where common alignment is deduced from section alginment and not
another common defintion
--
--- Additional Comments From langton at gcc dot gnu dot org 2006-06-09
23:59 ---
Yes, this patch fixes the problem. Thanks!
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2735
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watchin
the program I have work fine in older version of gcc,ld and GDB. However, with
gdb 3.3+, it has the folowing behavior:
if I link the exec called medusa, which has a capability to dynamically link in
a library :
medusa --lib=my.so
where code in my.so calls some functions in medusa.
if I link