diff options
| author | Khem Raj <raj.khem@gmail.com> | 2016-01-02 21:37:22 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-21 09:32:01 +0000 |
| commit | 9c3d461c4d54d684b38ec4c038a1c3c2fb9923f0 (patch) | |
| tree | d4974d75c8003d3b5bd2ee5093662b00ed682975 | |
| parent | 6eb64cdd5296c42a46f3485bca403814eec55b2c (diff) | |
| download | openembedded-core-9c3d461c4d54d684b38ec4c038a1c3c2fb9923f0.tar.gz openembedded-core-9c3d461c4d54d684b38ec4c038a1c3c2fb9923f0.tar.bz2 openembedded-core-9c3d461c4d54d684b38ec4c038a1c3c2fb9923f0.zip | |
glibc: Upgrade to 2.23
Drop kconfig and options-group support
Forward port cross-localedef support
Assume ssp support in libc when building gcc-initial
Signed-off-by: Khem Raj <raj.khem@gmail.com>
47 files changed, 816 insertions, 20510 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 5622f3ec16..c412420eaf 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -22,11 +22,11 @@ PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial" PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial ?= "nativesdk-glibc-initial" PREFERRED_PROVIDER_virtual/gettext ??= "gettext" -GCCVERSION ?= "5.%" +GCCVERSION ?= "5.3%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.26%" GDBVERSION ?= "7.10%" -GLIBCVERSION ?= "2.22" +GLIBCVERSION ?= "2.23" UCLIBCVERSION ?= "1.0%" LINUXLIBCVERSION ?= "4.4" diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.22.bb b/meta/recipes-core/glibc/cross-localedef-native_2.23.bb index efcdf4dc63..fa930fd480 100644 --- a/meta/recipes-core/glibc/cross-localedef-native_2.22.bb +++ b/meta/recipes-core/glibc/cross-localedef-native_2.23.bb @@ -24,22 +24,19 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ ${EGLIBCPATCHES} \ " EGLIBCPATCHES = "\ - file://0017-timezone-re-written-tzselect-as-posix-sh.patch \ + file://0016-timezone-re-written-tzselect-as-posix-sh.patch \ + file://0017-Remove-bash-dependency-for-nscd-init-script.patch \ file://0018-eglibc-Cross-building-and-testing-instructions.patch \ - file://0019-eglibc-Bring-Eglibc-option-group-infrastructure-to-g.patch \ - file://0020-eglibc-Help-bootstrap-cross-toolchain.patch \ - file://0021-eglibc-cherry-picked-from-http-www.eglibc.org-archiv.patch \ - file://0022-eglibc-Clear-cache-lines-on-ppc8xx.patch \ - file://0023-eglibc-Resolve-__fpscr_values-on-SH4.patch \ - file://0024-eglibc-Forward-port-eglibc-options-groups-support.patch \ - file://0025-eglibc-Install-PIC-archives.patch \ - file://0026-eglibc-dl_debug_mask-is-controlled-by-__OPTION_EGLIB.patch \ - file://0027-eglibc-use-option-groups-Conditionally-exclude-c-tes.patch \ - file://strcoll-Remove-incorrect-STRDIFF-based-optimization-.patch \ + file://0019-eglibc-Help-bootstrap-cross-toolchain.patch \ + file://0020-eglibc-cherry-picked-from.patch \ + file://0021-eglibc-Clear-cache-lines-on-ppc8xx.patch \ + file://0022-eglibc-Resolve-__fpscr_values-on-SH4.patch \ + file://0023-eglibc-Install-PIC-archives.patch \ + file://0025-eglibc-Forward-port-cross-locale-generation-support.patch \ " -SRCREV_glibc ?= "a34d1c6afc86521d6ad17662a3b5362d8481514c" -SRCREV_localedef ?= "c833367348d39dad7ba018990bfdaffaec8e9ed3" +SRCREV_glibc ?= "e742928c1592b43db6809db4f39e67be151cdd27" +SRCREV_localedef ?= "5a81ff9f06a7a808d4c3d37bbf34077a4c5902ed" # Makes for a rather long rev (22 characters), but... # diff --git a/meta/recipes-core/glibc/glibc-initial.inc b/meta/recipes-core/glibc/glibc-initial.inc index 7214f71404..5975fd26c7 100644 --- a/meta/recipes-core/glibc/glibc-initial.inc +++ b/meta/recipes-core/glibc/glibc-initial.inc @@ -16,7 +16,6 @@ do_configure () { --prefix=/usr \ --without-cvs --disable-sanity-checks \ --with-headers=${STAGING_DIR_TARGET}${includedir} \ - --with-kconfig=${STAGING_BINDIR_NATIVE} \ --enable-hacker-mode --enable-addons } diff --git a/meta/recipes-core/glibc/glibc-initial_2.22.bb b/meta/recipes-core/glibc/glibc-initial_2.23.bb index 8ab01dc79d..e86770e12d 100644 --- a/meta/recipes-core/glibc/glibc-initial_2.22.bb +++ b/meta/recipes-core/glibc/glibc-initial_2.23.bb @@ -1,8 +1,6 @@ require glibc_${PV}.bb require glibc-initial.inc -DEPENDS += "kconfig-frontends-native" - # main glibc recipes muck with TARGET_CPPFLAGS to point into # final target sysroot but we # are not there when building glibc-initial diff --git a/meta/recipes-core/glibc/glibc-locale_2.22.bb b/meta/recipes-core/glibc/glibc-locale_2.23.bb index f7702e0358..f7702e0358 100644 --- a/meta/recipes-core/glibc/glibc-locale_2.22.bb +++ b/meta/recipes-core/glibc/glibc-locale_2.23.bb diff --git a/meta/recipes-core/glibc/glibc-mtrace_2.22.bb b/meta/recipes-core/glibc/glibc-mtrace_2.23.bb index 0b69bad46a..0b69bad46a 100644 --- a/meta/recipes-core/glibc/glibc-mtrace_2.22.bb +++ b/meta/recipes-core/glibc/glibc-mtrace_2.23.bb diff --git a/meta/recipes-core/glibc/glibc-options.inc b/meta/recipes-core/glibc/glibc-options.inc deleted file mode 100644 index 9fd27f32f9..0000000000 --- a/meta/recipes-core/glibc/glibc-options.inc +++ /dev/null @@ -1,162 +0,0 @@ -def glibc_cfg(feature, tokens, cnf): - if type(tokens) == type(""): - tokens = [tokens] - if feature: - cnf.extend([token + '=y' for token in tokens]) - else: - for token in tokens: - cnf.extend([token + '=n']) - if token == 'OPTION_EGLIBC_NSSWITCH': - cnf.extend(["OPTION_EGLIBC_NSSWITCH_FIXED_CONFIG=\"${S}/nss/nsswitch.conf\""]) - cnf.extend(["OPTION_EGLIBC_NSSWITCH_FIXED_FUNCTIONS=\"${S}/nss/fixed-nsswitch.functions\""]) - -# Map distro features to glibc options settings -def features_to_glibc_settings(d): - cnf = ([]) - - ipv4 = bb.utils.contains('DISTRO_FEATURES', 'ipv4', True, False, d) - ipv6 = bb.utils.contains('DISTRO_FEATURES', 'ipv6', True, False, d) - libc_backtrace = bb.utils.contains('DISTRO_FEATURES', 'libc-backtrace', True, False, d) - libc_big_macros = bb.utils.contains('DISTRO_FEATURES', 'libc-big-macros', True, False, d) - libc_bsd = bb.utils.contains('DISTRO_FEATURES', 'libc-bsd', True, False, d) - libc_cxx_tests = bb.utils.contains('DISTRO_FEATURES', 'libc-cxx-tests', True, False, d) - libc_catgets = bb.utils.contains('DISTRO_FEATURES', 'libc-catgets', True, False, d) - libc_charsets = bb.utils.contains('DISTRO_FEATURES', 'libc-charsets', True, False, d) - libc_crypt = bb.utils.contains('DISTRO_FEATURES', 'libc-crypt', True, False, d) - libc_crypt_ufc = bb.utils.contains('DISTRO_FEATURES', 'libc-crypt-ufc', True, False, d) - libc_db_aliases = bb.utils.contains('DISTRO_FEATURES', 'libc-db-aliases', True, False, d) - libc_envz = bb.utils.contains('DISTRO_FEATURES', 'libc-envz', True, False, d) - libc_fcvt = bb.utils.contains('DISTRO_FEATURES', 'libc-fcvt', True, False, d) - libc_fmtmsg = bb.utils.contains('DISTRO_FEATURES', 'libc-fmtmsg', True, False, d) - libc_fstab = bb.utils.contains('DISTRO_FEATURES', 'libc-fstab', True, False, d) - libc_ftraverse = bb.utils.contains('DISTRO_FEATURES', 'libc-ftraverse', True, False, d) - libc_getlogin = bb.utils.contains('DISTRO_FEATURES', 'libc-getlogin', True, False, d) - libc_idn = bb.utils.contains('DISTRO_FEATURES', 'libc-idn', True, False, d) - libc_inet_anl = bb.utils.contains('DISTRO_FEATURES', 'libc-inet-anl', True, False, d) - libc_libm = bb.utils.contains('DISTRO_FEATURES', 'libc-libm', True, False, d) - libc_locales = bb.utils.contains('DISTRO_FEATURES', 'libc-locales', True, False, d) - libc_locale_code = bb.utils.contains('DISTRO_FEATURES', 'libc-locale-code', True, False, d) - libc_memusage = bb.utils.contains('DISTRO_FEATURES', 'libc-memusage', True, False, d) - libc_nis = bb.utils.contains('DISTRO_FEATURES', 'libc-nis', True, False, d) - libc_nsswitch = bb.utils.contains('DISTRO_FEATURES', 'libc-nsswitch', True, False, d) - libc_rcmd = bb.utils.contains('DISTRO_FEATURES', 'libc-rcmd', True, False, d) - libc_rtld_debug = bb.utils.contains('DISTRO_FEATURES', 'libc-rtld-debug', True, False, d) - libc_spawn = bb.utils.contains('DISTRO_FEATURES', 'libc-spawn', True, False, d) - libc_streams = bb.utils.contains('DISTRO_FEATURES', 'libc-streams', True, False, d) - libc_sunrpc = bb.utils.contains('DISTRO_FEATURES', 'libc-sunrpc', True, False, d) - libc_utmp = bb.utils.contains('DISTRO_FEATURES', 'libc-utmp', True, False, d) - libc_utmpx = bb.utils.contains('DISTRO_FEATURES', 'libc-utmpx', True, False, d) - libc_wordexp = bb.utils.contains('DISTRO_FEATURES', 'libc-wordexp', True, False, d) - libc_posix_clang_wchar = bb.utils.contains('DISTRO_FEATURES', 'libc-posix-clang-wchar', True, False, d) - libc_posix_regexp = bb.utils.contains('DISTRO_FEATURES', 'libc-posix-regexp', True, False, d) - libc_posix_regexp_glibc = bb.utils.contains('DISTRO_FEATURES', 'libc-posix-regexp-glibc', True, False, d) - libc_posix_wchar_io = bb.utils.contains('DISTRO_FEATURES', 'libc-posix-wchar-io', True, False, d) - - # arrange the dependencies among glibc configuable options according to file option-groups.def from glibc source code - new_dep = True - while new_dep: - new_dep = False - - if ipv6 and not ipv4: - new_dep = True - ipv4 = True - - if ipv4 and not libc_nsswitch: - new_dep = True - libc_nsswitch = True - - if libc_cxx_tests: - if not libc_posix_wchar_io: - new_dep = True - libc_posix_wchar_io = True - if not libc_libm: - new_dep = True - libc_libm = True - - if libc_catgets and not libc_locale_code: - new_dep = True - libc_locale_code = True - - if libc_crypt_ufc and not libc_crypt: - new_dep = True - libc_crypt = True - - if libc_getlogin and not libc_utmp: - new_dep = True - libc_utmp = True - - if libc_inet_anl and not ipv4: - new_dep = True - ipv4 = True - - if libc_locale_code and not libc_posix_clang_wchar: - new_dep = True - libc_posix_clang_wchar = True - - if libc_nis: - if not ipv4: - new_dep = True - ipv4 = True - if not libc_sunrpc: - new_dep = True - libc_sunrpc = True - - if libc_rcmd and not ipv4: - new_dep = True - ipv4 = True - - if libc_sunrpc and not ipv4: - new_dep = True - ipv4 = True - - if libc_utmpx and not libc_utmp: - new_dep = True - libc_utmp = True - - if libc_posix_regexp_glibc and not libc_posix_regexp: - new_dep = True - libc_posix_regexp = True - - if libc_posix_wchar_io and not libc_posix_clang_wchar: - new_dep = True - libc_posix_clang_wchar = True - - glibc_cfg(ipv6, 'OPTION_EGLIBC_ADVANCED_INET6', cnf) - glibc_cfg(libc_backtrace, 'OPTION_EGLIBC_BACKTRACE', cnf) - glibc_cfg(libc_big_macros, 'OPTION_EGLIBC_BIG_MACROS', cnf) - glibc_cfg(libc_bsd, 'OPTION_EGLIBC_BSD', cnf) - glibc_cfg(libc_cxx_tests, 'OPTION_EGLIBC_CXX_TESTS', cnf) - glibc_cfg(libc_catgets, 'OPTION_EGLIBC_CATGETS', cnf) - glibc_cfg(libc_charsets, 'OPTION_EGLIBC_CHARSETS', cnf) - glibc_cfg(libc_crypt, 'OPTION_EGLIBC_CRYPT', cnf) - glibc_cfg(libc_crypt_ufc, 'OPTION_EGLIBC_CRYPT_UFC', cnf) - glibc_cfg(libc_db_aliases, 'OPTION_EGLIBC_DB_ALIASES', cnf) - glibc_cfg(libc_envz, 'OPTION_EGLIBC_ENVZ', cnf) - glibc_cfg(libc_fcvt, 'OPTION_EGLIBC_FCVT', cnf) - glibc_cfg(libc_fmtmsg, 'OPTION_EGLIBC_FMTMSG', cnf) - glibc_cfg(libc_fstab, 'OPTION_EGLIBC_FSTAB', cnf) - glibc_cfg(libc_ftraverse, 'OPTION_EGLIBC_FTRAVERSE', cnf) - glibc_cfg(libc_getlogin, 'OPTION_EGLIBC_GETLOGIN', cnf) - glibc_cfg(libc_idn, 'OPTION_EGLIBC_IDN', cnf) - glibc_cfg(ipv4, 'OPTION_EGLIBC_INET', cnf) - glibc_cfg(libc_inet_anl, 'OPTION_EGLIBC_INET_ANL', cnf) - glibc_cfg(libc_libm, 'OPTION_EGLIBC_LIBM', cnf) - glibc_cfg(libc_locales, 'OPTION_EGLIBC_LOCALES', cnf) - glibc_cfg(libc_locale_code, 'OPTION_EGLIBC_LOCALE_CODE', cnf) - glibc_cfg(libc_memusage, 'OPTION_EGLIBC_MEMUSAGE', cnf) - glibc_cfg(libc_nis, 'OPTION_EGLIBC_NIS', cnf) - glibc_cfg(libc_nsswitch, 'OPTION_EGLIBC_NSSWITCH', cnf) - glibc_cfg(libc_rcmd, 'OPTION_EGLIBC_RCMD', cnf) - glibc_cfg(libc_rtld_debug, 'OPTION_EGLIBC_RTLD_DEBUG', cnf) - glibc_cfg(libc_spawn, 'OPTION_EGLIBC_SPAWN', cnf) - glibc_cfg(libc_streams, 'OPTION_EGLIBC_STREAMS', cnf) - glibc_cfg(libc_sunrpc, 'OPTION_EGLIBC_SUNRPC', cnf) - glibc_cfg(libc_utmp, 'OPTION_EGLIBC_UTMP', cnf) - glibc_cfg(libc_utmpx, 'OPTION_EGLIBC_UTMPX', cnf) - glibc_cfg(libc_wordexp, 'OPTION_EGLIBC_WORDEXP', cnf) - glibc_cfg(libc_posix_clang_wchar, 'OPTION_POSIX_C_LANG_WIDE_CHAR', cnf) - glibc_cfg(libc_posix_regexp, 'OPTION_POSIX_REGEXP', cnf) - glibc_cfg(libc_posix_regexp_glibc, 'OPTION_POSIX_REGEXP_GLIBC', cnf) - glibc_cfg(libc_posix_wchar_io, 'OPTION_POSIX_WIDE_CHAR_DEVICE_IO', cnf) - - return "\n".join(cnf) diff --git a/meta/recipes-core/glibc/glibc-scripts_2.22.bb b/meta/recipes-core/glibc/glibc-scripts_2.23.bb index 5a89bd8022..5a89bd8022 100644 --- a/meta/recipes-core/glibc/glibc-scripts_2.22.bb +++ b/meta/recipes-core/glibc/glibc-scripts_2.23.bb diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc index 7c4551a4aa..5711209c71 100644 --- a/meta/recipes-core/glibc/glibc.inc +++ b/meta/recipes-core/glibc/glibc.inc @@ -44,12 +44,6 @@ DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial libgcc-initial linux-libc-headers PROVIDES = "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" PROVIDES += "virtual/libintl virtual/libiconv" inherit autotools texinfo distro_features_check systemd -require glibc-options.inc - -# The main purpose of setting this variable is to prevent users from accidently -# overriding DISTRO_FEATRUES, causing obscure build failures because of lack -# of libc functions. -REQUIRED_DISTRO_FEATURES = "${DISTRO_FEATURES_LIBC}" LEAD_SONAME = "libc.so" @@ -58,6 +52,7 @@ CACHED_CONFIGUREVARS += " \ libc_cv_slibdir=${base_libdir} \ libc_cv_rootsbindir=${base_sbindir} \ libc_cv_localedir=${localedir} \ + libc_cv_ssp_strong=no \ libc_cv_ssp=no \ " @@ -82,18 +77,8 @@ PARALLEL_MAKE = "" # ensure make uses /bin/bash EXTRA_OEMAKE += "SHELL=/bin/bash" -OE_FEATURES = "${@features_to_glibc_settings(d)}" do_configure_prepend() { sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in - echo '${OE_FEATURES}' > ${B}/option-groups.config -} - -do_configure_append() { - yes '' | oe_runmake config - - # Remove quotation marks from OPTION_EGLIBC_NSSWITCH_FIXED_*. This will - # avoid install error. - sed -i 's/^OPTION_EGLIBC_NSSWITCH_FIXED_\(.*\)="\(.*\)"$/OPTION_EGLIBC_NSSWITCH_FIXED_\1=\2/' option-groups.config } GLIBC_ADDONS ?= "nptl,libidn" diff --git a/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch b/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch index 3d66348133..97c280059f 100644 --- a/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch +++ b/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch @@ -1,7 +1,7 @@ -From 0876fea1b5b26da84f298714a2e23ba696607dba Mon Sep 17 00:00:00 2001 +From 66d04e2cd8badb0984050e4e9f2732f47151fbbf Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Wed, 18 Mar 2015 01:48:24 +0000 -Subject: [PATCH 01/27] nativesdk-glibc: Look for host system ld.so.cache as +Subject: [PATCH 01/24] nativesdk-glibc: Look for host system ld.so.cache as well Upstream-Status: Inappropriate [embedded specific] @@ -27,18 +27,17 @@ RP 14/10/2010 Signed-off-by: Khem Raj <raj.khem@gmail.com> --- - elf/dl-load.c | 17 ++++++++--------- - 1 file changed, 8 insertions(+), 9 deletions(-) + elf/dl-load.c | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/elf/dl-load.c b/elf/dl-load.c -index 0c052e4..f45085a 100644 +index 6fb615e..ee3d1e6 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c -@@ -2040,7 +2040,14 @@ _dl_map_object (struct link_map *loader, const char *name, - fd = open_path (name, namelen, mode, - &loader->l_runpath_dirs, &realname, &fb, loader, - LA_SER_RUNPATH, &found_other_class); -- +@@ -2094,6 +2094,14 @@ _dl_map_object (struct link_map *loader, const char *name, + } + } + + /* try the default path. */ + if (fd == -1 + && ((l = loader ?: GL(dl_ns)[nsid]._ns_loaded) == NULL @@ -50,7 +49,7 @@ index 0c052e4..f45085a 100644 #ifdef USE_LDCONFIG if (fd == -1 && (__glibc_likely ((mode & __RTLD_SECURE) == 0) -@@ -2099,14 +2106,6 @@ _dl_map_object (struct link_map *loader, const char *name, +@@ -2152,14 +2160,6 @@ _dl_map_object (struct link_map *loader, const char *name, } #endif @@ -66,5 +65,5 @@ index 0c052e4..f45085a 100644 if (__glibc_unlikely (GLRO(dl_debug_mask) & DL_DEBUG_LIBS)) _dl_debug_printf ("\n"); -- -2.1.4 +2.6.4 diff --git a/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch b/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch index b568fc6bdc..473b89449d 100644 --- a/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch +++ b/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch @@ -1,7 +1,7 @@ -From 086b65d9aacffc47fcd8df68818a476a5ae76fa1 Mon Sep 17 00:00:00 2001 +From 179dc5f1e13c3ff96d5f21a2a78c089cf120ceb8 Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Wed, 18 Mar 2015 01:50:00 +0000 -Subject: [PATCH 02/27] nativesdk-glibc: Fix buffer overrun with a relocated +Subject: [PATCH 02/24] nativesdk-glibc: Fix buffer overrun with a relocated SDK When ld-linux-*.so.2 is relocated to a path that is longer than the @@ -22,10 +22,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> 1 file changed, 12 insertions(+) diff --git a/elf/dl-load.c b/elf/dl-load.c -index f45085a..f1eb5ed 100644 +index ee3d1e6..c4a42e9 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c -@@ -1765,7 +1765,19 @@ open_path (const char *name, size_t namelen, int mode, +@@ -1793,7 +1793,19 @@ open_path (const char *name, size_t namelen, int mode, given on the command line when rtld is run directly. */ return -1; @@ -46,5 +46,5 @@ index f45085a..f1eb5ed 100644 { struct r_search_path_elem *this_dir = *dirs; -- -2.1.4 +2.6.4 diff --git a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch index a681a64e85..dde94b450c 100644 --- a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch +++ b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch @@ -1,7 +1,7 @@ -From fd595a5ec885bcb4c14417daa21c2e61c5b72e42 Mon Sep 17 00:00:00 2001 +From e76048898ae9aa49dc70d6f9b1bbc22082e61fe3 Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Wed, 18 Mar 2015 01:51:38 +0000 -Subject: [PATCH 03/27] nativesdk-glibc: Raise the size of arrays containing dl +Subject: [PATCH 03/24] nativesdk-glibc: Raise the size of arrays containing dl paths This patch puts the dynamic loader path in the binaries, SYSTEM_DIRS strings @@ -40,10 +40,10 @@ index dec49bc..862f1d8 100644 internal_function _dl_cache_libcmp (const char *p1, const char *p2) diff --git a/elf/dl-load.c b/elf/dl-load.c -index f1eb5ed..f664f50 100644 +index c4a42e9..acf6c03 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c -@@ -104,8 +104,8 @@ static size_t max_capstrlen attribute_relro; +@@ -106,8 +106,8 @@ static size_t max_capstrlen attribute_relro; /* Get the generated information about the trusted directories. */ #include "trusted-dirs.h" @@ -80,7 +80,7 @@ index f54ec22..0e78a83 100644 a platform. */ static int diff --git a/elf/rtld.c b/elf/rtld.c -index 69873c2..6d3add7 100644 +index 52160df..80f0582 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -99,6 +99,7 @@ uintptr_t __pointer_chk_guard_local @@ -91,7 +91,7 @@ index 69873c2..6d3add7 100644 /* List of auditing DSOs. */ static struct audit_list -@@ -877,12 +878,12 @@ of this helper program; chances are you did not intend to run this program.\n\ +@@ -873,12 +874,12 @@ of this helper program; chances are you did not intend t |
