diff options
| -rw-r--r-- | meta/recipes-core/glibc/ldconfig-native-2.12.1/no-aux-cache.patch | 19 | ||||
| -rw-r--r-- | meta/recipes-core/glibc/ldconfig-native_2.12.1.bb | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/ldconfig-native-2.12.1/no-aux-cache.patch b/meta/recipes-core/glibc/ldconfig-native-2.12.1/no-aux-cache.patch new file mode 100644 index 0000000000..c6765ba00d --- /dev/null +++ b/meta/recipes-core/glibc/ldconfig-native-2.12.1/no-aux-cache.patch | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | The ldconfig auxiliary cache is a dictionary where the keys include inode, so | ||
| 2 | there is no point in writing these files on the build host. | ||
| 3 | |||
| 4 | Upstream-Status: Inappropriate | ||
| 5 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
| 6 | |||
| 7 | diff --git a/ldconfig.c b/ldconfig.c | ||
| 8 | index 2c4eb57..2d6dc92 100644 | ||
| 9 | --- a/ldconfig.c | ||
| 10 | +++ b/ldconfig.c | ||
| 11 | @@ -1399,8 +1399,6 @@ main (int argc, char **argv) | ||
| 12 | if (opt_build_cache) | ||
| 13 | { | ||
| 14 | save_cache (cache_file); | ||
| 15 | - if (aux_cache_file) | ||
| 16 | - save_aux_cache (aux_cache_file); | ||
| 17 | } | ||
| 18 | |||
| 19 | return 0; | ||
diff --git a/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb b/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb index 93c0b18671..919d11417d 100644 --- a/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb +++ b/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb | |||
| @@ -14,6 +14,7 @@ SRC_URI = "file://ldconfig-native-2.12.1.tar.bz2 \ | |||
| 14 | file://ldconfig-default-to-all-multilib-dirs.patch \ | 14 | file://ldconfig-default-to-all-multilib-dirs.patch \ |
| 15 | file://endian-ness_handling_fix.patch \ | 15 | file://endian-ness_handling_fix.patch \ |
| 16 | file://add-64-bit-flag-for-ELF64-entries.patch \ | 16 | file://add-64-bit-flag-for-ELF64-entries.patch \ |
| 17 | file://no-aux-cache.patch \ | ||
| 17 | " | 18 | " |
| 18 | 19 | ||
| 19 | PR = "r2" | 20 | PR = "r2" |
