From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10197 invoked by alias); 15 Mar 2013 09:48:58 -0000 Received: (qmail 10184 invoked by uid 22791); 15 Mar 2013 09:48:53 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.201.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Mar 2013 09:48:44 +0000 Received: from md14.u-strasbg.fr (md14.u-strasbg.fr [130.79.200.249]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id r2F9mYdn074130 ; Fri, 15 Mar 2013 10:48:36 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms12.u-strasbg.fr [130.79.204.112]) by md14.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id r2F9mY7i018138 ; Fri, 15 Mar 2013 10:48:34 +0100 Received: from E6510Muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id r2F9mWWI031246 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) ; Fri, 15 Mar 2013 10:48:33 +0100 (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Yao Qi'" , References: <20130315020212.GA23545@sourceware.org> <5142E409.5090109@codesourcery.com> In-Reply-To: <5142E409.5090109@codesourcery.com> Subject: Compilation failure for mingw64 target (was New ARI warning Fri Mar 15 02:02:12 UTC 2013 in -D 2013-03-15-gmt) Date: Fri, 15 Mar 2013 09:48:00 -0000 Message-ID: <002901ce2162$414d7530$c3e85f90$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2013-03/txt/msg00661.txt.bz2 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 th= is fu nction) ../../src/gdb/ctf.c:223:7: note: each undeclared identifier is reported onl= y onc e for each function it appears in ../../src/gdb/ctf.c:223:21: erreur: 'LITTLE_ENDIAN' undeclared (first use i= n 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=C3=A9pertoire =C2=AB /usr/local/src/gdbcvs/build-m= ingw64/gdb =C2=BB 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=C3=A9 : vendredi 15 mars 2013 10:04 > =C3=80 : gdb-patches@sourceware.org > Objet : Re: New ARI warning Fri Mar 15 02:02:12 UTC 2013 in -D 2013-03-15- > gmt >=20 > 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 =3D=3D LITTLE_ENDIAN ? ' : '); >=20 > 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. >=20 > -- > Yao (=E9=BD=90=E5=B0=A7)