This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compilation failure for mingw64 target (was New ARI warning Fri Mar 15 02:02:12 UTC 2013 in -D 2013-03-15-gmt)


  Hello Yao,

it seems that your patch is not liked by mingw64 target:
Trying to cross-compile from i686-pc-cygwin to x86_64-w64-mingw32
leads to this new compilation failure:

../../src/gdb/ctf.c: In function 'ctf_save_metadata_header':
../../src/gdb/ctf.c:223:7: erreur: 'BYTE_ORDER' undeclared (first use in this fu
nction)
../../src/gdb/ctf.c:223:7: note: each undeclared identifier is reported only onc
e for each function it appears in
../../src/gdb/ctf.c:223:21: erreur: 'LITTLE_ENDIAN' undeclared (first use in thi
s function)
../../src/gdb/ctf.c: In function 'ctf_start':
../../src/gdb/ctf.c:279:33: erreur: 'S_IRGRP' undeclared (first use in this func
tion)
../../src/gdb/ctf.c:279:43: erreur: 'S_IXGRP' undeclared (first use in this func
tion)
../../src/gdb/ctf.c:279:53: erreur: 'S_IROTH' undeclared (first use in this func
tion)
../../src/gdb/ctf.c:279:63: erreur: 'S_IXOTH' undeclared (first use in this func
tion)
../../src/gdb/ctf.c:279:3: erreur: too many arguments to function 'mkdir'
/usr/x86_64-w64-mingw32/sys-root/mingw/include/io.h:267:15: note: declared here
Makefile:970: recipe for target `ctf.o' failed
make[1]: *** [ctf.o] Error 1
make[1] : on quitte le rÃpertoire  /usr/local/src/gdbcvs/build-mingw64/gdb Â
Makefile:10554: recipe for target `all-gdb' failed
make: *** [all-gdb] Error 2


Hope you will be able to fix that problem,

Pierre Muller

> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Yao Qi
> Envoyà : vendredi 15 mars 2013 10:04
> Ã : gdb-patches@sourceware.org
> Objet : Re: New ARI warning Fri Mar 15 02:02:12 UTC 2013 in -D 2013-03-15-
> gmt
> 
> On 03/15/2013 10:02 AM, GDB Administrator wrote:
> >> gdb/ctf.c:223: regression: LITTLE_ENDIAN: Do not use LITTLE_ENDIAN,
> instead use BFD_ENDIAN_LITTLE
> > gdb/ctf.c:223:			   BYTE_ORDER == LITTLE_ENDIAN ? ' : ');
> 
> Hmmm, I'd like to write CTF in the host-endianness, while
> BFD_ENDIAN_LITTLE is about the target-endianness.  The other way to fix
> this warning is to use "native endianness" that CTF understands.  I'll
> have a try.
> 
> --
> Yao (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]