uclibc: Upgrade to tip of master
PATCH v2 1/1 uclibc: Upgrade to tip of master
Drop upstreamed patches convert the rest to git am'able patches
Signed-off-by Khem Raj <[email protected]>
---
meta/recipes-core/uclibc/uclibc-git.inc | 36 +-
.../0001-Add-eventfd_read-and-eventfd_write.patch | 120 ---
...IPTOS_CLASS_-macros-according-to-RFC-2474.patch | 75 --
.../0001-Disable-lrount_tes-function.patch | 37 +
...nt.c-wtent.c-move-functions-from-utxent.c.patch | 319 --------
...1-atexit_old-Do-not-add-it-to-shared-libc.patch | 44 -
...brt-Use-nodefaultlibs-instead-of-nostdlib.patch | 33 -
...-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch | 28 -
...rk-Hide-pthread_atfork-in-shared-versions.patch | 74 --
.../uclibc-git/0001-timex-Sync-with-glibc.patch | 33 -
...Add-implementation-for-copysignl-for-ppc.patch} | 32 +-
.../uclibc-git/0002-wire-setns-syscall.patch | 68 --
...rt.patch => 0003-Add-argp-implementation.patch} | 911 +++++++++++++++++----
...t-localised-optimizations-this-helps-to-h.patch | 30 +
.../0005-Always-use-O2-for-compiling-fork.c.patch | 33 +
...ldso-limited-support-for-ORIGIN-in-rpath.patch} | 13 +-
...rk-Hide-pthread_atfork-in-shared-versions.patch | 35 +
.../uclibc/uclibc-git/argp-headers.patch | 583 -------------
.../uclibc-git/compile-arm-fork-with-O2.patch | 21 -
.../ldso-mark-_dl_exit-as-noreturn.patch | 48 --
.../uclibc-git/remove_attribute_optimize_Os.patch | 19 -
.../uclibc-git/uclibc_enable_log2_test.patch | 35 -
meta/recipes-core/uclibc/uclibc.inc | 2 +-
23 files changed, 944 insertions(+), 1685 deletions(-)
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-Add-eventfd_read-and-eventfd_write.patch
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-Define-IPTOS_CLASS_-macros-according-to-RFC-2474.patch
create mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-Disable-lrount_tes-function.patch
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-Revert-utent.c-wtent.c-move-functions-from-utxent.c.patch
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-atexit_old-Do-not-add-it-to-shared-libc.patch
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-librt-Use-nodefaultlibs-instead-of-nostdlib.patch
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-nptl-arm-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch
rename meta/recipes-core/uclibc/uclibc-git/{powerpc_copysignl.patch => 0002-Add-implementation-for-copysignl-for-ppc.patch} (73%)
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/0002-wire-setns-syscall.patch
rename meta/recipes-core/uclibc/uclibc-git/{argp-support.patch => 0003-Add-argp-implementation.patch} (84%)
create mode 100644 meta/recipes-core/uclibc/uclibc-git/0004-Dont-support-localised-optimizations-this-helps-to-h.patch
create mode 100644 meta/recipes-core/uclibc/uclibc-git/0005-Always-use-O2-for-compiling-fork.c.patch
rename meta/recipes-core/uclibc/uclibc-git/{0001-ldso-limited-support-for-ORIGIN-in-rpath.patch => 0006-ldso-limited-support-for-ORIGIN-in-rpath.patch} (96%)
create mode 100644 meta/recipes-core/uclibc/uclibc-git/0007-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/argp-headers.patch
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/compile-arm-fork-with-O2.patch
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/ldso-mark-_dl_exit-as-noreturn.patch
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch
delete mode 100644 meta/recipes-core/uclibc/uclibc-git/uclibc_enable_log2_test.patchmeta/recipes-core/uclibc/uclibc-git.inc +13 -23
@@ -1,30 +1,20 @@ -SRCREV = "48a0006012679ff0eda6f256da958d73a924fb57" +SRCREV = "ca1c74d67dd115d059a875150e10b8560a9c35a8" PV = "0.9.33+git${SRCPV}" FILESEXTRAPATHS =. "${FILE_DIRNAME}/uclibc-git:" SRC_URI = "git://uclibc.org/uClibc.git;branch=master \ - file://uClibc.machine \ - file://uClibc.distro \ - file://obstack.cfg \ - file://locale.cfg \ - file://uclibc_enable_log2_test.patch \ - file://powerpc_copysignl.patch \ - file://argp-support.patch \ - file://argp-headers.patch \ - file://remove_attribute_optimize_Os.patch \ - file://compile-arm-fork-with-O2.patch \ - file://0001-ldso-limited-support-for-ORIGIN-in-rpath.patch \ - file://0001-atexit_old-Do-not-add-it-to-shared-libc.patch \ - file://0001-nptl-arm-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch \ - file://0001-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch \ - file://0001-librt-Use-nodefaultlibs-instead-of-nostdlib.patch \ - file://0001-Revert-utent.c-wtent.c-move-functions-from-utxent.c.patch \ - file://0001-Add-eventfd_read-and-eventfd_write.patch \ - file://0002-wire-setns-syscall.patch \ - file://0001-Define-IPTOS_CLASS_-macros-according-to-RFC-2474.patch \ - file://0001-timex-Sync-with-glibc.patch \ - file://ldso-mark-_dl_exit-as-noreturn.patch \ - " + file://uClibc.machine \ + file://uClibc.distro \ + file://obstack.cfg \ + file://locale.cfg \ + file://0001-Disable-lrount_tes-function.patch \ + file://0002-Add-implementation-for-copysignl-for-ppc.patch \ + file://0003-Add-argp-implementation.patch \ + file://0004-Dont-support-localised-optimizations-this-helps-to-h.patch \ + file://0005-Always-use-O2-for-compiling-fork.c.patch \ + file://0006-ldso-limited-support-for-ORIGIN-in-rpath.patch \ + file://0007-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch \ +" S = "${WORKDIR}/git"
meta/recipes-core/uclibc/uclibc-git/0001-Add-eventfd_read-and-eventfd_write.patch deleted +0 -120
120 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-git/0001-Define-IPTOS_CLASS_-macros-according-to-RFC-2474.patch deleted +0 -75
75 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-git/0001-Disable-lrount_tes-function.patch new file +37 -0
@@ -0,0 +1,37 @@ +From 14b865b3438d0df29b4969148678d8fa8943e1ef Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Sun, 16 Aug 2015 20:49:33 -0700 +Subject: [PATCH 1/7] Disable lrount_tes() function + +Its not used anyway, avoids some strict compiler warnings + +Signed-off-by: Khem Raj <[email protected]> +--- +Upstream-Status: Pending + + test/math/libm-test.inc | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/test/math/libm-test.inc b/test/math/libm-test.inc +index f50b48b..6d70a95 100644 +--- a/test/math/libm-test.inc ++++ b/test/math/libm-test.inc +@@ -3470,7 +3470,6 @@ logb_test (void) + } + + +-#if 0 + static void + lround_test (void) + { +@@ -3605,7 +3604,6 @@ llround_test (void) + + END (llround); + } +-#endif + + static void + modf_test (void) +-- +2.1.4 +
meta/recipes-core/uclibc/uclibc-git/0001-Revert-utent.c-wtent.c-move-functions-from-utxent.c.patch deleted +0 -319
319 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-git/0001-atexit_old-Do-not-add-it-to-shared-libc.patch deleted +0 -44
44 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-git/0001-librt-Use-nodefaultlibs-instead-of-nostdlib.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 95f9b6f37152b8316735d3c86c0db963ff59e22d Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Sat, 23 Jun 2012 16:51:52 -0700 -Subject: [PATCH] librt: Use -nodefaultlibs instead of -nostdlib - -nostdlib disables linking in startup files too which is not -what we want here since it needs to resolve __dso_handle -which comes from crtbeginS.o, otherwise librt has this -undefined reference to a weak undefined __dso_handle that -shows up as error (with gold linker) -when shared libraries are being built which are -linking in librt - -Signed-off-by: Khem Raj <[email protected]> -Upstream-Status: Pending ---- - librt/Makefile.in | 1 + - 1 file changed, 1 insertion(+) - -Index: git/librt/Makefile.in -=================================================================== ---- git.orig/librt/Makefile.in 2012-06-24 10:32:59.512653237 -0700 -+++ git/librt/Makefile.in 2012-06-24 11:31:00.660821666 -0700 -@@ -15,6 +15,9 @@ - ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y) - LIBS-librt.so += $(top_builddir)lib/libdl.so $(top_builddir)lib/libpthread.so - endif -+START_FILE-librt.so := $(SHARED_START_FILES) -+END_FILE-librt.so := $(SHARED_END_FILES) -+ - - librt_FULL_NAME := librt-$(VERSION).so -
meta/recipes-core/uclibc/uclibc-git/0001-nptl-arm-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From 714f543f4fa8fb3911449b6ce1517481359e0cff Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Sat, 23 Jun 2012 14:21:17 -0700 -Subject: [PATCH] nptl/arm: Move aeabi_read_tp to uclibc_nonshared.a - -Otherwise it creates wrong references from shared libs - -Signed-off-by: Khem Raj <[email protected]> -Upstream-Status: Pending ---- - libc/sysdeps/linux/arm/Makefile.arch | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -Index: git/libc/sysdeps/linux/arm/Makefile.arch -=================================================================== ---- git.orig/libc/sysdeps/linux/arm/Makefile.arch 2013-05-23 11:13:32.000000000 -0700 -+++ git/libc/sysdeps/linux/arm/Makefile.arch 2013-05-23 11:16:18.304333131 -0700 -@@ -13,7 +13,9 @@ - vfork.S clone.S - - SSRC-$(UCLIBC_HAS_LFS) += mmap64.S --SSRC-$(UCLIBC_HAS_THREADS_NATIVE) += libc-aeabi_read_tp.S libc-thumb_atomics.S -+SSRC-$(UCLIBC_HAS_THREADS_NATIVE) += libc-thumb_atomics.S -+libc-nonshared-$(UCLIBC_HAS_THREADS_NATIVE) += $(ARCH_OUT)/libc-aeabi_read_tp.os -+libc-static-$(UCLIBC_HAS_THREADS_NATIVE) += $(ARCH_OUT)/libc-aeabi_read_tp.o - CSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += makecontext.c - SSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += getcontext.S setcontext.S swapcontext.S -
meta/recipes-core/uclibc/uclibc-git/0001-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch deleted +0 -74
74 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From f489cc44a209f6c4370e94c9c788fc9cc4820be1 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Mon, 25 Aug 2014 16:22:57 -0700 -Subject: [PATCH] timex: Sync with glibc - -Signed-off-by: Khem Raj <[email protected]> -Upstream-status: Pending ---- - include/sys/timex.h | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/include/sys/timex.h b/include/sys/timex.h -index 9082a28..57059bd 100644 ---- a/include/sys/timex.h -+++ b/include/sys/timex.h -@@ -67,8 +67,12 @@ struct timex - #define ADJ_ESTERROR 0x0008 /* estimated time error */ - #define ADJ_STATUS 0x0010 /* clock status */ - #define ADJ_TIMECONST 0x0020 /* pll time constant */ --#define ADJ_TICK 0x4000 /* tick value */ --#define ADJ_OFFSET_SINGLESHOT 0x8001 /* old-fashioned adjtime */ -+#define ADJ_TAI 0x0080 /* set TAI offset */ -+#define ADJ_MICRO 0x1000 /* select microsecond resolution */ -+#define ADJ_NANO 0x2000 /* select nanosecond resolution */ -+#define ADJ_TICK 0x4000 /* tick value */ -+#define ADJ_OFFSET_SINGLESHOT 0x8001 /* old-fashioned adjtime */ -+#define ADJ_OFFSET_SS_READ 0xa001 /* read-only adjtime */ - - /* xntp 3.4 compatibility names */ - #define MOD_OFFSET ADJ_OFFSET --- -2.1.0 -
meta/recipes-core/uclibc/uclibc-git/0002-Add-implementation-for-copysignl-for-ppc.patch renamed from meta/recipes-core/uclibc/uclibc-git/powerpc_copysignl.patch +22 -10
@@ -1,13 +1,21 @@ -Add ppc copysignl implementation +From 5d362074e5975b150a35bcfa77eab1bfa4e30de7 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Sun, 16 Aug 2015 20:50:56 -0700 +Subject: [PATCH 2/7] Add implementation for copysignl for ppc +Signed-off-by: Khem Raj <[email protected]> +--- Upstream-Status: Pending -Signed-off-by: Khem Raj <[email protected]> + libc/sysdeps/linux/powerpc/Makefile.arch | 2 +- + libc/sysdeps/linux/powerpc/copysignl.c | 89 ++++++++++++++++++++++++++++++++ + 2 files changed, 90 insertions(+), 1 deletion(-) + create mode 100644 libc/sysdeps/linux/powerpc/copysignl.c -Index: git/libc/sysdeps/linux/powerpc/Makefile.arch -=================================================================== ---- git.orig/libc/sysdeps/linux/powerpc/Makefile.arch 2013-05-23 11:09:50.000000000 -0700 -+++ git/libc/sysdeps/linux/powerpc/Makefile.arch 2013-05-23 11:12:06.072328399 -0700 +diff --git a/libc/sysdeps/linux/powerpc/Makefile.arch b/libc/sysdeps/linux/powerpc/Makefile.arch +index 4fbcb11..7c09c87 100644 +--- a/libc/sysdeps/linux/powerpc/Makefile.arch ++++ b/libc/sysdeps/linux/powerpc/Makefile.arch @@ -5,7 +5,7 @@ # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. #
@@ -17,10 +25,11 @@ Index: git/libc/sysdeps/linux/powerpc/Makefile.arch SSRC-y := \ __longjmp.S setjmp.S bsd-setjmp.S bsd-_setjmp.S brk.S \ -Index: git/libc/sysdeps/linux/powerpc/copysignl.c -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ git/libc/sysdeps/linux/powerpc/copysignl.c 2013-05-23 11:11:37.600327865 -0700 +diff --git a/libc/sysdeps/linux/powerpc/copysignl.c b/libc/sysdeps/linux/powerpc/copysignl.c +new file mode 100644 +index 0000000..000f653 +--- /dev/null ++++ b/libc/sysdeps/linux/powerpc/copysignl.c @@ -0,0 +1,89 @@ +/* s_copysignl.c -- long double version of s_copysign.c. + * Conversion to long double by Ulrich Drepper,
@@ -111,3 +120,6 @@ Index: git/libc/sysdeps/linux/powerpc/copysignl.c +} + +libc_hidden_def(copysignl); +-- +2.1.4 +
meta/recipes-core/uclibc/uclibc-git/0002-wire-setns-syscall.patch deleted +0 -68
68 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-git/0003-Add-argp-implementation.patch renamed from meta/recipes-core/uclibc/uclibc-git/argp-support.patch +765 -146
1,145 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-git/0004-Dont-support-localised-optimizations-this-helps-to-h.patch new file +30 -0
@@ -0,0 +1,30 @@ +From 31785c544abe8b215dbb2264fb11ee7051515797 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Sun, 16 Aug 2015 20:58:59 -0700 +Subject: [PATCH 4/7] Dont support localised optimizations this helps to have a + global -O level + +Signed-off-by: Khem Raj <[email protected]> +--- +Upstream-Status: Pending + + libpthread/nptl/pthread_mutex_timedlock.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/libpthread/nptl/pthread_mutex_timedlock.c b/libpthread/nptl/pthread_mutex_timedlock.c +index 04187f6..f56f6c5 100644 +--- a/libpthread/nptl/pthread_mutex_timedlock.c ++++ b/libpthread/nptl/pthread_mutex_timedlock.c +@@ -28,7 +28,9 @@ + * error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ + */ + int ++#ifndef __OPTIMIZE__ + attribute_optimize("Os") ++#endif + pthread_mutex_timedlock ( + pthread_mutex_t *mutex, + const struct timespec *abstime) +-- +2.1.4 +
meta/recipes-core/uclibc/uclibc-git/0005-Always-use-O2-for-compiling-fork.c.patch new file +33 -0
@@ -0,0 +1,33 @@ +From 883debc22e30a947fe5858cc07ee5aebd3d07a2e Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Sun, 16 Aug 2015 20:59:56 -0700 +Subject: [PATCH 5/7] Always use -O2 for compiling fork.c + +When compiling in thumb mode for arm with -Os gcc gives up since it can +not find registers to spill. So we use -O2 option for compiling fork.c +It may be addressable in gcc. + +Signed-off-by: Khem Raj <[email protected]> +--- +Upstream-Status: Pending + + libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch +index 0ea0b29..0767e9c 100644 +--- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch ++++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch +@@ -21,3 +21,9 @@ ASFLAGS-pt-vfork.S = -marm + CFLAGS-OMIT-pt-vfork.S = -mthumb + ASFLAGS-vfork.S = -marm + CFLAGS-OMIT-vfork.S = -mthumb ++ ++# For arm fork.c does not compile with -Os when compiling ++# in thumb1 mode ++ifeq ($(COMPILE_IN_THUMB_MODE),y) ++CFLAGS-fork.c = -O2 ++endif +-- +2.1.4 +
meta/recipes-core/uclibc/uclibc-git/0006-ldso-limited-support-for-ORIGIN-in-rpath.patch renamed from meta/recipes-core/uclibc/uclibc-git/0001-ldso-limited-support-for-ORIGIN-in-rpath.patch +8 -5
@@ -1,7 +1,7 @@ -From 32eaf738faafad2b16e1f3f5beb91736b3c27a3b Mon Sep 17 00:00:00 2001 +From b40c129ed2d53b69463883a5422dd4a012a398f9 Mon Sep 17 00:00:00 2001 From: Junling Zheng <[email protected]> Date: Fri, 3 Apr 2015 05:02:27 +0000 -Subject: [PATCH] ldso: limited support for $ORIGIN in rpath +Subject: [PATCH 6/7] ldso: limited support for $ORIGIN in rpath MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
@@ -26,7 +26,10 @@ Upstream-Status: Submitted Signed-off-by: Timo Teräs <timo.teras at iki.fi> Signed-off-by: Junling Zheng <[email protected]> +Signed-off-by: Khem Raj <[email protected]> --- +Upstream-Status: Pending + ldso/include/dl-string.h | 2 ++ ldso/ldso/dl-elf.c | 79 +++++++++++++++++++++++++----------------------- ldso/ldso/ldso.c | 18 +++++++++--
@@ -47,7 +50,7 @@ index aacad10..14ae617 100644 # define _dl_memcmp memcmp # define _dl_memset memset diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c -index 1b06bc1..b323c90 100644 +index 5631905..6ab7afe 100644 --- a/ldso/ldso/dl-elf.c +++ b/ldso/ldso/dl-elf.c @@ -133,56 +133,60 @@ _dl_protect_relro (struct elf_resolve *l)
@@ -190,7 +193,7 @@ index 1b06bc1..b323c90 100644 return tpnt1; diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c -index 5619629..73bcc41 100644 +index f38f9e3..3812908 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -402,6 +402,20 @@ static ptrdiff_t _dl_build_local_scope (struct elf_resolve **list,
@@ -226,5 +229,5 @@ index 5619629..73bcc41 100644 #ifdef __DSBT__ _dl_ldso_dsbt = (void *)tpnt->dynamic_info[DT_DSBT_BASE_IDX]; -- -1.8.3.4 +2.1.4
meta/recipes-core/uclibc/uclibc-git/0007-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch new file +35 -0
@@ -0,0 +1,35 @@ +From 90516af9f776f9c2835b47fc52775dcb307a85ac Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Sat, 23 Jun 2012 15:59:01 -0700 +Subject: [PATCH 7/7] nptl/atfork: Hide pthread_atfork in shared versions + +Signed-off-by: Khem Raj <[email protected]> +Upstream-Status: Pending +--- + libpthread/nptl/Makefile.in | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/libpthread/nptl/Makefile.in b/libpthread/nptl/Makefile.in +index 55eeba2..8cb8fa9 100644 +--- a/libpthread/nptl/Makefile.in ++++ b/libpthread/nptl/Makefile.in +@@ -16,6 +16,7 @@ libc-shared-routines-y = forward.c libc-cancellation.c + libc-static-routines-y = alloca_cutoff.c libc-cancellation.c + libpthread-shared-only-routines-y = version.c + libpthread-static-only-routines-y = pthread_atfork.c ++ + libpthread-routines- += $(notdir $(wildcard $(libpthread_DIR)/gen_*.c)) # dummy generated files + libpthread-routines- += allocatestack.c # dummy included by pthread_create.c + libpthread-routines- += pthread_mutex_getprioceiling.c pthread_mutex_setprioceiling.c # XXX: delete those or use them! +@@ -201,7 +202,7 @@ CFLAGS-msgsnd.c = -fexceptions -fasynchronous-unwind-tables + CFLAGS-tcdrain.c = -fexceptions -fasynchronous-unwind-tables + + CFLAGS-pt-system.c = -fexceptions -I$(top_srcdir)libc/stdlib +- ++CFLAGS-pthread_atfork.c = -DNOT_IN_libc + # + # The rest of this file is uClibc specific. + # +-- +2.1.4 +
meta/recipes-core/uclibc/uclibc-git/argp-headers.patch deleted +0 -583
583 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-git/compile-arm-fork-with-O2.patch deleted +0 -21
@@ -1,21 +0,0 @@ -When compiling in thumb mode for arm with -Os gcc gives up since it can not find registers -to spill. So we use -O2 option for compiling fork.c It may be addressable in gcc. - -Signed-off-by: Khem Raj <[email protected]> - -Upstream-Status: Pending - -diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch -index 329d8a9..41e3646 100644 ---- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch -+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch -@@ -30,3 +30,9 @@ CFLAGS-OMIT-libc-lowlevellock.c = -DNOT_IN_libc -DIS_IN_libpthread - # This macro should be alternatively implemented in THUMB - # assembly. - ASFLAGS-vfork.S = -marm -+ -+# For arm fork.c does not compile with -Os when in compiling -+# in thumb1 mode -+ifeq ($(COMPILE_IN_THUMB_MODE),y) -+CFLAGS-fork.c = -O2 -+endif
meta/recipes-core/uclibc/uclibc-git/ldso-mark-_dl_exit-as-noreturn.patch deleted +0 -48
48 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch deleted +0 -19
@@ -1,19 +0,0 @@ -Dont support localised optimizations this helps to have a global -O level - -Signed-off-by: Khem Raj <[email protected]> -Upstream-Status: Pending - -Index: git/libpthread/nptl/pthread_mutex_timedlock.c -=================================================================== ---- git.orig/libpthread/nptl/pthread_mutex_timedlock.c 2014-08-25 10:58:06.000000000 -0700 -+++ git/libpthread/nptl/pthread_mutex_timedlock.c 2014-08-25 11:00:42.078242266 -0700 -@@ -28,7 +28,9 @@ - * error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ - */ - int -+#ifndef __OPTIMIZE__ - attribute_optimize("Os") -+#endif - pthread_mutex_timedlock ( - pthread_mutex_t *mutex, - const struct timespec *abstime)
meta/recipes-core/uclibc/uclibc-git/uclibc_enable_log2_test.patch deleted +0 -35
@@ -1,35 +0,0 @@ -uclibc now has log2 so enable the tests - -Signed-off-by: Khem Raj <[email protected]> -Upstream-Status: Pending - -Index: uClibc/test/math/libm-test.inc -=================================================================== ---- uClibc/test/math/libm-test.inc (revision 23784) -+++ uClibc/test/math/libm-test.inc (working copy) -@@ -3414,7 +3414,6 @@ - } - - --#if 0 - static void - log2_test (void) - { -@@ -3444,7 +3443,6 @@ - - END (log2); - } --#endif - - - static void -@@ -4967,9 +4965,7 @@ - log_test (); - log10_test (); - log1p_test (); --#if 0 - log2_test (); --#endif - logb_test (); - modf_test (); - ilogb_test ();
meta/recipes-core/uclibc/uclibc.inc +1 -1
@@ -21,7 +21,7 @@ PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:" TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}" # siteconfig.bbclass runs configure which needs a working compiler -# For the compiler to work we need a working libc yet libc isn't +# For the compiler to work we need a working libc yet libc isn't # in the sysroots directory at this point. This means the libc.so # linker script won't work as the --sysroot setting isn't correct. # Here we create a hacked up libc linker script and pass in the right
Signature · 1 line
2.1.4
meta/recipes-core/uclibc/uclibc-git.inc line 3
Quoted 4 lines · Khem Raj
meta/recipes-core/uclibc/uclibc-git.inc +1
-1-SRCREV = "48a0006012679ff0eda6f256da958d73a924fb57" +SRCREV = "ca1c74d67dd115d059a875150e10b8560a9c35a8" PV = "0.9.33+git${SRCPV}"
The latest upstream release is 0.9.33.2, please update PV.
Regards,
Alex