diff options
| -rw-r--r-- | meta/recipes-core/eglibc/eglibc-2.19/grok_gold.patch | 34 | ||||
| -rw-r--r-- | meta/recipes-core/eglibc/eglibc_2.19.bb | 1 |
2 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.19/grok_gold.patch b/meta/recipes-core/eglibc/eglibc-2.19/grok_gold.patch new file mode 100644 index 0000000000..d46737af98 --- /dev/null +++ b/meta/recipes-core/eglibc/eglibc-2.19/grok_gold.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | Make ld --version output matching grok gold's output | ||
| 2 | |||
| 3 | adapted from from upstream branch roland/gold-vs-libc | ||
| 4 | |||
| 5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 6 | Upstream-Status: Backport | ||
| 7 | |||
| 8 | |||
| 9 | Index: libc/configure | ||
| 10 | =================================================================== | ||
| 11 | --- libc.orig/configure | ||
| 12 | +++ libc/configure | ||
| 13 | @@ -4654,7 +4654,7 @@ else | ||
| 14 | # Found it, now check the version. | ||
| 15 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5 | ||
| 16 | $as_echo_n "checking version of $LD... " >&6; } | ||
| 17 | - ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'` | ||
| 18 | + ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU [Bbinutilsd][^.]* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'` | ||
| 19 | case $ac_prog_version in | ||
| 20 | '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; | ||
| 21 | 2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*) | ||
| 22 | Index: libc/configure.ac | ||
| 23 | =================================================================== | ||
| 24 | --- libc.orig/configure.ac | ||
| 25 | +++ libc/configure.ac | ||
| 26 | @@ -990,7 +990,7 @@ AC_CHECK_PROG_VER(AS, $AS, --version, | ||
| 27 | [GNU assembler.* \([0-9]*\.[0-9.]*\)], | ||
| 28 | [2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*], AS=: critic_missing="$critic_missing as") | ||
| 29 | AC_CHECK_PROG_VER(LD, $LD, --version, | ||
| 30 | - [GNU ld.* \([0-9][0-9]*\.[0-9.]*\)], | ||
| 31 | + [GNU [Bbinutilsd][^.]* \([0-9][0-9]*\.[0-9.]*\)], | ||
| 32 | [2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*], LD=: critic_missing="$critic_missing ld") | ||
| 33 | |||
| 34 | # These programs are version sensitive. | ||
diff --git a/meta/recipes-core/eglibc/eglibc_2.19.bb b/meta/recipes-core/eglibc/eglibc_2.19.bb index 1ddce8224a..10b4bb1a7f 100644 --- a/meta/recipes-core/eglibc/eglibc_2.19.bb +++ b/meta/recipes-core/eglibc/eglibc_2.19.bb | |||
| @@ -25,6 +25,7 @@ SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr25 | |||
| 25 | file://0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch \ | 25 | file://0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch \ |
| 26 | file://fix-tibetian-locales.patch \ | 26 | file://fix-tibetian-locales.patch \ |
| 27 | file://ppce6500-32b_slow_ieee754_sqrt.patch \ | 27 | file://ppce6500-32b_slow_ieee754_sqrt.patch \ |
| 28 | file://grok_gold.patch \ | ||
| 28 | " | 29 | " |
| 29 | SRC_URI[md5sum] = "197836c2ba42fb146e971222647198dd" | 30 | SRC_URI[md5sum] = "197836c2ba42fb146e971222647198dd" |
| 30 | SRC_URI[sha256sum] = "baaa030531fc308f7820c46acdf8e1b2f8e3c1f40bcd28b6e440d1c95d170d4c" | 31 | SRC_URI[sha256sum] = "baaa030531fc308f7820c46acdf8e1b2f8e3c1f40bcd28b6e440d1c95d170d4c" |
