This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Build failure for x86_64-pc-mingw32 target
- From: Hui Zhu <teawater at gmail dot com>
- To: Kai Tietz <Kai dot Tietz at onevision dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 6 May 2009 17:05:09 +0800
- Subject: Re: Build failure for x86_64-pc-mingw32 target
- References: <200904301028.29435.pedro@codesourcery.com> <OF9DFCD958.55F31F69-ONC12575AE.00306274-C12575AE.00308C0A@onevision.de>
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 <Kai.Tietz@onevision.com> 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.
>
>