diff options
-rw-r--r-- | config/toolchain.in | 2 | ||||
-rw-r--r-- | patches/binutils/2.23.2/310-fix-gold-pthreads-typo.patch | 14 | ||||
-rw-r--r-- | patches/binutils/2.24/310-fix-gold-pthreads-typo.patch | 14 |
3 files changed, 29 insertions, 1 deletions
diff --git a/config/toolchain.in b/config/toolchain.in index 5a5f9294..9d3ad18d 100644 --- a/config/toolchain.in +++ b/config/toolchain.in @@ -13,7 +13,7 @@ config USE_SYSROOT depends on !BARE_METAL default y help - Use the 'shinny new' sysroot feature of gcc: libraries split between + Use the 'shiny new' sysroot feature of gcc: libraries split between prefix/target/sysroot/lib and prefix/target/sysroot/usr/lib You definitely want to say 'Y' here. Yes you do. I know you do. Say 'Y'. diff --git a/patches/binutils/2.23.2/310-fix-gold-pthreads-typo.patch b/patches/binutils/2.23.2/310-fix-gold-pthreads-typo.patch new file mode 100644 index 00000000..f2e6ff25 --- /dev/null +++ b/patches/binutils/2.23.2/310-fix-gold-pthreads-typo.patch @@ -0,0 +1,14 @@ +--- binutils-2.25.1/gold/gold-threads.cc.orig 2014-10-14 08:32:04.000000000 +0100 ++++ binutils-2.25.1/gold/gold-threads.cc 2015-10-20 22:38:18.640819300 +0100 +@@ -102,9 +102,9 @@ + if (err != 0) + gold_fatal(_("pthead_mutextattr_init failed: %s"), strerror(err)); + #ifdef PTHREAD_MUTEX_ADAPTIVE_NP +- err = pthread_mutextattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); ++ err = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); + if (err != 0) +- gold_fatal(_("pthread_mutextattr_settype failed: %s"), strerror(err)); ++ gold_fatal(_("pthread_mutexattr_settype failed: %s"), strerror(err)); + #endif + + err = pthread_mutex_init(&this->mutex_, &attr); diff --git a/patches/binutils/2.24/310-fix-gold-pthreads-typo.patch b/patches/binutils/2.24/310-fix-gold-pthreads-typo.patch new file mode 100644 index 00000000..f2e6ff25 --- /dev/null +++ b/patches/binutils/2.24/310-fix-gold-pthreads-typo.patch @@ -0,0 +1,14 @@ +--- binutils-2.25.1/gold/gold-threads.cc.orig 2014-10-14 08:32:04.000000000 +0100 ++++ binutils-2.25.1/gold/gold-threads.cc 2015-10-20 22:38:18.640819300 +0100 +@@ -102,9 +102,9 @@ + if (err != 0) + gold_fatal(_("pthead_mutextattr_init failed: %s"), strerror(err)); + #ifdef PTHREAD_MUTEX_ADAPTIVE_NP +- err = pthread_mutextattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); ++ err = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); + if (err != 0) +- gold_fatal(_("pthread_mutextattr_settype failed: %s"), strerror(err)); ++ gold_fatal(_("pthread_mutexattr_settype failed: %s"), strerror(err)); + #endif + + err = pthread_mutex_init(&this->mutex_, &attr); |