From: Hui Zhu <teawater@gmail.com>
To: gdb@sourceware.org, Joel Brobecker <brobecker@adacore.com>
Subject: [gdb-7.0] 7.0 branch sparc-tdep.c build error in amd64
Date: Wed, 30 Sep 2009 03:30:00 -0000 [thread overview]
Message-ID: <daef60380909292029x196fb74co2a465e8611978579@mail.gmail.com> (raw)
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
next reply other threads:[~2009-09-30 3:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-30 3:30 Hui Zhu [this message]
2009-09-30 3:35 ` Joel Brobecker
2009-09-30 3:38 ` Hui Zhu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=daef60380909292029x196fb74co2a465e8611978579@mail.gmail.com \
--to=teawater@gmail.com \
--cc=brobecker@adacore.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox