From 211e4207125b7ebd6c182dd751d5b48fc55e2fcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Wed, 24 Oct 2018 21:02:03 +0200 Subject: [PATCH] Do not use gold as linker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Have never understood what value is returned for extra effords caused by gold * Seems there are not too many out there using gold - otherwise I cannot understand why nobody complains for important packages complaing for missing symbols (e.g dhclient / plymouth) Signed-off-by: Andreas Müller --- TODO | 2 -- conf/distro/include/mortsgna-glibc.inc | 4 ---- 2 files changed, 6 deletions(-) diff --git a/TODO b/TODO index aade478..54609f2 100644 --- a/TODO +++ b/TODO @@ -2,8 +2,6 @@ These are tasks are planned: OE: * Introduce security_flags.inc -* Get rid of gold - the only adavantage I see is for sending patches: Recipes - passing with gold are likely to pass for other linkers Scripts: * get rid of bashisms diff --git a/conf/distro/include/mortsgna-glibc.inc b/conf/distro/include/mortsgna-glibc.inc index 0d67e3a..2bbf5b6 100644 --- a/conf/distro/include/mortsgna-glibc.inc +++ b/conf/distro/include/mortsgna-glibc.inc @@ -14,8 +14,4 @@ TARGET_OS .= "${@['','-gnuspe'][d.getVar('TUNE_PKGARCH',d,1) in ['ppce500', 'ppc TARGET_LINK_HASH_STYLE = "${@['-Wl,--hash-style=gnu',''][d.getVar('TARGET_ARCH',d,1) in ['mips', 'mipsel', 'mips64', 'mips64el']]}" -# We use gold as default linker for arm/x86 on eglibc based images -DISTRO_FEATURES_append_arm = " ld-is-gold" -DISTRO_FEATURES_append_x86 = " ld-is-gold" -DISTRO_FEATURES_append_x86-64 = " ld-is-gold"