]> code.ossystems Code Review - openembedded-core.git/commitdiff
binutils: Do not build gold linker on mips/glibc
authorKhem Raj <raj.khem@gmail.com>
Wed, 1 Apr 2020 18:13:31 +0000 (11:13 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Apr 2020 22:18:09 +0000 (23:18 +0100)
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/binutils/binutils.inc

index 53f46bb611a51afc31a1d9bb9a066847f2cfc11f..f6c20fc229c819e5d7b235d5e8dfe397406dd0aa 100644 (file)
@@ -38,6 +38,7 @@ FILES_${PN}-dev = " \
 LDGOLD_ALTS ?= "ld.gold dwp"
 LDGOLD_ALTS_riscv64 = ""
 LDGOLD_ALTS_riscv32 = ""
+LDGOLD_ALTS_libc-glibc_mipsarch = ""
 
 USE_ALTERNATIVES_FOR = " \
        addr2line \
@@ -84,6 +85,7 @@ EXTRA_TARGETS_class-native = ""
 
 LDGOLD_class-native = ""
 LDGOLD_class-crosssdk = ""
+LDGOLD_libc-glibc_mipsarch = ""
 LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}"