aboutsummaryrefslogtreecommitdiff
path: root/config-ml.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-04-21 20:13:41 +0000
committerMike Frysinger <vapier@gentoo.org>2010-04-21 20:13:41 +0000
commita9789a6b9df7e25448473dc45c47b64c980f04b5 (patch)
treeed0c7d858e07c5ca06f9bfab80de6eb12bd339d7 /config-ml.in
parent2462afa169ca59e9d842f092f14d48479817eb5f (diff)
downloadgdb-a9789a6b9df7e25448473dc45c47b64c980f04b5.zip
gdb-a9789a6b9df7e25448473dc45c47b64c980f04b5.tar.gz
gdb-a9789a6b9df7e25448473dc45c47b64c980f04b5.tar.bz2
gdb: workaround sparc memcpy fortify error
Building on an x86_64-linux system with --enable-targets=all fails on the sparc code with a fortify error: cc1: warnings being treated as errors In file included from /usr/include/string.h:640, from gnulib/string.h:23, from ../../gdb/gdb_string.h:25, from ../../gdb/vec.h:25, from ../../gdb/memattr.h:24, from ../../gdb/target.h:60, from ../../gdb/exec.h:23, from ../../gdb/gdbcore.h:31, from ../../gdb/sparc-tdep.c:29: In function 'memcpy', inlined from 'sparc32_store_return_value' at ../../gdb/sparc-tdep.c:1112, inlined from 'sparc32_return_value' at ../../gdb/sparc-tdep.c:1170: /usr/include/bits/string3.h:52: error: call to __builtin___memcpy_chk will always overflow destination buffer make: *** [sparc-tdep.o] Error 1 This is due to the gcc optimizer bug PR37060, so tweak the gdb_assert () to avoid the issue. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'config-ml.in')
0 files changed, 0 insertions, 0 deletions