Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* [gdb-7.0] 7.0 branch sparc-tdep.c build error in amd64
@ 2009-09-30  3:30 Hui Zhu
  2009-09-30  3:35 ` Joel Brobecker
  0 siblings, 1 reply; 3+ messages in thread
From: Hui Zhu @ 2009-09-30  3:30 UTC (permalink / raw)
  To: gdb, Joel Brobecker

gcc -g -O2   -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../../src/gdb/gnulib -Ignulib
-DMI_OUT=1 -DTUI=1   -Wall -Wdeclaration-after-statement
-Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused
-Wno-switch -Wno-char-subscripts -Werror -c -o sparc-tdep.o -MT
sparc-tdep.o -MMD -MP -MF .deps/sparc-tdep.Tpo
../../src/gdb/sparc-tdep.c
cc1: warnings being treated as errors
In function 'memcpy',
    inlined from 'sparc32_store_return_value' at
../../src/gdb/sparc-tdep.c:1112,
    inlined from 'sparc32_return_value' at ../../src/gdb/sparc-tdep.c:1170:
/usr/include/bits/string3.h:52: error: call to __builtin___memcpy_chk
will always overflow destination buffer
make[2]: *** [sparc-tdep.o] Error 1
make[2]: Leaving directory `/home/teawater/gdb/7/bgdb/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/teawater/gdb/7/bgdb'
make: *** [all] Error 2

My config is:
../src/configure --disable-sid --disable-rda --disable-binutils
--disable-gas --disable-ld --disable-gprof --enable-targets=all
--enable-64-bits-bfd

2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 19:25:34 UTC 2009 x86_64 GNU/Linux

Thanks,
Hui


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-30  3:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-30  3:30 [gdb-7.0] 7.0 branch sparc-tdep.c build error in amd64 Hui Zhu
2009-09-30  3:35 ` Joel Brobecker
2009-09-30  3:38   ` Hui Zhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox