From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12227 invoked by alias); 6 May 2009 10:19:29 -0000 Received: (qmail 12214 invoked by uid 22791); 6 May 2009 10:19:28 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 06 May 2009 10:19:22 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id n46AJ6Q1016615; Wed, 6 May 2009 12:19:06 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id n46AJ52j007031; Wed, 6 May 2009 12:19:05 +0200 (CEST) Date: Wed, 06 May 2009 10:19:00 -0000 Message-Id: <200905061019.n46AJ52j007031@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: teawater@gmail.com CC: Kai.Tietz@onevision.com, gdb-patches@sourceware.org In-reply-to: (message from Hui Zhu on Wed, 6 May 2009 17:05:09 +0800) Subject: Re: Build failure for x86_64-pc-mingw32 target References: <200904301028.29435.pedro@codesourcery.com> 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/msg00109.txt.bz2 > Date: Wed, 6 May 2009 17:05:09 +0800 > From: Hui Zhu > > mingw32 don't have bzero? > Could you please help me try to build some code that have bzero in mingw? Probably best to replace bzero with memset. > 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   -I. -I../../src/gdb > > -I../../ > > src/gdb/common -I../../src/gdb/config > > -DLOCALEDIR="\"/usr/local/share/locale\"" > > -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode > > -I../../src/gdb/../readline/.. > >  -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=1  -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 > > > > |  (\_/)  This is Bunny. Copy and paste Bunny > > | (='.'=) into your signature to help him gain > > | (")_(") world domination. > > > > > >