diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2016-02-25 12:17:44 -0800 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2016-02-25 12:17:44 -0800 |
commit | 4d7e6fb0030dcd6fc2f8cbe547d9bf2b528adc6a (patch) | |
tree | c061e2d022ac42a202dca883b08c8151a6d928ca /patches/gdb/7.11/101-uclibc-no-gettimeofday-clobber.patch | |
parent | c280596907079d91b75226adc7ae559678ff0293 (diff) | |
parent | f9a704bd44de89db178428bc754be1abbdd514eb (diff) | |
download | crosstool-ng-4d7e6fb0030dcd6fc2f8cbe547d9bf2b528adc6a.tar.gz crosstool-ng-4d7e6fb0030dcd6fc2f8cbe547d9bf2b528adc6a.tar.bz2 crosstool-ng-4d7e6fb0030dcd6fc2f8cbe547d9bf2b528adc6a.zip |
Merge pull request #354 from westermo/upgrade-gdb
gdb: Add support for v7.11, port patches from v7.10.1 that apply
Diffstat (limited to 'patches/gdb/7.11/101-uclibc-no-gettimeofday-clobber.patch')
-rw-r--r-- | patches/gdb/7.11/101-uclibc-no-gettimeofday-clobber.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/patches/gdb/7.11/101-uclibc-no-gettimeofday-clobber.patch b/patches/gdb/7.11/101-uclibc-no-gettimeofday-clobber.patch new file mode 100644 index 00000000..ff59907e --- /dev/null +++ b/patches/gdb/7.11/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 |