diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-08-28 06:00:54 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-01 18:02:21 +0100 |
commit | 54a3375a1084f02ebd95886739e951228e945c57 (patch) | |
tree | fe139449256b0ed85504b896a9782bccd8a9d3a1 /meta/recipes-core/glibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch | |
parent | 954e45bc7464573ed4776dbcd72eb76d4fca0b3d (diff) | |
download | poky-54a3375a1084f02ebd95886739e951228e945c57.tar.gz |
glibc: Migrate eglibc 2.19 -> glibc 2.20
- This is a big swoop change where we switch to using glibc
- option-groups are forward ported
- cross-localedef is extracted out from eglibc and hosted
at github.com/kraj/localedef, its used for cross-localedef
recipe
- Other non ported patches from eglibc are forward ported
ppc8xx cache line workaround
SH fpcr values
dynamic resolver
installing PIC archives is there but is not applied
libc header bootstrap
- Delete eglibc recipes we moved back to using glibc now
- Fix ppc/e500 build
- Fix crypt module build when options are used
- Fix fnmatch build when options OPTION_EGLIBC_LOCALE_CODE is unset
HAVE_MBSTATE_T and HAVE_MBSRTOWCS should be defined conditionally
based upon OPTION_EGLIBC_LOCALE_CODE being set/unset
- Move the ports/ patches to relevant files now that ports is gone
(From OE-Core rev: 1027c535ea753e63d9ffe469a423e04467cf8940)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch')
-rw-r--r-- | meta/recipes-core/glibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch b/meta/recipes-core/glibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch new file mode 100644 index 0000000000..27bc411078 --- /dev/null +++ b/meta/recipes-core/glibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Coming from this bug: http://sourceware.org/bugzilla/show_bug.cgi?id=11149 | ||
4 | |||
5 | Nitin A Kamble <nitin.a.kamble@intel.com>2011/03/29 | ||
6 | |||
7 | --- ldconfig-native-2.12.1.orig/ldconfig.c | ||
8 | +++ ldconfig-native-2.12.1/ldconfig.c | ||
9 | @@ -1359,14 +1359,9 @@ main (int argc, char **argv) | ||
10 | |||
11 | const char *aux_cache_file = _PATH_LDCONFIG_AUX_CACHE; | ||
12 | if (opt_chroot) | ||
13 | - { | ||
14 | - aux_cache_file = chroot_canon (opt_chroot, aux_cache_file); | ||
15 | - if (aux_cache_file == NULL) | ||
16 | - error (EXIT_FAILURE, errno, _("Can't open cache file %s\n"), | ||
17 | - _PATH_LDCONFIG_AUX_CACHE); | ||
18 | - } | ||
19 | + aux_cache_file = chroot_canon (opt_chroot, aux_cache_file); | ||
20 | |||
21 | - if (! opt_ignore_aux_cache) | ||
22 | + if (! opt_ignore_aux_cache && aux_cache_file) | ||
23 | load_aux_cache (aux_cache_file); | ||
24 | else | ||
25 | init_aux_cache (); | ||
26 | @@ -1376,7 +1371,8 @@ main (int argc, char **argv) | ||
27 | if (opt_build_cache) | ||
28 | { | ||
29 | save_cache (cache_file); | ||
30 | - save_aux_cache (aux_cache_file); | ||
31 | + if (aux_cache_file) | ||
32 | + save_aux_cache (aux_cache_file); | ||
33 | } | ||
34 | |||
35 | return 0; | ||
36 | |||