Skip to contentSkip to conversation

eglibc 2.17 upgrade

RFC PATCH In review Khem Raj 5 participants 19 messages Jan 5, 2013 – Jan 16, 2013 Arm/actions semi architecture

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

cover eglibc 2.17 upgrade

I would like folks to try and test this upgrade. I have tested it on angstrom/systemd-image booted on all supported qemu images.

This is however now the final set since I have to put the 2.17 tars on downloads location

Please try it out in your configurations and let me know if you find issues.

The following changes since commit b693f6d3d48b281fbbf71fd56996c85e23c3a9c9:

freetype: update to 2.4.11 which includes fixes for CVE-2012-{5668, 5669, 5670} (2012-12-31 09:42:49 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.17
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.17

Khem Raj (3):
eglibc: Upgrade recipes 2.16 -> 2.17 eglibc_2.17: Fix Tibetian locale generation error
ofono: Fix build with eglibc 2.17

Noor Ahsan (1):
cairo: Adds libxext in X11DEPENDS.

 meta/conf/distro/include/tcmode-default.inc        |    2 +-
 .../ofono/ofono/missing-ssize_t.patch              |   23 ++
 meta/recipes-connectivity/ofono/ofono_1.12.bb      |    3 +-
 ...tive_2.16.bb => cross-localedef-native_2.17.bb} |   12 +-
 .../0001-Add-ARM-specific-static-stubs.c.patch     |   27 --
 ..._handle_at-open_by_handle-etc.-to-PowerPC.patch |   65 ----
 ...f-libgcc_s-and-libgcc_eh-when-building-gl.patch |  343 --------------------
 .../eglibc-2.16/use-sysroot-cxx-headers.patch      |   42 ---
 .../0001-R_ARM_TLS_DTPOFF32.patch                  |    0
 .../0001-eglibc-menuconfig-support.patch           |    0
 ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch |    0
 ...0002-eglibc-menuconfig-hex-string-options.patch |    0
 ...0003-eglibc-menuconfig-build-instructions.patch |    0
 .../GLRO_dl_debug_mask.patch                       |    0
 .../IO-acquire-lock-fix.patch                      |    0
 .../add_resource_h_to_wait_h.patch                 |    0
 .../eglibc-svn-arm-lowlevellock-include-tls.patch  |    0
 .../eglibc_fix_findidx_parameters.patch            |    0
 .../{eglibc-2.16 => eglibc-2.17}/etc/ld.so.conf    |    0
 .../fileops-without-wchar-io.patch                 |    0
 .../eglibc/eglibc-2.17/fix-tibetian-locales.patch  |   38 +++
 .../fix_for_centos_5.8.patch                       |    0
 .../fsl-ppc-no-fsqrt.patch                         |    0
 .../generate-supported.mk                          |    0
 .../glibc.fix_sqrt2.patch                          |    0
 .../initgroups_keys.patch                          |    0
 .../ld-search-order.patch                          |    0
 .../mips-rld-map-check.patch                       |    0
 .../multilib_readlib.patch                         |    0
 .../ppc-sqrt_finite.patch                          |    0
 .../ppc_slow_ieee754_sqrt.patch                    |    0
 .../relocatable_sdk.patch                          |    0
 .../tzselect-awk.patch                             |    0
 .../{eglibc-2.16 => eglibc-2.17}/tzselect-sh.patch |   54 ++-
 ...libc-initial_2.16.bb => eglibc-initial_2.17.bb} |    0
 meta/recipes-core/eglibc/eglibc-locale.inc         |    2 -
 ...eglibc-locale_2.16.bb => eglibc-locale_2.17.bb} |    0
 meta/recipes-core/eglibc/eglibc-mtrace.inc         |    1 -
 ...eglibc-mtrace_2.16.bb => eglibc-mtrace_2.17.bb} |    0
 ...libc-scripts_2.16.bb => eglibc-scripts_2.17.bb} |    0
 .../eglibc/{eglibc_2.16.bb => eglibc_2.17.bb}      |   39 +--
 meta/recipes-graphics/cairo/cairo.inc              |    8 +-
 meta/recipes-graphics/cairo/cairo_1.12.8.bb        |    2 +-
 43 files changed, 107 insertions(+), 554 deletions(-)
 create mode 100644 meta/recipes-connectivity/ofono/ofono/missing-ssize_t.patch
 rename meta/recipes-core/eglibc/{cross-localedef-native_2.16.bb => cross-localedef-native_2.17.bb} (74%)
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/0001-Add-ARM-specific-static-stubs.c.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/0001-Add-name_to_handle_at-open_by_handle-etc.-to-PowerPC.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/0001-Avoid-use-of-libgcc_s-and-libgcc_eh-when-building-gl.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patch
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0001-R_ARM_TLS_DTPOFF32.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0001-eglibc-menuconfig-support.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0002-eglibc-menuconfig-hex-string-options.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0003-eglibc-menuconfig-build-instructions.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/GLRO_dl_debug_mask.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/IO-acquire-lock-fix.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/add_resource_h_to_wait_h.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/eglibc-svn-arm-lowlevellock-include-tls.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/eglibc_fix_findidx_parameters.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/etc/ld.so.conf (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/fileops-without-wchar-io.patch (100%)
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.17/fix-tibetian-locales.patch
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/fix_for_centos_5.8.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/fsl-ppc-no-fsqrt.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/generate-supported.mk (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/glibc.fix_sqrt2.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/initgroups_keys.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/ld-search-order.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/mips-rld-map-check.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/multilib_readlib.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/ppc-sqrt_finite.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/ppc_slow_ieee754_sqrt.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/relocatable_sdk.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/tzselect-awk.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/tzselect-sh.patch (77%)
 rename meta/recipes-core/eglibc/{eglibc-initial_2.16.bb => eglibc-initial_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-locale_2.16.bb => eglibc-locale_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-mtrace_2.16.bb => eglibc-mtrace_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-scripts_2.16.bb => eglibc-scripts_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc_2.16.bb => eglibc_2.17.bb} (74%)
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 1/4 eglibc: Upgrade recipes 2.16 -> 2.17

Drop patches that are applied upstream

Fix the license checksums for changes in LICENSES file the new changes add more copyright notices that were missing earlier

Moving ports is no longer needed since ports is now part of libc proper

Refresh tzselect-sh.patch to accomodate upstream changes

C++ headers discovery relative to target sysroot is fixed differently upstream hence we drop use-sysroot-cxx-headers.patch

aarch64 support is already available in 2.17 hence drop the local patches

---
 meta/conf/distro/include/tcmode-default.inc        |    2 +-
 ...tive_2.16.bb => cross-localedef-native_2.17.bb} |   12 +-
 .../0001-Add-ARM-specific-static-stubs.c.patch     |   27 --
 ..._handle_at-open_by_handle-etc.-to-PowerPC.patch |   65 ----
 ...f-libgcc_s-and-libgcc_eh-when-building-gl.patch |  343 --------------------
 .../eglibc-2.16/use-sysroot-cxx-headers.patch      |   42 ---
 .../0001-R_ARM_TLS_DTPOFF32.patch                  |    0
 .../0001-eglibc-menuconfig-support.patch           |    0
 ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch |    0
 ...0002-eglibc-menuconfig-hex-string-options.patch |    0
 ...0003-eglibc-menuconfig-build-instructions.patch |    0
 .../GLRO_dl_debug_mask.patch                       |    0
 .../IO-acquire-lock-fix.patch                      |    0
 .../add_resource_h_to_wait_h.patch                 |    0
 .../eglibc-svn-arm-lowlevellock-include-tls.patch  |    0
 .../eglibc_fix_findidx_parameters.patch            |    0
 .../{eglibc-2.16 => eglibc-2.17}/etc/ld.so.conf    |    0
 .../fileops-without-wchar-io.patch                 |    0
 .../fix_for_centos_5.8.patch                       |    0
 .../fsl-ppc-no-fsqrt.patch                         |    0
 .../generate-supported.mk                          |    0
 .../glibc.fix_sqrt2.patch                          |    0
 .../initgroups_keys.patch                          |    0
 .../ld-search-order.patch                          |    0
 .../mips-rld-map-check.patch                       |    0
 .../multilib_readlib.patch                         |    0
 .../ppc-sqrt_finite.patch                          |    0
 .../ppc_slow_ieee754_sqrt.patch                    |    0
 .../relocatable_sdk.patch                          |    0
 .../tzselect-awk.patch                             |    0
 .../{eglibc-2.16 => eglibc-2.17}/tzselect-sh.patch |   54 ++-
 ...libc-initial_2.16.bb => eglibc-initial_2.17.bb} |    0
 meta/recipes-core/eglibc/eglibc-locale.inc         |    2 -
 ...eglibc-locale_2.16.bb => eglibc-locale_2.17.bb} |    0
 meta/recipes-core/eglibc/eglibc-mtrace.inc         |    1 -
 ...eglibc-mtrace_2.16.bb => eglibc-mtrace_2.17.bb} |    0
 ...libc-scripts_2.16.bb => eglibc-scripts_2.17.bb} |    0
 .../eglibc/{eglibc_2.16.bb => eglibc_2.17.bb}      |   38 +--
 38 files changed, 36 insertions(+), 550 deletions(-)
 rename meta/recipes-core/eglibc/{cross-localedef-native_2.16.bb => cross-localedef-native_2.17.bb} (74%)
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/0001-Add-ARM-specific-static-stubs.c.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/0001-Add-name_to_handle_at-open_by_handle-etc.-to-PowerPC.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/0001-Avoid-use-of-libgcc_s-and-libgcc_eh-when-building-gl.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patch
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0001-R_ARM_TLS_DTPOFF32.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0001-eglibc-menuconfig-support.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0002-eglibc-menuconfig-hex-string-options.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0003-eglibc-menuconfig-build-instructions.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/GLRO_dl_debug_mask.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/IO-acquire-lock-fix.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/add_resource_h_to_wait_h.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/eglibc-svn-arm-lowlevellock-include-tls.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/eglibc_fix_findidx_parameters.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/etc/ld.so.conf (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/fileops-without-wchar-io.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/fix_for_centos_5.8.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/fsl-ppc-no-fsqrt.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/generate-supported.mk (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/glibc.fix_sqrt2.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/initgroups_keys.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/ld-search-order.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/mips-rld-map-check.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/multilib_readlib.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/ppc-sqrt_finite.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/ppc_slow_ieee754_sqrt.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/relocatable_sdk.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/tzselect-awk.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/tzselect-sh.patch (77%)
 rename meta/recipes-core/eglibc/{eglibc-initial_2.16.bb => eglibc-initial_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-locale_2.16.bb => eglibc-locale_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-mtrace_2.16.bb => eglibc-mtrace_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-scripts_2.16.bb => eglibc-scripts_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc_2.16.bb => eglibc_2.17.bb} (74%)
meta/conf/distro/include/tcmode-default.inc +1 -1
index 1d6cd8b..e0c4251 100644
@@ -20,7 +20,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
 GCCVERSION ?= "4.7%"
 SDKGCCVERSION ?= "${GCCVERSION}"
 BINUVERSION ?= "2.23.1"
-EGLIBCVERSION ?= "2.16"
+EGLIBCVERSION ?= "2.17"
 UCLIBCVERSION ?= "0.9.33"
 LINUXLIBCVERSION ?= "3.4.3"
 
meta/recipes-core/eglibc/cross-localedef-native_2.17.bb renamed from meta/recipes-core/eglibc/cross-localedef-native_2.16.bb +5 -7
similarity index 74%
rename from meta/recipes-core/eglibc/cross-localedef-native_2.16.bb
rename to meta/recipes-core/eglibc/cross-localedef-native_2.17.bb
index 11970e7..be1b1d5 100644
@@ -4,7 +4,7 @@ SECTION = "libs"
 LICENSE = "LGPL-2.1"
 
 LIC_DIR = "${WORKDIR}/eglibc-${PV}/libc"
-LIC_FILES_CHKSUM = "file://${LIC_DIR}/LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9\
+LIC_FILES_CHKSUM = "file://${LIC_DIR}/LICENSES;md5=e9a558e243b36d3209f380deb394b213 \
       file://${LIC_DIR}/COPYING;md5=393a5ca445f6965873eca0259a17f833 \
       file://${LIC_DIR}/posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
       file://${LIC_DIR}/COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff "
@@ -13,16 +13,14 @@ LIC_FILES_CHKSUM = "file://${LIC_DIR}/LICENSES;md5=98a1128c4b58120182cbea3b1752d
 inherit native
 inherit autotools
 
-# pick up an eglibc-2.16 patch
+# pick up an eglibc patch
 FILESPATH = "${FILE_DIRNAME}/eglibc-${PV}"
 
-PR = "r2"
-SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr21224.tar.bz2 \
+SRC_URI = "http://sakrah.dontexist.org/files/eglibc/eglibc-${PV}-svnr22064.tar.bz2 \
 	   file://fix_for_centos_5.8.patch;patchdir=.. \
 	  "
-
-SRC_URI[md5sum] = "88894fa6e10e58e85fbd8134b8e486a8"
-SRC_URI[sha256sum] = "460a45f422da6eb1fd909baab6a64b5ae4c8ba18ea05a1491ed1024c8b98eeaa"
+SRC_URI[md5sum] = "1464af54779c2c7d1078df9ce2e41791"
+SRC_URI[sha256sum] = "97c3991a3772f513cf704841d20c275ac48895fad2e27802dda557c0196cba6b"
 
 S = "${WORKDIR}/eglibc-${PV}/localedef"
 
meta/recipes-core/eglibc/eglibc-2.16/0001-Add-ARM-specific-static-stubs.c.patch deleted +0 -27
deleted file mode 100644
index 7186f89..0000000
@@ -1,27 +0,0 @@
-Upstream-Status: Backport
-
-Signed-off-by: Khem Raj <[email protected]>
-
-From c57a67e03368687fc0d2ae8354cd1b347a61ea44 Mon Sep 17 00:00:00 2001
-From: Joseph Myers <[email protected]>
-Date: Thu, 5 Jul 2012 22:16:03 +0000
-Subject: [PATCH] Add ARM-specific static-stubs.c.
-
----
- ports/ChangeLog.arm              |    4 ++++
- ports/sysdeps/arm/static-stubs.c |    7 +++++++
- 2 files changed, 11 insertions(+)
- create mode 100644 ports/sysdeps/arm/static-stubs.c
-
-Index: libc/ports/sysdeps/arm/static-stubs.c
-===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ libc/ports/sysdeps/arm/static-stubs.c	2012-08-15 15:04:59.687669241 -0700
-@@ -0,0 +1,7 @@
-+/* When building with GCC with static-only libgcc, the dummy
-+   _Unwind_Resume from static-stubs.c needs to be used together with
-+   the dummy __aeabi_unwind_cpp_pr* from aeabi_unwind_cpp_pr1.c
-+   instead of the copies from libgcc.  */
-+
-+#include <elf/static-stubs.c>
-+#include <aeabi_unwind_cpp_pr1.c>
meta/recipes-core/eglibc/eglibc-2.16/0001-Add-name_to_handle_at-open_by_handle-etc.-to-PowerPC.patch deleted +0 -65

65 lines not on this page · raw message

meta/recipes-core/eglibc/eglibc-2.16/0001-Avoid-use-of-libgcc_s-and-libgcc_eh-when-building-gl.patch deleted +0 -343

343 lines not on this page · raw message

meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patch deleted +0 -42

42 lines not on this page · raw message

meta/recipes-core/eglibc/eglibc-2.17/0001-R_ARM_TLS_DTPOFF32.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/0001-R_ARM_TLS_DTPOFF32.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/0001-R_ARM_TLS_DTPOFF32.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/0001-R_ARM_TLS_DTPOFF32.patch
meta/recipes-core/eglibc/eglibc-2.17/0001-eglibc-menuconfig-support.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/0001-eglibc-menuconfig-support.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/0001-eglibc-menuconfig-support.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/0001-eglibc-menuconfig-support.patch
meta/recipes-core/eglibc/eglibc-2.17/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
meta/recipes-core/eglibc/eglibc-2.17/0002-eglibc-menuconfig-hex-string-options.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/0002-eglibc-menuconfig-hex-string-options.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/0002-eglibc-menuconfig-hex-string-options.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/0002-eglibc-menuconfig-hex-string-options.patch
meta/recipes-core/eglibc/eglibc-2.17/0003-eglibc-menuconfig-build-instructions.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/0003-eglibc-menuconfig-build-instructions.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/0003-eglibc-menuconfig-build-instructions.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/0003-eglibc-menuconfig-build-instructions.patch
meta/recipes-core/eglibc/eglibc-2.17/GLRO_dl_debug_mask.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/GLRO_dl_debug_mask.patch
meta/recipes-core/eglibc/eglibc-2.17/IO-acquire-lock-fix.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/IO-acquire-lock-fix.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/IO-acquire-lock-fix.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/IO-acquire-lock-fix.patch
meta/recipes-core/eglibc/eglibc-2.17/add_resource_h_to_wait_h.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/add_resource_h_to_wait_h.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/add_resource_h_to_wait_h.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/add_resource_h_to_wait_h.patch
meta/recipes-core/eglibc/eglibc-2.17/eglibc-svn-arm-lowlevellock-include-tls.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/eglibc-svn-arm-lowlevellock-include-tls.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/eglibc-svn-arm-lowlevellock-include-tls.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/eglibc-svn-arm-lowlevellock-include-tls.patch
meta/recipes-core/eglibc/eglibc-2.17/eglibc_fix_findidx_parameters.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/eglibc_fix_findidx_parameters.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/eglibc_fix_findidx_parameters.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/eglibc_fix_findidx_parameters.patch
meta/recipes-core/eglibc/eglibc-2.17/etc/ld.so.conf renamed from meta/recipes-core/eglibc/eglibc-2.16/etc/ld.so.conf +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/etc/ld.so.conf
rename to meta/recipes-core/eglibc/eglibc-2.17/etc/ld.so.conf
meta/recipes-core/eglibc/eglibc-2.17/fileops-without-wchar-io.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/fileops-without-wchar-io.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/fileops-without-wchar-io.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/fileops-without-wchar-io.patch
meta/recipes-core/eglibc/eglibc-2.17/fix_for_centos_5.8.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/fix_for_centos_5.8.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/fix_for_centos_5.8.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/fix_for_centos_5.8.patch
meta/recipes-core/eglibc/eglibc-2.17/fsl-ppc-no-fsqrt.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/fsl-ppc-no-fsqrt.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/fsl-ppc-no-fsqrt.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/fsl-ppc-no-fsqrt.patch
meta/recipes-core/eglibc/eglibc-2.17/generate-supported.mk renamed from meta/recipes-core/eglibc/eglibc-2.16/generate-supported.mk +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/generate-supported.mk
rename to meta/recipes-core/eglibc/eglibc-2.17/generate-supported.mk
meta/recipes-core/eglibc/eglibc-2.17/glibc.fix_sqrt2.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/glibc.fix_sqrt2.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/glibc.fix_sqrt2.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/glibc.fix_sqrt2.patch
meta/recipes-core/eglibc/eglibc-2.17/initgroups_keys.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/initgroups_keys.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/initgroups_keys.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/initgroups_keys.patch
meta/recipes-core/eglibc/eglibc-2.17/ld-search-order.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/ld-search-order.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/ld-search-order.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/ld-search-order.patch
meta/recipes-core/eglibc/eglibc-2.17/mips-rld-map-check.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/mips-rld-map-check.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/mips-rld-map-check.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/mips-rld-map-check.patch
meta/recipes-core/eglibc/eglibc-2.17/multilib_readlib.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/multilib_readlib.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/multilib_readlib.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/multilib_readlib.patch
meta/recipes-core/eglibc/eglibc-2.17/ppc-sqrt_finite.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/ppc-sqrt_finite.patch
meta/recipes-core/eglibc/eglibc-2.17/ppc_slow_ieee754_sqrt.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/ppc_slow_ieee754_sqrt.patch
meta/recipes-core/eglibc/eglibc-2.17/relocatable_sdk.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/relocatable_sdk.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/relocatable_sdk.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/relocatable_sdk.patch
meta/recipes-core/eglibc/eglibc-2.17/tzselect-awk.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/tzselect-awk.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.16/tzselect-awk.patch
rename to meta/recipes-core/eglibc/eglibc-2.17/tzselect-awk.patch
meta/recipes-core/eglibc/eglibc-2.17/tzselect-sh.patch renamed from meta/recipes-core/eglibc/eglibc-2.16/tzselect-sh.patch +25 -29

103 lines not on this page · raw message

meta/recipes-core/eglibc/eglibc-initial_2.17.bb renamed from meta/recipes-core/eglibc/eglibc-initial_2.16.bb +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-initial_2.16.bb
rename to meta/recipes-core/eglibc/eglibc-initial_2.17.bb
meta/recipes-core/eglibc/eglibc-locale.inc +0 -2
index 0381e26..9b36110 100644
@@ -20,8 +20,6 @@ BINARY_LOCALE_ARCHES ?= "arm.* i[3-6]86 x86_64 powerpc mips mips64"
 # set "0" for qemu emulation of native localedef for locale generation
 LOCALE_GENERATION_WITH_CROSS-LOCALEDEF = "1"
 
-PR = "r22"
-
 PROVIDES = "virtual/libc-locale"
 
 PACKAGES = "localedef ${PN}-dbg"
meta/recipes-core/eglibc/eglibc-locale_2.17.bb renamed from meta/recipes-core/eglibc/eglibc-locale_2.16.bb +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-locale_2.16.bb
rename to meta/recipes-core/eglibc/eglibc-locale_2.17.bb
meta/recipes-core/eglibc/eglibc-mtrace.inc +0 -1
index 1ec93ac..d68783e 100644
@@ -1,6 +1,5 @@
 include eglibc-collateral.inc
 
-PR = "r1"
 SUMMARY = "mtrace utility provided by eglibc"
 DESCRIPTION = "mtrace utility provided by eglibc"
 RDEPENDS_${PN} = "perl"
meta/recipes-core/eglibc/eglibc-mtrace_2.17.bb renamed from meta/recipes-core/eglibc/eglibc-mtrace_2.16.bb +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-mtrace_2.16.bb
rename to meta/recipes-core/eglibc/eglibc-mtrace_2.17.bb
meta/recipes-core/eglibc/eglibc-scripts_2.17.bb renamed from meta/recipes-core/eglibc/eglibc-scripts_2.16.bb +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-scripts_2.16.bb
rename to meta/recipes-core/eglibc/eglibc-scripts_2.17.bb
meta/recipes-core/eglibc/eglibc_2.17.bb renamed from meta/recipes-core/eglibc/eglibc_2.16.bb +5 -33
similarity index 74%
rename from meta/recipes-core/eglibc/eglibc_2.16.bb
rename to meta/recipes-core/eglibc/eglibc_2.17.bb
index 2dcaceb..1a9c288 100644
@@ -1,9 +1,9 @@
 require eglibc.inc
 
 DEPENDS += "gperf-native kconfig-frontends-native"
-PR = "r20"
 
-SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr21224.tar.bz2;name=tarball \
+#SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr21224.tar.bz2;name=tarball 
+SRC_URI = "http://sakrah.dontexist.org/files/eglibc/eglibc-${PV}-svnr22064.tar.bz2 \
            file://eglibc-svn-arm-lowlevellock-include-tls.patch \
            file://IO-acquire-lock-fix.patch \
            file://mips-rld-map-check.patch \
@@ -11,7 +11,6 @@ SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr21
            file://generate-supported.mk \
            file://glibc.fix_sqrt2.patch \
            file://multilib_readlib.patch \
-           file://use-sysroot-cxx-headers.patch \
            file://ppc-sqrt_finite.patch \
            file://GLRO_dl_debug_mask.patch \
            file://initgroups_keys.patch \
@@ -19,35 +18,19 @@ SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr21
            file://ppc_slow_ieee754_sqrt.patch \
            file://fileops-without-wchar-io.patch \
            file://add_resource_h_to_wait_h.patch \
-           file://0001-Avoid-use-of-libgcc_s-and-libgcc_eh-when-building-gl.patch \
-           file://0001-Add-ARM-specific-static-stubs.c.patch \
            file://0001-eglibc-menuconfig-support.patch \
            file://0002-eglibc-menuconfig-hex-string-options.patch \
            file://0003-eglibc-menuconfig-build-instructions.patch \
-           file://0001-Add-name_to_handle_at-open_by_handle-etc.-to-PowerPC.patch \
            file://fsl-ppc-no-fsqrt.patch \
            file://0001-R_ARM_TLS_DTPOFF32.patch \
-           http://people.linaro.org/~toolchain/openembedded/patches/eglibc/aarch64-0001-glibc-fsf-v1-eaf6f205.patch;name=patch1 \
-           http://people.linaro.org/~toolchain/openembedded/patches/eglibc/aarch64-0002-Synchronize-with-linux-elf.h.patch;name=patch2 \
-           http://people.linaro.org/~toolchain/openembedded/patches/eglibc/aarch64-0003-Adding-AArch64-support-to-elf-elf.h.patch;name=patch3 \
            file://tzselect-sh.patch \
            file://tzselect-awk.patch \
            file://0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch \
           "
+SRC_URI[md5sum] = "1464af54779c2c7d1078df9ce2e41791"
+SRC_URI[sha256sum] = "97c3991a3772f513cf704841d20c275ac48895fad2e27802dda557c0196cba6b"
 
-SRC_URI[tarball.md5sum] = "88894fa6e10e58e85fbd8134b8e486a8"
-SRC_URI[tarball.sha256sum] = "460a45f422da6eb1fd909baab6a64b5ae4c8ba18ea05a1491ed1024c8b98eeaa"
-
-SRC_URI[patch1.md5sum] = "5e52bf8fd9ac390b665d86a57ab7dba7"
-SRC_URI[patch1.sha256sum] = "b7eea76e72675a6ed3066952a9e08389c99838d74a58b736d527c82c34e754eb"
-
-SRC_URI[patch2.md5sum] = "e1ae1c416c01e2c991c7ca7e169c577b"
-SRC_URI[patch2.sha256sum] = "6093bb80a187081090cb14412f466c08fcaf39ccd62b751e3d871a8c5af03b0d"
-
-SRC_URI[patch3.md5sum] = "6d1d84e14f7abfe9ee3237d0ec6fe9ca"
-SRC_URI[patch3.sha256sum] = "03e79ace9eade0d57a3684cb0dc6b415ea52e4f152bfb380684b08445f125410"
-
-LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \
+LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \
       file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
       file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
       file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff "
@@ -102,17 +85,6 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
 
 EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"
 
-do_unpack_append() {
-    bb.build.exec_func('do_move_ports', d)
-}
-
-do_move_ports() {
-        if test -d ${WORKDIR}/eglibc-${PV}/ports ; then
-	    rm -rf ${S}/ports
-	    mv ${WORKDIR}/eglibc-${PV}/ports ${S}/
-	fi
-}
-
 do_patch_append() {
     bb.build.exec_func('do_fix_readlib_c', d)
 }
Signature · 1 line
1.7.9.5
author
#2 lore raw

PATCH 2/4 eglibc_2.17: Fix Tibetian locale generation error

This is fallout of BZ #13950 fix to glibc

---
 .../eglibc/eglibc-2.17/fix-tibetian-locales.patch  |   38 ++++++++++++++++++++
 meta/recipes-core/eglibc/eglibc_2.17.bb            |    1 +
 2 files changed, 39 insertions(+)
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.17/fix-tibetian-locales.patch
meta/recipes-core/eglibc/eglibc-2.17/fix-tibetian-locales.patch new file +38 -0
new file mode 100644
index 0000000..25c43a9
@@ -0,0 +1,38 @@
+cross localedef fails to compile these locales because name_fmt field is empty
+It is not acceptable for cross localedef and it errors out
+
+LC_NAME: field `name_fmt' not defined
+
+We therefore give a dummy string to the format, the real fix needs some native
+tibetian person to define proper name_fmt
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <[email protected]>
+
+Index: libc/localedata/locales/bo_CN
+===================================================================
+--- libc.orig/localedata/locales/bo_CN	2012-11-17 09:50:14.000000000 -0800
++++ libc/localedata/locales/bo_CN	2013-01-04 08:55:15.593612288 -0800
+@@ -145,7 +145,7 @@
+ LC_NAME
+ % FIXME
+ 
+-name_fmt  ""
++name_fmt  "FIXME"
+ % name_gen	"FIXME"
+ % name_miss	"FIXME"
+ % name_mr	"FIXME"
+Index: libc/localedata/locales/bo_IN
+===================================================================
+--- libc.orig/localedata/locales/bo_IN	2012-11-17 09:50:14.000000000 -0800
++++ libc/localedata/locales/bo_IN	2013-01-04 08:54:12.345609028 -0800
+@@ -70,7 +70,7 @@
+ 
+ LC_NAME
+ % FIXME
+-name_fmt	""
++name_fmt	"FIXME"
+ % name_gen	"FIXME"
+ % name_miss	"FIXME"
+ % name_mr	"FIXME"
meta/recipes-core/eglibc/eglibc_2.17.bb +1 -0
index 1a9c288..b71af1a 100644
@@ -26,6 +26,7 @@ SRC_URI = "http://sakrah.dontexist.org/files/eglibc/eglibc-${PV}-svnr22064.tar.b
            file://tzselect-sh.patch \
            file://tzselect-awk.patch \
            file://0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch \
+           file://fix-tibetian-locales.patch \
           "
 SRC_URI[md5sum] = "1464af54779c2c7d1078df9ce2e41791"
 SRC_URI[sha256sum] = "97c3991a3772f513cf704841d20c275ac48895fad2e27802dda557c0196cba6b"
Signature · 1 line
1.7.9.5
author
#5 lore raw

PATCH 3/4 cairo: Adds libxext in X11DEPENDS.

In reply to Khem Raj

From: Noor Ahsan <[email protected]>

* cairo was giving redefinition error of struct _XLinearGradient, struct _XCircle and struct _XRadialGradient.
* cario now depends on libxext. Adding that dependency resolved above errors.
* Verified it on P2020RDB.
* Bump PR.

---
 meta/recipes-graphics/cairo/cairo.inc       |    8 ++++++--
 meta/recipes-graphics/cairo/cairo_1.12.8.bb |    2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)
meta/recipes-graphics/cairo/cairo.inc +6 -2
index 3059fae..919ab2e 100644
@@ -10,7 +10,7 @@ HOMEPAGE = "http://cairographics.org"
 BUGTRACKER = "http://bugs.freedesktop.org"
 SECTION = "libs"
 LICENSE = "MPL-1 & LGPLv2.1"
-X11DEPENDS = "virtual/libx11 libsm libxrender"
+X11DEPENDS = "virtual/libx11 libsm libxrender libxext"
 DEPENDS = "libpng fontconfig pixman glib-2.0"
 PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
            ${@base_contains('DISTRO_FEATURES', 'gtk-directfb', 'gtk-directfb', '', d)}"
@@ -21,11 +21,15 @@ BBCLASSEXTEND = "native"
 #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points 
 require cairo-fpu.inc
 EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)} \
-                 --enable-tee \
+                 ${TEE} \
                 "
 
+TEE = "--enable-tee"
+TEE_libc-uclibc = "--disable-tee"
 
 inherit autotools pkgconfig
 
 # We don't depend on binutils so we need to disable this
 export ac_cv_lib_bfd_bfd_openr="no"
+
+CFLAGS += "-DCAIRO_NO_MUTEX=1"
meta/recipes-graphics/cairo/cairo_1.12.8.bb +1 -1
index 058854c..567a17f 100644
@@ -2,7 +2,7 @@ require cairo.inc
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=e73e999e0c72b5ac9012424fa157ad77"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.xz"
 
Signature · 1 line
1.7.9.5
author
#9 lore raw

PATCH 4/4 ofono: Fix build with eglibc 2.17

In reply to Khem Raj

include unistd.h explicitly to get ssize_t defined

---
 .../ofono/ofono/missing-ssize_t.patch              |   23 ++++++++++++++++++++
 meta/recipes-connectivity/ofono/ofono_1.12.bb      |    3 ++-
 2 files changed, 25 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-connectivity/ofono/ofono/missing-ssize_t.patch
meta/recipes-connectivity/ofono/ofono/missing-ssize_t.patch new file +23 -0
new file mode 100644
index 0000000..71903c4
@@ -0,0 +1,23 @@
+include unistd.h for getting ssize_t definitions
+Fixes errors like
+
+| In file included from src/sms.c:38:0:
+| src/storage.h:32:1: error: unknown type name 'ssize_t'
+| src/storage.h:36:1: error: unknown type name 'ssize_t'
+
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <[email protected]>
+
+Index: ofono-1.12/src/storage.h
+===================================================================
+--- ofono-1.12.org/src/storage.h	2013-01-04 10:01:24.137804178 -0800
++++ ofono-1.12/src/storage.h	2013-01-04 10:02:09.325806426 -0800
+@@ -26,6 +26,7 @@
+ #endif
+ 
+ #include <fcntl.h>
++#include <unistd.h>
+ 
+ int create_dirs(const char *filename, const mode_t mode);
+ 
meta/recipes-connectivity/ofono/ofono_1.12.bb +2 -1
index 1767971..c33ede4 100644
@@ -3,8 +3,9 @@ require ofono.inc
 SRC_URI  = "\
   ${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \
   file://ofono \
+  file://missing-ssize_t.patch \
 "
-PR = "r0"
+PR = "r1"
 
 SRC_URI[md5sum] = "aa8924c0e8de3ec7ac5e41fe7df4cb99"
 SRC_URI[sha256sum] = "733b75bfd1b2a1925b6de532989c496b8ae17a746691120ef64cceb00b3ef751"
Signature · 1 line
1.7.9.5
#3 lore raw

Re: [PATCH 2/4] eglibc_2.17: Fix Tibetian locale generation error

In reply to Khem Raj
Quoted 3 lines · Khem Raj

This is fallout of BZ #13950 fix to glibc

Fix doesn't seem as an accurate name here; I'd prefer:

Workaround Tibetian locale generation error

as it better describes what it does; the patch file should be renamed and updated as well.

What do you think?

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

author
#4 lore raw

Re: [PATCH 2/4] eglibc_2.17: Fix Tibetian locale generation error

Quoted 5 lines · Otavio Salvador
Quoted 3 lines · Khem Raj

This is fallout of BZ #13950 fix to glibc

Quoted 9 lines

Fix doesn't seem as an accurate name here; I'd prefer:

Workaround Tibetian locale generation error

as it better describes what it does; the patch file should be renamed and updated as well.

What do you think?

I can change that thanks.

Quoted 5 lines

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

author
#10 lore raw
In reply to Khem Raj

A bit of an update here.
I have pushed another patch on top of this list to the branch to fix udev and after that I have been able
to build and boot core-image-sato on all supported qemu machines.

Quoted 110 lines · Khem Raj

I would like folks to try and test this upgrade. I have tested it on angstrom/systemd-image booted on all supported qemu images.

This is however now the final set since I have to put the 2.17 tars on downloads location

Please try it out in your configurations and let me know if you find issues.

The following changes since commit b693f6d3d48b281fbbf71fd56996c85e23c3a9c9:

freetype: update to 2.4.11 which includes fixes for CVE-2012-{5668, 5669, 5670} (2012-12-31 09:42:49 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.17
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.17

Khem Raj (3):
eglibc: Upgrade recipes 2.16 -> 2.17 eglibc_2.17: Fix Tibetian locale generation error
ofono: Fix build with eglibc 2.17

Noor Ahsan (1):
cairo: Adds libxext in X11DEPENDS.

 meta/conf/distro/include/tcmode-default.inc        |    2 +-
 .../ofono/ofono/missing-ssize_t.patch              |   23 ++
 meta/recipes-connectivity/ofono/ofono_1.12.bb      |    3 +-
 ...tive_2.16.bb => cross-localedef-native_2.17.bb} |   12 +-
 .../0001-Add-ARM-specific-static-stubs.c.patch     |   27 --
 ..._handle_at-open_by_handle-etc.-to-PowerPC.patch |   65 ----
 ...f-libgcc_s-and-libgcc_eh-when-building-gl.patch |  343 --------------------
 .../eglibc-2.16/use-sysroot-cxx-headers.patch      |   42 ---
 .../0001-R_ARM_TLS_DTPOFF32.patch                  |    0
 .../0001-eglibc-menuconfig-support.patch           |    0
 ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch |    0
 ...0002-eglibc-menuconfig-hex-string-options.patch |    0
 ...0003-eglibc-menuconfig-build-instructions.patch |    0
 .../GLRO_dl_debug_mask.patch                       |    0
 .../IO-acquire-lock-fix.patch                      |    0
 .../add_resource_h_to_wait_h.patch                 |    0
 .../eglibc-svn-arm-lowlevellock-include-tls.patch  |    0
 .../eglibc_fix_findidx_parameters.patch            |    0
 .../{eglibc-2.16 => eglibc-2.17}/etc/ld.so.conf    |    0
 .../fileops-without-wchar-io.patch                 |    0
 .../eglibc/eglibc-2.17/fix-tibetian-locales.patch  |   38 +++
 .../fix_for_centos_5.8.patch                       |    0
 .../fsl-ppc-no-fsqrt.patch                         |    0
 .../generate-supported.mk                          |    0
 .../glibc.fix_sqrt2.patch                          |    0
 .../initgroups_keys.patch                          |    0
 .../ld-search-order.patch                          |    0
 .../mips-rld-map-check.patch                       |    0
 .../multilib_readlib.patch                         |    0
 .../ppc-sqrt_finite.patch                          |    0
 .../ppc_slow_ieee754_sqrt.patch                    |    0
 .../relocatable_sdk.patch                          |    0
 .../tzselect-awk.patch                             |    0
 .../{eglibc-2.16 => eglibc-2.17}/tzselect-sh.patch |   54 ++-
 ...libc-initial_2.16.bb => eglibc-initial_2.17.bb} |    0
 meta/recipes-core/eglibc/eglibc-locale.inc         |    2 -
 ...eglibc-locale_2.16.bb => eglibc-locale_2.17.bb} |    0
 meta/recipes-core/eglibc/eglibc-mtrace.inc         |    1 -
 ...eglibc-mtrace_2.16.bb => eglibc-mtrace_2.17.bb} |    0
 ...libc-scripts_2.16.bb => eglibc-scripts_2.17.bb} |    0
 .../eglibc/{eglibc_2.16.bb => eglibc_2.17.bb}      |   39 +--
 meta/recipes-graphics/cairo/cairo.inc              |    8 +-
 meta/recipes-graphics/cairo/cairo_1.12.8.bb        |    2 +-
 43 files changed, 107 insertions(+), 554 deletions(-)
 create mode 100644 meta/recipes-connectivity/ofono/ofono/missing-ssize_t.patch
 rename meta/recipes-core/eglibc/{cross-localedef-native_2.16.bb => cross-localedef-native_2.17.bb} (74%)
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/0001-Add-ARM-specific-static-stubs.c.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/0001-Add-name_to_handle_at-open_by_handle-etc.-to-PowerPC.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/0001-Avoid-use-of-libgcc_s-and-libgcc_eh-when-building-gl.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patch
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0001-R_ARM_TLS_DTPOFF32.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0001-eglibc-menuconfig-support.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0002-eglibc-menuconfig-hex-string-options.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0003-eglibc-menuconfig-build-instructions.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/GLRO_dl_debug_mask.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/IO-acquire-lock-fix.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/add_resource_h_to_wait_h.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/eglibc-svn-arm-lowlevellock-include-tls.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/eglibc_fix_findidx_parameters.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/etc/ld.so.conf (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/fileops-without-wchar-io.patch (100%)
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.17/fix-tibetian-locales.patch
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/fix_for_centos_5.8.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/fsl-ppc-no-fsqrt.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/generate-supported.mk (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/glibc.fix_sqrt2.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/initgroups_keys.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/ld-search-order.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/mips-rld-map-check.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/multilib_readlib.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/ppc-sqrt_finite.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/ppc_slow_ieee754_sqrt.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/relocatable_sdk.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/tzselect-awk.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/tzselect-sh.patch (77%)
 rename meta/recipes-core/eglibc/{eglibc-initial_2.16.bb => eglibc-initial_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-locale_2.16.bb => eglibc-locale_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-mtrace_2.16.bb => eglibc-mtrace_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-scripts_2.16.bb => eglibc-scripts_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc_2.16.bb => eglibc_2.17.bb} (74%)

--
1.7.9.5

#12 lore raw
In reply to Khem Raj

W dniu 05.01.2013 01:00, Khem Raj pisze:

Quoted 7 lines

I would like folks to try and test this upgrade. I have tested it on angstrom/systemd-image booted on all supported qemu images.

This is however now the final set since I have to put the 2.17 tars on downloads location

Please try it out in your configurations and let me know if you find issues.

bitbake meta-toolchain fails:

Applying patch ld-search-order.patch
patching file elf/dl-load.c
Hunk #1 FAILED at 2107.
Hunk #2 succeeded at 2283 with fuzz 2 (offset 114 lines). 1 out of 2 hunks FAILED -- rejects in file elf/dl-load.c Patch ld-search-order.patch does not apply (enforce with -f)
ERROR: Function failed: patch_do_patch

#11 lore raw
In reply to Khem Raj
Quoted 4 lines · Khem Raj

A bit of an update here.
I have pushed another patch on top of this list to the branch to fix udev and after that I have been able
to build and boot core-image-sato on all supported qemu machines.

I've build tested with bitbake world (23 layers enabled) and runtime tested on armv4t (om-gta02). Looks good! Thanks

Cheers,

Quoted 116 lines · Khem Raj
Quoted 107 lines

I would like folks to try and test this upgrade. I have tested it on angstrom/systemd-image booted on all supported qemu images.

This is however now the final set since I have to put the 2.17 tars on downloads location

Please try it out in your configurations and let me know if you find issues.

The following changes since commit b693f6d3d48b281fbbf71fd56996c85e23c3a9c9:

freetype: update to 2.4.11 which includes fixes for CVE-2012-{5668, 5669, 5670} (2012-12-31 09:42:49 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.17
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.17

Khem Raj (3):
eglibc: Upgrade recipes 2.16 -> 2.17 eglibc_2.17: Fix Tibetian locale generation error
ofono: Fix build with eglibc 2.17

Noor Ahsan (1):
cairo: Adds libxext in X11DEPENDS.

 meta/conf/distro/include/tcmode-default.inc        |    2 +-
 .../ofono/ofono/missing-ssize_t.patch              |   23 ++
 meta/recipes-connectivity/ofono/ofono_1.12.bb      |    3 +-
 ...tive_2.16.bb => cross-localedef-native_2.17.bb} |   12 +-
 .../0001-Add-ARM-specific-static-stubs.c.patch     |   27 --
 ..._handle_at-open_by_handle-etc.-to-PowerPC.patch |   65 ----
 ...f-libgcc_s-and-libgcc_eh-when-building-gl.patch |  343 --------------------
 .../eglibc-2.16/use-sysroot-cxx-headers.patch      |   42 ---
 .../0001-R_ARM_TLS_DTPOFF32.patch                  |    0
 .../0001-eglibc-menuconfig-support.patch           |    0
 ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch |    0
 ...0002-eglibc-menuconfig-hex-string-options.patch |    0
 ...0003-eglibc-menuconfig-build-instructions.patch |    0
 .../GLRO_dl_debug_mask.patch                       |    0
 .../IO-acquire-lock-fix.patch                      |    0
 .../add_resource_h_to_wait_h.patch                 |    0
 .../eglibc-svn-arm-lowlevellock-include-tls.patch  |    0
 .../eglibc_fix_findidx_parameters.patch            |    0
 .../{eglibc-2.16 => eglibc-2.17}/etc/ld.so.conf    |    0
 .../fileops-without-wchar-io.patch                 |    0
 .../eglibc/eglibc-2.17/fix-tibetian-locales.patch  |   38 +++
 .../fix_for_centos_5.8.patch                       |    0
 .../fsl-ppc-no-fsqrt.patch                         |    0
 .../generate-supported.mk                          |    0
 .../glibc.fix_sqrt2.patch                          |    0
 .../initgroups_keys.patch                          |    0
 .../ld-search-order.patch                          |    0
 .../mips-rld-map-check.patch                       |    0
 .../multilib_readlib.patch                         |    0
 .../ppc-sqrt_finite.patch                          |    0
 .../ppc_slow_ieee754_sqrt.patch                    |    0
 .../relocatable_sdk.patch                          |    0
 .../tzselect-awk.patch                             |    0
 .../{eglibc-2.16 => eglibc-2.17}/tzselect-sh.patch |   54 ++-
 ...libc-initial_2.16.bb => eglibc-initial_2.17.bb} |    0
 meta/recipes-core/eglibc/eglibc-locale.inc         |    2 -
 ...eglibc-locale_2.16.bb => eglibc-locale_2.17.bb} |    0
 meta/recipes-core/eglibc/eglibc-mtrace.inc         |    1 -
 ...eglibc-mtrace_2.16.bb => eglibc-mtrace_2.17.bb} |    0
 ...libc-scripts_2.16.bb => eglibc-scripts_2.17.bb} |    0
 .../eglibc/{eglibc_2.16.bb => eglibc_2.17.bb}      |   39 +--
 meta/recipes-graphics/cairo/cairo.inc              |    8 +-
 meta/recipes-graphics/cairo/cairo_1.12.8.bb        |    2 +-
 43 files changed, 107 insertions(+), 554 deletions(-)
 create mode 100644 meta/recipes-connectivity/ofono/ofono/missing-ssize_t.patch
 rename meta/recipes-core/eglibc/{cross-localedef-native_2.16.bb => cross-localedef-native_2.17.bb} (74%)
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/0001-Add-ARM-specific-static-stubs.c.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/0001-Add-name_to_handle_at-open_by_handle-etc.-to-PowerPC.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/0001-Avoid-use-of-libgcc_s-and-libgcc_eh-when-building-gl.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patch
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0001-R_ARM_TLS_DTPOFF32.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0001-eglibc-menuconfig-support.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0002-eglibc-menuconfig-hex-string-options.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/0003-eglibc-menuconfig-build-instructions.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/GLRO_dl_debug_mask.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/IO-acquire-lock-fix.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/add_resource_h_to_wait_h.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/eglibc-svn-arm-lowlevellock-include-tls.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/eglibc_fix_findidx_parameters.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/etc/ld.so.conf (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/fileops-without-wchar-io.patch (100%)
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.17/fix-tibetian-locales.patch
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/fix_for_centos_5.8.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/fsl-ppc-no-fsqrt.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/generate-supported.mk (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/glibc.fix_sqrt2.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/initgroups_keys.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/ld-search-order.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/mips-rld-map-check.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/multilib_readlib.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/ppc-sqrt_finite.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/ppc_slow_ieee754_sqrt.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/relocatable_sdk.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/tzselect-awk.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.16 => eglibc-2.17}/tzselect-sh.patch (77%)
 rename meta/recipes-core/eglibc/{eglibc-initial_2.16.bb => eglibc-initial_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-locale_2.16.bb => eglibc-locale_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-mtrace_2.16.bb => eglibc-mtrace_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-scripts_2.16.bb => eglibc-scripts_2.17.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc_2.16.bb => eglibc_2.17.bb} (74%)
Quoted 3 lines

--
1.7.9.5

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
author
#13 lore raw
In reply to Marcin Juszkiewicz
Quoted 11 lines · Marcin Juszkiewicz

W dniu 05.01.2013 01:00, Khem Raj pisze:

Quoted 7 lines

I would like folks to try and test this upgrade. I have tested it on angstrom/systemd-image booted on all supported qemu images.

This is however now the final set since I have to put the 2.17 tars on downloads location

Please try it out in your configurations and let me know if you find issues.

bitbake meta-toolchain fails:

Quoted 7 lines

Applying patch ld-search-order.patch
patching file elf/dl-load.c
Hunk #1 FAILED at 2107.
Hunk #2 succeeded at 2283 with fuzz 2 (offset 114 lines). 1 out of 2 hunks FAILED -- rejects in file elf/dl-load.c Patch ld-search-order.patch does not apply (enforce with -f)
ERROR: Function failed: patch_do_patch

hmm this is weird. let me see whats going on here.

Quoted 5 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#14 lore raw
In reply to Khem Raj

W dniu 05.01.2013 01:00, Khem Raj pisze:

Quoted 7 lines

I would like folks to try and test this upgrade. I have tested it on angstrom/systemd-image booted on all supported qemu images.

This is however now the final set since I have to put the 2.17 tars on downloads location

Please try it out in your configurations and let me know if you find issues.

Other than meta-toolchain I did not found any new bugs while built for AArch64 target.

author
#15 lore raw
Quoted 4 lines · Marcin Juszkiewicz

W dniu 05.01.2013 01:00, Khem Raj pisze:

Quoted 3 lines

I would like folks to try and test this upgrade. I have tested it on angstrom/systemd-image booted on all supported qemu images.

Quoted 8 lines
Quoted 4 lines

This is however now the final set since I have to put the 2.17 tars on downloads location

Please try it out in your configurations and let me know if you find issues.

Other than meta-toolchain I did not found any new bugs while built for AArch64 target.

cool the patching error is now fixed. I have updated the contrib tree so if you reapply the patches then meta-toolchain issue should be gone too.

Quoted 4 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#16 lore raw
Quoted 9 lines · Khem Raj
Quoted 7 lines · Marcin Juszkiewicz

W dniu 05.01.2013 01:00, Khem Raj pisze:

Quoted 6 lines

I would like folks to try and test this upgrade. I have tested it on angstrom/systemd-image booted on all supported qemu images.

This is however now the final set since I have to put the 2.17 tars on downloads location

Quoted 9 lines
Quoted 5 lines
Quoted 1 line

Please try it out in your configurations and let me know if you find issues.

Other than meta-toolchain I did not found any new bugs while built for AArch64 target.

cool the patching error is now fixed. I have updated the contrib tree so if you reapply the patches then meta-toolchain issue should be gone too.

I will update the MUT branch also, I saw this issue last night on the Autobuilder and was going to send email, glad I read email first!

Sau!

Quoted 12 lines
Quoted 5 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#6 lore raw

Re: [PATCH 3/4] cairo: Adds libxext in X11DEPENDS.

In reply to Khem Raj
Quoted 9 lines · Khem Raj

From: Noor Ahsan <[email protected]>

* cairo was giving redefinition error of struct _XLinearGradient, struct _XCircle and struct _XRadialGradient.
* cario now depends on libxext. Adding that dependency resolved above errors.
* Verified it on P2020RDB.
* Bump PR.

This commit message does not fully state what's going on in the change below, as pointed out by Richard, you do not comment on the uclib change at all and what's the CAIRO_NO_MUTEX setting doing?

The DEPENDS part is good, we just need to know about the rest of it.

Thanks
Sau!

Quoted 51 lines
---
  meta/recipes-graphics/cairo/cairo.inc       |    8 ++++++--
  meta/recipes-graphics/cairo/cairo_1.12.8.bb |    2 +-
  2 files changed, 7 insertions(+), 3 deletions(-)
meta/recipes-graphics/cairo/cairo.inc +6 -2
index 3059fae..919ab2e 100644
@@ -10,7 +10,7 @@ HOMEPAGE = "http://cairographics.org"
  BUGTRACKER = "http://bugs.freedesktop.org"
  SECTION = "libs"
  LICENSE = "MPL-1 & LGPLv2.1"
-X11DEPENDS = "virtual/libx11 libsm libxrender"
+X11DEPENDS = "virtual/libx11 libsm libxrender libxext"
  DEPENDS = "libpng fontconfig pixman glib-2.0"
  PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
             ${@base_contains('DISTRO_FEATURES', 'gtk-directfb', 'gtk-directfb', '', d)}"
@@ -21,11 +21,15 @@ BBCLASSEXTEND = "native"
  #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points
  require cairo-fpu.inc
  EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)} \
-                 --enable-tee \
+                 ${TEE} \
                  "
 
+TEE = "--enable-tee"
+TEE_libc-uclibc = "--disable-tee"
 
  inherit autotools pkgconfig
 
  # We don't depend on binutils so we need to disable this
  export ac_cv_lib_bfd_bfd_openr="no"
+
+CFLAGS += "-DCAIRO_NO_MUTEX=1"
meta/recipes-graphics/cairo/cairo_1.12.8.bb +1 -1
index 058854c..567a17f 100644
@@ -2,7 +2,7 @@ require cairo.inc
 
  LIC_FILES_CHKSUM = "file://COPYING;md5=e73e999e0c72b5ac9012424fa157ad77"
 
-PR = "r0"
+PR = "r1"
 
  SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.xz"
 
author
#7 lore raw

Re: [PATCH 3/4] cairo: Adds libxext in X11DEPENDS.

Quoted 6 lines · Saul Wold

This commit message does not fully state what's going on in the change below, as pointed out by Richard, you do not comment on the uclib change at all and what's the CAIRO_NO_MUTEX setting doing?

The DEPENDS part is good, we just need to know about the rest of it.

it botched two different patches into 1 which were not meant to be. I will untangle it

author
#8 lore raw

Re: [PATCH 3/4] cairo: Adds libxext in X11DEPENDS.

Quoted 10 lines · Khem Raj
Quoted 6 lines · Saul Wold

This commit message does not fully state what's going on in the change below, as pointed out by Richard, you do not comment on the uclib change at all and what's the CAIRO_NO_MUTEX setting doing?

The DEPENDS part is good, we just need to know about the rest of it.

it botched two different patches into 1 which were not meant to be. I will untangle it

The changes in there were uclibc specific. Which I havent yet proposed and need some more work. I have punted that patch from eglibc-2.17 branch since the needed
patch has already been applied.

author
#17 lore raw
In reply to Saul Wold
Quoted 8 lines
Quoted 5 lines

cool the patching error is now fixed. I have updated the contrib tree so if you
reapply the patches then meta-toolchain issue should be gone too.

I will update the MUT branch also, I saw this issue last night on the Autobuilder and was going to send email, glad I read email first!

The tar files are now uploads to dl yp org and I have updated the recipes to reflect the new download location in recipes and pushed to pull branch this would be the last update before pushing this change. Please update

Thanks
-Khem

#18 lore raw
Quoted 5 lines · Khem Raj
Quoted 5 lines
Quoted 5 lines

cool the patching error is now fixed. I have updated the contrib tree so if you
reapply the patches then meta-toolchain issue should be gone too.

Quoted 8 lines
Quoted 3 lines

I will update the MUT branch also, I saw this issue last night on the Autobuilder and was going to send email, glad I read email first!

The tar files are now uploads to dl yp org and I have updated the recipes to reflect the new download location in recipes and pushed to pull branch this would be the last update before pushing this change. Please update

Khem,

I think we might be trying to get the baisc systemd update done first then update it for eglibc 2.17 and then pull this patch set. I will be talking with RP and Ross about this tomorrow.

This might wait another week or so.

Thanks for the update.

Sau!

Quoted 4 lines

Thanks
-Khem