Enable PTHREADS_DEBUG_SUPPORT on all uClibc builds
PATCH 1/1 Enable PTHREADS_DEBUG_SUPPORT on all uClibc builds
As has been reported, building uClibc with PTHREADS_DEBUG_SUPPORT=n means that task-sdk-bare won't install due to missing uclibc-thread-db. The following enables it everywhere it was disabled and bumps PRs. This should be fine given that we already have separate debug packages and the extra files end up in an additional package.
recipes/uclibc/uclibc-0.9.27/wrt54/uClibc.config +1 -1
@@ -63,7 +63,7 @@ LDSO_BASE_FILENAME="ld.so" UCLIBC_CTOR_DTOR=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y UCLIBC_HAS_LFS=y # MALLOC is not set # MALLOC_SIMPLE is not set
recipes/uclibc/uclibc-0.9.28/avr32/uClibc.config +1 -1
@@ -63,7 +63,7 @@ LDSO_RUNPATH=y UCLIBC_CTOR_DTOR=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y UCLIBC_HAS_LFS=y UCLIBC_STATIC_LDCONFIG=y # MALLOC is not set
recipes/uclibc/uclibc-0.9.28/wrt54/uClibc.config +1 -1
@@ -66,7 +66,7 @@ LDSO_RUNPATH=y UCLIBC_CTOR_DTOR=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y UCLIBC_HAS_LFS=y UCLIBC_STATIC_LDCONFIG=y # MALLOC is not set
recipes/uclibc/uclibc-0.9.29/bfin/uClibc.machine +1 -1
@@ -73,7 +73,7 @@ LDSO_RUNPATH=y UCLIBC_CTOR_DTOR=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y LINUXTHREADS_OLD=y UCLIBC_HAS_LFS=y MALLOC=y
recipes/uclibc/uclibc-0.9.30.1/bfin/uClibc.machine +1 -1
@@ -73,7 +73,7 @@ LDSO_RUNPATH=y UCLIBC_CTOR_DTOR=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y LINUXTHREADS_OLD=y UCLIBC_HAS_LFS=y MALLOC=y
recipes/uclibc/uclibc-0.9.30.1/uClibc.distro +1 -1
@@ -17,7 +17,7 @@ UCLIBC_CTOR_DTOR=y LDSO_GNU_HASH_SUPPORT=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y LINUXTHREADS_OLD=y UCLIBC_HAS_LFS=y # MALLOC is not set
recipes/uclibc/uclibc-0.9.30/bfin/uClibc.machine +1 -1
@@ -73,7 +73,7 @@ LDSO_RUNPATH=y UCLIBC_CTOR_DTOR=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y LINUXTHREADS_OLD=y UCLIBC_HAS_LFS=y MALLOC=y
recipes/uclibc/uclibc-0.9.30/uClibc.distro +1 -1
@@ -17,7 +17,7 @@ UCLIBC_CTOR_DTOR=y LDSO_GNU_HASH_SUPPORT=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y LINUXTHREADS_OLD=y UCLIBC_HAS_LFS=y # MALLOC is not set
recipes/uclibc/uclibc-nptl/uClibc.distro +1 -1
@@ -18,7 +18,7 @@ LDSO_GNU_HASH_SUPPORT=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y UCLIBC_HAS_THREADS_NATIVE=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y # LINUXTHREADS_OLD is not set UCLIBC_HAS_LFS=y # MALLOC is not set
recipes/uclibc/uclibc-svn/uClibc.distro +1 -1
@@ -17,7 +17,7 @@ UCLIBC_CTOR_DTOR=y LDSO_GNU_HASH_SUPPORT=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y LINUXTHREADS_OLD=y UCLIBC_HAS_LFS=y # MALLOC is not set
recipes/uclibc/uclibc_0.9.27.bb +1 -1
@@ -1,5 +1,5 @@ DEFAULT_PREFERENCE = "1" -PR = "r12" +PR = "r13" require uclibc.inc
recipes/uclibc/uclibc_0.9.28.bb +1 -1
@@ -1,5 +1,5 @@ DEFAULT_PREFERENCE = "1" -PR = "r17" +PR = "r18" require uclibc.inc
recipes/uclibc/uclibc_0.9.29.bb +1 -1
@@ -7,7 +7,7 @@ # on whether the base patches apply to the selected (SRCDATE) svn release. # UCLIBC_BASE ?= "0.9.29" -PR = "r30" +PR = "r31" require uclibc.inc
recipes/uclibc/uclibc_0.9.30.1.bb +1 -1
@@ -7,7 +7,7 @@ # on whether the base patches apply to the selected (SRCDATE) svn release. # UCLIBC_BASE ?= "0.9.30.1" -PR = "r1" +PR = "r2" DEFAULT_PREFERENCE = "1" require uclibc.inc
recipes/uclibc/uclibc_0.9.30.bb +1 -1
@@ -7,7 +7,7 @@ # on whether the base patches apply to the selected (SRCDATE) svn release. # UCLIBC_BASE ?= "0.9.30" -PR = "r6" +PR = "r7" DEFAULT_PREFERENCE = "1" require uclibc.inc
recipes/uclibc/uclibc_svn.bb +1 -1
@@ -8,7 +8,7 @@ # UCLIBC_BASE ?= "0.9.30" PV = "${UCLIBC_BASE}+svnr${SRCREV}" -PR = "r0" +PR = "r1" #DEFAULT_PREFERENCE = "2" #DEFAULT_PREFERENCE is 0 (empty), releases have a preference of 1 so take # precedence.
Signature · 1 line
Tom Rini
Quoted 7 lines · Tom Rini
As has been reported, building uClibc with PTHREADS_DEBUG_SUPPORT=n means that task-sdk-bare won't install due to missing uclibc-thread-db. The following enables it everywhere it was disabled and bumps PRs. This should be fine given that we already have separate debug packages and the extra files end up in an additional package.
Signed-off-by Tom Rini<[email protected]>
Quoted 206 lines
recipes/uclibc/uclibc-0.9.27/wrt54/uClibc.config +1
-1@@ -63,7 +63,7 @@ LDSO_BASE_FILENAME="ld.so" UCLIBC_CTOR_DTOR=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y UCLIBC_HAS_LFS=y # MALLOC is not set # MALLOC_SIMPLE is not setrecipes/uclibc/uclibc-0.9.28/avr32/uClibc.config +1
-1@@ -63,7 +63,7 @@ LDSO_RUNPATH=y UCLIBC_CTOR_DTOR=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y UCLIBC_HAS_LFS=y UCLIBC_STATIC_LDCONFIG=y # MALLOC is not setrecipes/uclibc/uclibc-0.9.28/wrt54/uClibc.config +1
-1@@ -66,7 +66,7 @@ LDSO_RUNPATH=y UCLIBC_CTOR_DTOR=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y UCLIBC_HAS_LFS=y UCLIBC_STATIC_LDCONFIG=y # MALLOC is not setrecipes/uclibc/uclibc-0.9.29/bfin/uClibc.machine +1
-1@@ -73,7 +73,7 @@ LDSO_RUNPATH=y UCLIBC_CTOR_DTOR=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y LINUXTHREADS_OLD=y UCLIBC_HAS_LFS=y MALLOC=yrecipes/uclibc/uclibc-0.9.30.1/bfin/uClibc.machine +1
-1@@ -73,7 +73,7 @@ LDSO_RUNPATH=y UCLIBC_CTOR_DTOR=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y LINUXTHREADS_OLD=y UCLIBC_HAS_LFS=y MALLOC=yrecipes/uclibc/uclibc-0.9.30.1/uClibc.distro +1
-1@@ -17,7 +17,7 @@ UCLIBC_CTOR_DTOR=y LDSO_GNU_HASH_SUPPORT=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y LINUXTHREADS_OLD=y UCLIBC_HAS_LFS=y # MALLOC is not setrecipes/uclibc/uclibc-0.9.30/bfin/uClibc.machine +1
-1@@ -73,7 +73,7 @@ LDSO_RUNPATH=y UCLIBC_CTOR_DTOR=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y LINUXTHREADS_OLD=y UCLIBC_HAS_LFS=y MALLOC=yrecipes/uclibc/uclibc-0.9.30/uClibc.distro +1
-1@@ -17,7 +17,7 @@ UCLIBC_CTOR_DTOR=y LDSO_GNU_HASH_SUPPORT=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y LINUXTHREADS_OLD=y UCLIBC_HAS_LFS=y # MALLOC is not setrecipes/uclibc/uclibc-nptl/uClibc.distro +1
-1@@ -18,7 +18,7 @@ LDSO_GNU_HASH_SUPPORT=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y UCLIBC_HAS_THREADS_NATIVE=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y # LINUXTHREADS_OLD is not set UCLIBC_HAS_LFS=y # MALLOC is not setrecipes/uclibc/uclibc-svn/uClibc.distro +1
-1@@ -17,7 +17,7 @@ UCLIBC_CTOR_DTOR=y LDSO_GNU_HASH_SUPPORT=y # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set +PTHREADS_DEBUG_SUPPORT=y LINUXTHREADS_OLD=y UCLIBC_HAS_LFS=y # MALLOC is not setrecipes/uclibc/uclibc_0.9.27.bb +1
-1@@ -1,5 +1,5 @@ DEFAULT_PREFERENCE = "1" -PR = "r12" +PR = "r13" require uclibc.increcipes/uclibc/uclibc_0.9.28.bb +1
-1@@ -1,5 +1,5 @@ DEFAULT_PREFERENCE = "1" -PR = "r17" +PR = "r18" require uclibc.increcipes/uclibc/uclibc_0.9.29.bb +1
-1@@ -7,7 +7,7 @@ # on whether the base patches apply to the selected (SRCDATE) svn release. # UCLIBC_BASE ?= "0.9.29" -PR = "r30" +PR = "r31" require uclibc.increcipes/uclibc/uclibc_0.9.30.1.bb +1
-1@@ -7,7 +7,7 @@ # on whether the base patches apply to the selected (SRCDATE) svn release. # UCLIBC_BASE ?= "0.9.30.1" -PR = "r1" +PR = "r2" DEFAULT_PREFERENCE = "1" require uclibc.increcipes/uclibc/uclibc_0.9.30.bb +1
-1@@ -7,7 +7,7 @@ # on whether the base patches apply to the selected (SRCDATE) svn release. # UCLIBC_BASE ?= "0.9.30" -PR = "r6" +PR = "r7" DEFAULT_PREFERENCE = "1" require uclibc.increcipes/uclibc/uclibc_svn.bb +1
-1@@ -8,7 +8,7 @@ # UCLIBC_BASE ?= "0.9.30" PV = "${UCLIBC_BASE}+svnr${SRCREV}" -PR = "r0" +PR = "r1" #DEFAULT_PREFERENCE = "2" #DEFAULT_PREFERENCE is 0 (empty), releases have a preference of 1 so take # precedence.
Khem Raj
Acked-byQuoted 10 lines · Koen Kooi
Quoted 7 lines · Tom Rini
As has been reported, building uClibc with PTHREADS_DEBUG_SUPPORT=n means that task-sdk-bare won't install due to missing uclibc-thread-db. The following enables it everywhere it was disabled and bumps PRs. This should be fine given that we already have separate debug packages and the extra files end up in an additional package.
Signed-off-by Tom Rini<[email protected]>Acked-by Koen Kooi <[email protected]>
You should also bump PR for uclibc_nptl recipe.
Quoted 1 line · Tom Rini
As has been reported, building uClibc with PTHREADS_DEBUG_SUPPORT=n
Quoted 5 lines · Tom Rini
As has been reported, building uClibc with PTHREADS_DEBUG_SUPPORT=n means that task-sdk-bare won't install due to missing uclibc-thread-db. The following enables it everywhere it was disabled and bumps PRs. This should be fine given that we already have separate debug packages and the extra files end up in an additional package.
wogline had a bit of a concern on IRC, so some grepping in 0.9.{27,28,29} (I had checked 30 before) shows that really all that changes is that libpthread is built so that libpthread_db is used for debugging (and thus some debug stuff, that we would have end up in the -dbg packages anyhow) ends up in a different file.
Signature · 1 line
Tom Rini