can not compile binutils with mingw-w64 (64 bits)
Dave Murphy
davem@devkitpro.org
Sun Mar 18 12:47:00 GMT 2012
On Fri, Mar 16, 2012 at 1:28 PM, Vincent Torri <vincent.torri@gmail.com> wrote:
> Hey
>
> i'm trying to compile binutils (latest release) with mingw-w64
> targetting 64 bits builds. I get that error:
>
> bucomm.c: In function 'print_arelt_descr':
> bucomm.c:425:7: error: passing argument 2 of
> 'abfd->xvec->_bfd_stat_arch_elt' from incompatible pointer type
> [-Werror]
> bucomm.c:425:7: note: expected 'struct stat *' but argument is of type
> 'struct _stat64 *'
It comes from a forward declaration of struct stat instead of
including <sys/stat.h>, you need the patch from
http://sourceware.org/ml/binutils-cvs/2011-10/msg00118.html
Dave
More information about the Binutils
mailing list