[gdb-7.0] 7.0 branch sparc-tdep.c build error in amd64

Joel Brobecker brobecker@adacore.com
Wed Sep 30 03:35:00 GMT 2009


> 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



More information about the Gdb mailing list