diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-20 07:27:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-20 07:27:36 (GMT) |
commit | 158a96ee71659d9e00c05c56aeb07fd33db28b6a (patch) | |
tree | 363f4ca9519fbce72193b57aa1377c56dfd8861a /patches/gdb/7.11.1/101-uclibc-no-gettimeofday-clobber.patch | |
parent | 6a1b5a3d7723d9b45df2f0dc0f0d2b7fdfc11d73 (diff) | |
parent | dd4cf6dde01c5cf1cf7fc4d9af952ef0e4a85ba2 (diff) |
Merge pull request #609 from stilor/gdb-7.12.1
Add GDB 7.12.1
Diffstat (limited to 'patches/gdb/7.11.1/101-uclibc-no-gettimeofday-clobber.patch')
-rw-r--r-- | patches/gdb/7.11.1/101-uclibc-no-gettimeofday-clobber.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/patches/gdb/7.11.1/101-uclibc-no-gettimeofday-clobber.patch b/patches/gdb/7.11.1/101-uclibc-no-gettimeofday-clobber.patch new file mode 100644 index 0000000..ff59907 --- /dev/null +++ b/patches/gdb/7.11.1/101-uclibc-no-gettimeofday-clobber.patch @@ -0,0 +1,20 @@ +Improve gnulib in gdb's guess work, gettimeofday() works in uClibcm promise. + +This patch helps building x86_64-unknown-linux-uclibc toolchains, the final +gdb-native step otherwise fails when linking the libinproctrace.so + +Signed-off-by: Joachim Nilsson <troglobit@gmail.com> + +--- a/gdb/gnulib/configure 2016-02-25 18:17:04.145903807 +0100 ++++ b/gdb/gnulib/configure 2016-02-25 18:17:28.545903821 +0100 +@@ -13520,8 +13520,9 @@ + if test "$cross_compiling" = yes; then : + # When cross-compiling: + case "$host_os" in +- # Guess all is fine on glibc systems. ++ # Guess all is fine on glibc/uclibc systems. + *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;; ++ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;; + # If we don't know, assume the worst. + *) gl_cv_func_gettimeofday_clobber="guessing yes" ;; + esac |