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/flag_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/flag_fix.patch')
-rw-r--r-- | meta/recipes-core/glibc/ldconfig-native-2.12.1/flag_fix.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/ldconfig-native-2.12.1/flag_fix.patch b/meta/recipes-core/glibc/ldconfig-native-2.12.1/flag_fix.patch new file mode 100644 index 0000000000..4e9aab9416 --- /dev/null +++ b/meta/recipes-core/glibc/ldconfig-native-2.12.1/flag_fix.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | The native version of ldconfig was using native definition of LD_SO (i.e. | ||
4 | ld-linux-x86-64.so.2 ) which is not correct for doing the cross ldconfig. | ||
5 | This was causing libc.so on the target marked as ELF lib rather than | ||
6 | FLAG_ELF_LIBC6 in the ld.so.cache. | ||
7 | |||
8 | Nitin A Kamble <nitin.a.kamble@intel.com> 2011/04/4 | ||
9 | |||
10 | Index: ldconfig-native-2.12.1/readlib.c | ||
11 | =================================================================== | ||
12 | --- ldconfig-native-2.12.1.orig/readlib.c | ||
13 | +++ ldconfig-native-2.12.1/readlib.c | ||
14 | @@ -51,6 +51,10 @@ struct known_names | ||
15 | int flag; | ||
16 | }; | ||
17 | |||
18 | +/* don't use host's definition of LD_SO */ | ||
19 | +#undef LD_SO | ||
20 | +#define LD_SO "ld.so.1" | ||
21 | + | ||
22 | static struct known_names interpreters[] = | ||
23 | { | ||
24 | { "/lib/" LD_SO, FLAG_ELF_LIBC6 }, | ||