Update uclibc to latest git and drop 0.9.33
cover Update uclibc to latest git and drop 0.9.33
Tested booting on all supported qemu machines uclibc git is needed for supporting systemd reliably
The following changes since commit ff65497cd9a96d5ab49b16ba1f7e30a216ff4a42:
classes/insane: remove la2 check which no longer exists from ERROR_QA (2013-06-28 16:33:05 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/uclibc-update
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/uclibc-update
Khem Raj (3):
uclibc: Update to latest git/master version
uclibc: Remove 0.9.33 recipes
bison: Delete unused patch
meta/recipes-core/uclibc/uclibc-0.9.33.inc | 23 - .../uclibc/uclibc-0.9.33/argp-headers.patch | 583 --- .../uclibc/uclibc-0.9.33/argp-support.patch | 5192 -------------------- .../uclibc-0.9.33/compile-arm-fork-with-O2.patch | 21 - .../uclibc-0.9.33/define-MSG_CMSG_CLOEXEC.patch | 25 - meta/recipes-core/uclibc/uclibc-0.9.33/dup3.patch | 37 - ...so_use_arm_dl_linux_resolve_in_thumb_mode.patch | 27 - .../libc_symbols_include_bits_uclibc_config.patch | 23 - .../uclibc/uclibc-0.9.33/mount.h-update.patch | 83 - .../uclibc/uclibc-0.9.33/orign_path.patch | 185 - .../uclibc/uclibc-0.9.33/posix_fallocate.patch | 407 -- .../uclibc/uclibc-0.9.33/powerpc_copysignl.patch | 113 - .../remove_attribute_optimize_Os.patch | 179 - .../uclibc/uclibc-0.9.33/uClibc.distro | 190 - .../uclibc/uclibc-0.9.33/uClibc.machine | 14 - .../uclibc/uclibc-0.9.33/uclibc-execvpe.patch | 163 - .../uclibc-0.9.33/uclibc_enable_log2_test.patch | 35 - meta/recipes-core/uclibc/uclibc-config.inc | 12 + meta/recipes-core/uclibc/uclibc-git.inc | 8 +- .../0001-add-posix_fadvise-for-arm.patch | 68 + .../0001-i386-sysdep.h-Remove-STABS_-macros.patch | 71 - ...-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch | 9 +- meta/recipes-core/uclibc/uclibc-git/locale.cfg | 3 + meta/recipes-core/uclibc/uclibc-git/obstack.cfg | 1 + .../uclibc/uclibc-git/powerpc_copysignl.patch | 10 +- meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb | 36 - meta/recipes-core/uclibc/uclibc.inc | 6 +- meta/recipes-core/uclibc/uclibc_0.9.33.bb | 22 - .../recipes-devtools/bison/bison/remove-gets.patch | 20 - 29 files changed, 102 insertions(+), 7464 deletions(-) delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33.inc delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/argp-headers.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/argp-support.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/compile-arm-fork-with-O2.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/define-MSG_CMSG_CLOEXEC.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/dup3.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/ldso_use_arm_dl_linux_resolve_in_thumb_mode.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/libc_symbols_include_bits_uclibc_config.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/mount.h-update.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/orign_path.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/posix_fallocate.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/powerpc_copysignl.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/remove_attribute_optimize_Os.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/uClibc.distro delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/uClibc.machine delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/uclibc-execvpe.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/uclibc_enable_log2_test.patch create mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-add-posix_fadvise-for-arm.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-i386-sysdep.h-Remove-STABS_-macros.patch create mode 100644 meta/recipes-core/uclibc/uclibc-git/locale.cfg create mode 100644 meta/recipes-core/uclibc/uclibc-git/obstack.cfg delete mode 100644 meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb delete mode 100644 meta/recipes-core/uclibc/uclibc_0.9.33.bb delete mode 100644 meta/recipes-devtools/bison/bison/remove-gets.patch
Signature · 1 line
1.7.9.5
PATCH 1/3 uclibc: Update to latest git/master version
Use kernel cfg management infra to manage kconfig
fragments.
Add fragments for locale and obstrack and enable them by default
Drop aplready applied patches
Drop DP = -1
--- meta/recipes-core/uclibc/uclibc-config.inc | 12 ++++ meta/recipes-core/uclibc/uclibc-git.inc | 8 +-- .../0001-add-posix_fadvise-for-arm.patch | 68 +++++++++++++++++++ .../0001-i386-sysdep.h-Remove-STABS_-macros.patch | 71 -------------------- ...-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch | 9 ++- meta/recipes-core/uclibc/uclibc-git/locale.cfg | 3 + meta/recipes-core/uclibc/uclibc-git/obstack.cfg | 1 + .../uclibc/uclibc-git/powerpc_copysignl.patch | 10 +-- meta/recipes-core/uclibc/uclibc.inc | 6 +- 9 files changed, 102 insertions(+), 86 deletions(-) create mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-add-posix_fadvise-for-arm.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-i386-sysdep.h-Remove-STABS_-macros.patch create mode 100644 meta/recipes-core/uclibc/uclibc-git/locale.cfg create mode 100644 meta/recipes-core/uclibc/uclibc-git/obstack.cfg
meta/recipes-core/uclibc/uclibc-config.inc +12 -0
@@ -1,3 +1,5 @@ +DEPENDS += "kern-tools-native" +inherit cml1 # # Set the ARCH environment variable for uClibc compilation. # Return value must match one of the architectures known to uClibc:
@@ -128,3 +130,13 @@ def features_to_uclibc_conf(d): def features_to_uclibc_del(d): cnf, rem = features_to_uclibc_settings(d) return rem + +# returns all the elements from the src uri that are .cfg files +def find_cfgs(d): + sources=src_patches(d, True) + sources_list=[] + for s in sources: + if s.endswith('.cfg'): + sources_list.append(s) + + return sources_list
meta/recipes-core/uclibc/uclibc-git.inc +4 -4
@@ -1,6 +1,4 @@ -SRCREV="946799cd0ce0c6c803c9cb173a84f4d607bde350" - -DEFAULT_PREFERENCE = "-1" +SRCREV="c2c684f88157f8bd0c236c7546f922fbf66b64a1" PV = "0.9.33+git${SRCPV}" PR = "${INC_PR}.4"
@@ -10,6 +8,8 @@ FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)}" SRC_URI = "git://uclibc.org/uClibc.git;branch=master;protocol=git \ 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 \
@@ -22,6 +22,6 @@ SRC_URI = "git://uclibc.org/uClibc.git;branch=master;protocol=git \ 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-i386-sysdep.h-Remove-STABS_-macros.patch \ + file://0001-add-posix_fadvise-for-arm.patch \ " S = "${WORKDIR}/git"
meta/recipes-core/uclibc/uclibc-git/0001-add-posix_fadvise-for-arm.patch new file +68 -0
68 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-git/0001-i386-sysdep.h-Remove-STABS_-macros.patch deleted +0 -71
71 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-git/0001-nptl-arm-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch +4 -5
@@ -13,9 +13,9 @@ Upstream-Status: Pending Index: git/libc/sysdeps/linux/arm/Makefile.arch =================================================================== ---- git.orig/libc/sysdeps/linux/arm/Makefile.arch 2013-03-25 19:48:48.000000000 -0700 -+++ git/libc/sysdeps/linux/arm/Makefile.arch 2013-03-25 19:51:57.496677771 -0700 -@@ -13,7 +13,10 @@ +--- 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
@@ -23,7 +23,6 @@ Index: git/libc/sysdeps/linux/arm/Makefile.arch +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_ADVANCED_REALTIME) += posix_fadvise.c CSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += makecontext.c SSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += getcontext.S setcontext.S swapcontext.S +
meta/recipes-core/uclibc/uclibc-git/locale.cfg new file +3 -0
@@ -0,0 +1,3 @@ +UCLIBC_HAS_LOCALE=y +UCLIBC_HAS_XLOCALE=y +UCLIBC_BUILD_MINIMAL_LOCALE=y
meta/recipes-core/uclibc/uclibc-git/obstack.cfg new file +1 -0
@@ -0,0 +1 @@ +UCLIBC_HAS_OBSTACK=y
meta/recipes-core/uclibc/uclibc-git/powerpc_copysignl.patch +5 -5
@@ -6,21 +6,21 @@ Signed-off-by: Khem Raj <[email protected]> Index: git/libc/sysdeps/linux/powerpc/Makefile.arch =================================================================== ---- git.orig/libc/sysdeps/linux/powerpc/Makefile.arch 2013-01-21 16:18:22.000000000 -0800 -+++ git/libc/sysdeps/linux/powerpc/Makefile.arch 2013-01-21 16:21:25.363552429 -0800 +--- 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 @@ -5,7 +5,7 @@ # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. # --CSRC-y := __syscall_error.c pread_write.c ioctl.c -+CSRC-y := __syscall_error.c pread_write.c ioctl.c copysignl.c +-CSRC-y := __syscall_error.c ioctl.c ++CSRC-y := __syscall_error.c ioctl.c copysignl.c 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-01-21 16:20:46.807552554 -0800 ++++ git/libc/sysdeps/linux/powerpc/copysignl.c 2013-05-23 11:11:37.600327865 -0700 @@ -0,0 +1,89 @@ +/* s_copysignl.c -- long double version of s_copysign.c. + * Conversion to long double by Ulrich Drepper,
meta/recipes-core/uclibc/uclibc.inc +5 -1
@@ -60,8 +60,10 @@ export V="2" CFLAGS_arm := "${@oe_filter_out('-fno-omit-frame-pointer', '${CFLAGS}', d)}" UCLIBC_EXTRA_CFLAGS := "${@oe_filter_out('(-I\S+|-i\S+)', '${CFLAGS}', d)}" UCLIBC_EXTRA_LDFLAGS := "${@oe_filter_out('(-L\S+|-l\S+)', '${LDFLAGS}', d)}" + do_compile_prepend () { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake pregen } configmangle = '/^KERNEL_HEADERS/d; \
@@ -146,8 +148,10 @@ do_configure() { # Mangle the resulting .config depending on OE variables sed -i -e '${configmangle}' ${S}/merged.config + cp ${S}/merged.config .config + merge_config.sh -r -n -m .config ${@" ".join(find_cfgs(d))} + cml1_do_configure - oe_runmake KCONFIG_ALLCONFIG=${S}/merged.config allnoconfig } do_install() {
Signature · 1 line
1.7.9.5
PATCH 2/3 uclibc: Remove 0.9.33 recipes
git recipes are stable enough and contains the fixes needed to run with modern systems e.g. systemd etc. Drop 0.9.33 We already use git as default.
--- meta/recipes-core/uclibc/uclibc-0.9.33.inc | 23 - .../uclibc/uclibc-0.9.33/argp-headers.patch | 583 --- .../uclibc/uclibc-0.9.33/argp-support.patch | 5192 -------------------- .../uclibc-0.9.33/compile-arm-fork-with-O2.patch | 21 - .../uclibc-0.9.33/define-MSG_CMSG_CLOEXEC.patch | 25 - meta/recipes-core/uclibc/uclibc-0.9.33/dup3.patch | 37 - ...so_use_arm_dl_linux_resolve_in_thumb_mode.patch | 27 - .../libc_symbols_include_bits_uclibc_config.patch | 23 - .../uclibc/uclibc-0.9.33/mount.h-update.patch | 83 - .../uclibc/uclibc-0.9.33/orign_path.patch | 185 - .../uclibc/uclibc-0.9.33/posix_fallocate.patch | 407 -- .../uclibc/uclibc-0.9.33/powerpc_copysignl.patch | 113 - .../remove_attribute_optimize_Os.patch | 179 - .../uclibc/uclibc-0.9.33/uClibc.distro | 190 - .../uclibc/uclibc-0.9.33/uClibc.machine | 14 - .../uclibc/uclibc-0.9.33/uclibc-execvpe.patch | 163 - .../uclibc-0.9.33/uclibc_enable_log2_test.patch | 35 - meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb | 36 - meta/recipes-core/uclibc/uclibc_0.9.33.bb | 22 - 19 files changed, 7358 deletions(-) delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33.inc delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/argp-headers.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/argp-support.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/compile-arm-fork-with-O2.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/define-MSG_CMSG_CLOEXEC.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/dup3.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/ldso_use_arm_dl_linux_resolve_in_thumb_mode.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/libc_symbols_include_bits_uclibc_config.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/mount.h-update.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/orign_path.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/posix_fallocate.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/powerpc_copysignl.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/remove_attribute_optimize_Os.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/uClibc.distro delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/uClibc.machine delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/uclibc-execvpe.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-0.9.33/uclibc_enable_log2_test.patch delete mode 100644 meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb delete mode 100644 meta/recipes-core/uclibc/uclibc_0.9.33.bb
meta/recipes-core/uclibc/uclibc-0.9.33.inc deleted +0 -23
@@ -1,23 +0,0 @@ -SRCREV = "fec308fdfaf9f557ef5fb17c308c48259012b825" - -PR = "${INC_PR}.3" - -SRC_URI = "git://uclibc.org/uClibc.git;branch=${PV};protocol=git \ - file://uClibc.machine \ - file://uClibc.distro \ - file://uclibc_enable_log2_test.patch \ - file://ldso_use_arm_dl_linux_resolve_in_thumb_mode.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://uclibc-execvpe.patch \ - file://orign_path.patch \ - file://dup3.patch \ - file://define-MSG_CMSG_CLOEXEC.patch \ - file://posix_fallocate.patch \ - file://mount.h-update.patch \ - " - -S = "${WORKDIR}/git"
meta/recipes-core/uclibc/uclibc-0.9.33/argp-headers.patch deleted +0 -583
583 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-0.9.33/argp-support.patch deleted +0 -5192
2,394 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-0.9.33/compile-arm-fork-with-O2.patch deleted +0 -21
Lines of this file are not shown. View the raw message.
meta/recipes-core/uclibc/uclibc-0.9.33/define-MSG_CMSG_CLOEXEC.patch deleted +0 -25
Lines of this file are not shown. View the raw message.
meta/recipes-core/uclibc/uclibc-0.9.33/dup3.patch deleted +0 -37
Lines of this file are not shown. View the raw message.
meta/recipes-core/uclibc/uclibc-0.9.33/ldso_use_arm_dl_linux_resolve_in_thumb_mode.patch deleted +0 -27
Lines of this file are not shown. View the raw message.
meta/recipes-core/uclibc/uclibc-0.9.33/libc_symbols_include_bits_uclibc_config.patch deleted +0 -23
Lines of this file are not shown. View the raw message.
meta/recipes-core/uclibc/uclibc-0.9.33/mount.h-update.patch deleted +0 -83
83 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-0.9.33/orign_path.patch deleted +0 -185
185 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-0.9.33/posix_fallocate.patch deleted +0 -407
407 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-0.9.33/powerpc_copysignl.patch deleted +0 -113
113 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-0.9.33/remove_attribute_optimize_Os.patch deleted +0 -179
179 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-0.9.33/uClibc.distro deleted +0 -190
190 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-0.9.33/uClibc.machine deleted +0 -14
Lines of this file are not shown. View the raw message.
meta/recipes-core/uclibc/uclibc-0.9.33/uclibc-execvpe.patch deleted +0 -163
163 lines not on this page · raw message
meta/recipes-core/uclibc/uclibc-0.9.33/uclibc_enable_log2_test.patch deleted +0 -35
Lines of this file are not shown. View the raw message.
meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb deleted +0 -36
Lines of this file are not shown. View the raw message.
meta/recipes-core/uclibc/uclibc_0.9.33.bb deleted +0 -22
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.9.5
Part of the diff is not shown here. View the raw message.
PATCH 3/3 bison: Delete unused patch
In reply to Khem Raj--- .../recipes-devtools/bison/bison/remove-gets.patch | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 meta/recipes-devtools/bison/bison/remove-gets.patch
meta/recipes-devtools/bison/bison/remove-gets.patch deleted +0 -20
@@ -1,20 +0,0 @@ -gets has been removed from eglibc 2.16 - -Signed-off-by: Khem Raj <[email protected]> - -Upstream-Status: Pending -Index: bison-2.5/lib/stdio.in.h -=================================================================== ---- bison-2.5.orig/lib/stdio.in.h 2012-07-04 09:09:48.336532195 -0700 -+++ bison-2.5/lib/stdio.in.h 2012-07-04 09:10:22.868533884 -0700 -@@ -180,8 +180,10 @@ - /* It is very rare that the developer ever has full control of stdin, - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ -+#if defined gets - #undef gets - _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); -+#endif - - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@
Signature · 1 line
1.7.9.5