Skip to contentSkip to conversation

uclibc: fix pthread.h

PATCH New Waldemar Brodkorb 2 participants 2 messages Oct 24, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uclibc: fix pthread.h

Fixes:
bfin: http://autobuild.buildroot.net/results/fbf/fbf63bbe0974b490b875a95fb930ba601364b85a/
m68k: http://autobuild.buildroot.net/results/cc9/cc9b87c4c695f97a056cc53f19e7662750dffeff/
microblazeel: http://autobuild.buildroot.net/results/941/941c06e29f6542e258f20799dc6f3f94b2f8af88/

---
 .../0001-linuxthreads-add-back-signal.h.patch      | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 package/uclibc/0001-linuxthreads-add-back-signal.h.patch
package/uclibc/0001-linuxthreads-add-back-signal.h.patch new file +28 -0
new file mode 100644
index 0000000..1a957c5
@@ -0,0 +1,28 @@
+From 543308f6c46cf2edf8a524bc9c631e472570fe72 Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <[email protected]>
+Date: Mon, 24 Oct 2016 05:15:07 +0200
+Subject: [PATCH] linuxthreads: add back signal.h
+
+Somehow this got removed with f1d7505e40654a185843bdc8f1cf1fd00ab55c04.
+
+Reported-by: Thomas Petazzoni <[email protected]>
+Signed-off-by: Waldemar Brodkorb <[email protected]>
+---
+ libpthread/linuxthreads/sysdeps/pthread/pthread.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libpthread/linuxthreads/sysdeps/pthread/pthread.h b/libpthread/linuxthreads/sysdeps/pthread/pthread.h
+index cf043b5..cc13a52 100644
+--- a/libpthread/linuxthreads/sysdeps/pthread/pthread.h
++++ b/libpthread/linuxthreads/sysdeps/pthread/pthread.h
+@@ -20,6 +20,7 @@
+ #include <sched.h>
+ #include <time.h>
+ 
++#include <signal.h>
+ #include <bits/pthreadtypes.h>
+ #include <bits/initspin.h>
+ 
+-- 
+2.1.4
+
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 uclibc: fix pthread.h

Hello,

Quoted 11 lines · Waldemar Brodkorb

Fixes:
bfin: http://autobuild.buildroot.net/results/fbf/fbf63bbe0974b490b875a95fb930ba601364b85a/
m68k: http://autobuild.buildroot.net/results/cc9/cc9b87c4c695f97a056cc53f19e7662750dffeff/
microblazeel: http://autobuild.buildroot.net/results/941/941c06e29f6542e258f20799dc6f3f94b2f8af88/

---
 .../0001-linuxthreads-add-back-signal.h.patch      | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 package/uclibc/0001-linuxthreads-add-back-signal.h.patch

Applied to master, thanks. I've already started rebuilding the m68k, microblaze and blackfin toolchains with this fix.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com