From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16831 invoked by alias); 6 May 2009 09:05:19 -0000 Received: (qmail 16284 invoked by uid 22791); 6 May 2009 09:05:17 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from ti-out-0910.google.com (HELO ti-out-0910.google.com) (209.85.142.185) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 06 May 2009 09:05:12 +0000 Received: by ti-out-0910.google.com with SMTP id a1so540447tib.12 for ; Wed, 06 May 2009 02:05:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.110.41.20 with SMTP id o20mr71590tio.16.1241600709591; Wed, 06 May 2009 02:05:09 -0700 (PDT) In-Reply-To: References: <200904301028.29435.pedro@codesourcery.com> Date: Wed, 06 May 2009 09:05:00 -0000 Message-ID: Subject: Re: Build failure for x86_64-pc-mingw32 target From: Hui Zhu To: Kai Tietz Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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: 2009-05/txt/msg00107.txt.bz2 mingw32 don't have bzero? Could you please help me try to build some code that have bzero in mingw? Thanks, Hui On Wed, May 6, 2009 at 16:50, Kai Tietz wrote: > Hello, > > I noticed a failure while building gdb for x64 target. It seems to be an > new regression. > > x86_64-pc-mingw32-gcc -g -O2 -D__USE_MINGW_ACCESS =A0 -I. -I../../src/gdb > -I../../ > src/gdb/common -I../../src/gdb/config > -DLOCALEDIR=3D"\"/usr/local/share/locale\"" > -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode > -I../../src/gdb/../readline/.. > =A0-I../bfd -I../../src/gdb/../bfd -I../../src/gdb/../include > -I../libdecnumber -I > ../../src/gdb/../libdecnumber -I./../intl -I../../src/gdb/gnulib -Ignulib > -DMI_ > OUT=3D1 =A0-Wall -Wdeclaration-after-statement -Wpointer-arith > -Wformat-nonliteral - > Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Wno-format > -Werro > r -c -o i386-tdep.o -MT i386-tdep.o -MMD -MP -MF .deps/i386-tdep.Tpo > ../../src/g > db/i386-tdep.c > cc1: warnings being treated as errors > ../../src/gdb/i386-tdep.c: In function 'i386_process_record': > ../../src/gdb/i386-tdep.c:2996: error: implicit declaration of function > 'bzero' > ../../src/gdb/i386-tdep.c:2996: error: incompatible implicit declaration > of buil > t-in function 'bzero' > make[2]: *** [i386-tdep.o] Error 1 > > Cheers, > Kai > > | =A0(\_/) =A0This is Bunny. Copy and paste Bunny > | (=3D'.'=3D) into your signature to help him gain > | (")_(") world domination. > >