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]

Re: Build failure for x86_64-pc-mingw32 target


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.
>
>


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