This patch: http://sourceware.org/ml/binutils/2008-01/msg00195.html
breaks 32bit mingw host for 64bit target. It has #elif BFD_HOST_64BIT_LONG_LONG +#ifndef _WIN32 #define sprintf_vma(s,x) sprintf (s, "%016llx", x) #define fprintf_vma(f,x) fprintf (f, "%016llx", x) #else +#define sprintf_vma(s,x) sprintf (s, "%016I64x", x) +#define fprintf_vma(f,x) fprintf (f, "%016I64x", x) +#endif You can't use BFD_HOST_64BIT_LONG_LONG to check for win32 vs. win64. -- Summary: Binutils is broken on 32bit mingw host for 64bit target Product: binutils Version: 2.19 (HEAD) Status: NEW Severity: critical Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: hjl dot tools at gmail dot com CC: Kai dot Tietz at onevision dot com,bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=5715 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils