On Linux/x86-64, I got # .../configure --target=i386-mingw32 # make # make check FAIL: ld-scripts/default-script1 FAIL: ld-scripts/default-script2 FAIL: ld-scripts/default-script3 FAIL: ld-scripts/default-script4 FAIL: windres/bmpalign (compare) FAIL: windres/capstyle (compare) FAIL: windres/checkbox (compare) FAIL: windres/combobox (compare) FAIL: windres/deflang (compare) FAIL: windres/dialog0 (compare) FAIL: windres/dialog1 (compare) FAIL: windres/dialogid (compare) FAIL: windres/dialogsignature (compare) FAIL: windres/dlgfont (compare) FAIL: windres/edittext (compare) FAIL: windres/escapea (compare) FAIL: windres/escapex-2 (compare) FAIL: windres/escapex (compare) FAIL: windres/lang (parse) FAIL: windres/listbox (compare) FAIL: windres/nocaption (compare) FAIL: windres/printstyle (compare) FAIL: weak symbols FAIL: windres/scrollbar (compare) FAIL: windres/strtab1 (parse) FAIL: windres/sublang (compare) FAIL: i386 secrel reloc
There are [hjl@gnu-2 binutils]$ grep long wind*.h windres.h: along with this program; if not, write to the Free Software windres.h: unsigned long characteristics; windres.h: unsigned long time; windres.h: unsigned long id; windres.h: unsigned long characteristics; windres.h: unsigned long version; windres.h: unsigned long codepage; windres.h: unsigned long reserved; windres.h: unsigned long length; windres.h: unsigned long length; windres.h: unsigned long bytes; windres.h: unsigned long style; windres.h: unsigned long exstyle; windres.h: unsigned long help; windres.h: unsigned long style; windres.h: unsigned long exstyle; windres.h: unsigned long help; windres.h: unsigned long length; windres.h: unsigned long bytes; windres.h: unsigned long help; windres.h: unsigned long type; windres.h: unsigned long state; windres.h: unsigned long help; windres.h: unsigned long dword; windres.h: unsigned long length; windres.h: unsigned long length; windres.h: unsigned long length; windres.h: unsigned long file_version_ms; windres.h: unsigned long file_version_ls; windres.h: unsigned long product_version_ms; windres.h: unsigned long product_version_ls; windres.h: unsigned long file_flags_mask; windres.h: unsigned long file_flags; windres.h: unsigned long file_os; windres.h: unsigned long file_type; windres.h: unsigned long file_subtype; windres.h: unsigned long file_date_ms; windres.h: unsigned long file_date_ls; windres.h: unsigned long length; windres.h: (struct res_id, const unsigned char *, unsigned long, int); windres.h: (const struct res_id, unsigned long, unsigned long, unsigned long, windres.h: unsigned long, unsigned long, unsigned long, unsigned long, unsigned long); windres.h: (struct res_id, unsigned long, unsigned long, unsigned long, unsigned long, windres.h: unsigned long, unsigned long, struct rcdata_item *, struct dialog_ex *); windres.h: (const char *, int, unsigned long, unsigned long, unsigned long, windres.h: (const char *, unsigned long); windres.h:extern struct rcdata_item *define_rcdata_number (unsigned long, int); windres.h: (const struct res_res_info *, unsigned long, const char *); windres.h: (struct ver_varinfo *, unsigned long, unsigned long); The problem is long on 32bit host is 32bit and may be 64bit on 64bit host.
*** This bug has been marked as a duplicate of 2737 ***