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
Got it. Thanks Joel.
Hui
On Wed, Sep 30, 2009 at 11:35, Joel Brobecker <brobecker@adacore.com> wrote:
>> 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
>