diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-04-01 11:13:31 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-02 15:24:59 +0100 |
commit | 93b4aeecbbf64e92a09159bc486e8bd0c0429703 (patch) | |
tree | 62461521f5e92f5ba6cdf07dfdff1101eeb49f50 /meta/recipes-devtools | |
parent | f07c7dfc3318bf2476be1f1bbc4dd105af73c81c (diff) | |
download | poky-93b4aeecbbf64e92a09159bc486e8bd0c0429703.tar.gz |
binutils: Do not build gold linker on mips/glibc
Using gnu_hash style is unsupported on gold for now therefore disable
building gold on mips/glibc
Certain applications poke for presence of gold linker and silently use
it (webkit), therefore its best to disable building it
(From OE-Core rev: b1b98ed4fafa9d37f71cbfe18f7a00ce2643449e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc index 53f46bb611..f6c20fc229 100644 --- a/meta/recipes-devtools/binutils/binutils.inc +++ b/meta/recipes-devtools/binutils/binutils.inc | |||
@@ -38,6 +38,7 @@ FILES_${PN}-dev = " \ | |||
38 | LDGOLD_ALTS ?= "ld.gold dwp" | 38 | LDGOLD_ALTS ?= "ld.gold dwp" |
39 | LDGOLD_ALTS_riscv64 = "" | 39 | LDGOLD_ALTS_riscv64 = "" |
40 | LDGOLD_ALTS_riscv32 = "" | 40 | LDGOLD_ALTS_riscv32 = "" |
41 | LDGOLD_ALTS_libc-glibc_mipsarch = "" | ||
41 | 42 | ||
42 | USE_ALTERNATIVES_FOR = " \ | 43 | USE_ALTERNATIVES_FOR = " \ |
43 | addr2line \ | 44 | addr2line \ |
@@ -84,6 +85,7 @@ EXTRA_TARGETS_class-native = "" | |||
84 | 85 | ||
85 | LDGOLD_class-native = "" | 86 | LDGOLD_class-native = "" |
86 | LDGOLD_class-crosssdk = "" | 87 | LDGOLD_class-crosssdk = "" |
88 | LDGOLD_libc-glibc_mipsarch = "" | ||
87 | LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}" | 89 | LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}" |
88 | 90 | ||
89 | 91 | ||