summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-04-01 11:13:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-04-02 15:24:59 +0100
commit93b4aeecbbf64e92a09159bc486e8bd0c0429703 (patch)
tree62461521f5e92f5ba6cdf07dfdff1101eeb49f50
parentf07c7dfc3318bf2476be1f1bbc4dd105af73c81c (diff)
downloadpoky-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>
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc2
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 = " \
38LDGOLD_ALTS ?= "ld.gold dwp" 38LDGOLD_ALTS ?= "ld.gold dwp"
39LDGOLD_ALTS_riscv64 = "" 39LDGOLD_ALTS_riscv64 = ""
40LDGOLD_ALTS_riscv32 = "" 40LDGOLD_ALTS_riscv32 = ""
41LDGOLD_ALTS_libc-glibc_mipsarch = ""
41 42
42USE_ALTERNATIVES_FOR = " \ 43USE_ALTERNATIVES_FOR = " \
43 addr2line \ 44 addr2line \
@@ -84,6 +85,7 @@ EXTRA_TARGETS_class-native = ""
84 85
85LDGOLD_class-native = "" 86LDGOLD_class-native = ""
86LDGOLD_class-crosssdk = "" 87LDGOLD_class-crosssdk = ""
88LDGOLD_libc-glibc_mipsarch = ""
87LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}" 89LDGOLD ?= "${@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