This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [gdb-7.0] 7.0 branch sparc-tdep.c build error in amd64
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Hui Zhu <teawater at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Tue, 29 Sep 2009 20:35:30 -0700
- Subject: Re: [gdb-7.0] 7.0 branch sparc-tdep.c build error in amd64
- References: <daef60380909292029x196fb74co2a465e8611978579@mail.gmail.com>
> 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
Apparently, this is a GCC bug:
http://sourceware.org/ml/gdb-patches/2009-09/msg00568.html
--
Joel