[Angstrom-devel] [PATCH 3/4] angstrom-bleeding: Enable gold as default linker on arm/x86/x86_64

Khem Raj raj.khem at gmail.com
Thu Oct 6 05:29:53 CEST 2011


On 10/5/2011 8:22 PM, Khem Raj wrote:
> Signed-off-by: Khem Raj<raj.khem at gmail.com>
> ---
>   conf/distro/angstrom-bleeding.conf |    7 +++++++
>   1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/conf/distro/angstrom-bleeding.conf b/conf/distro/angstrom-bleeding.conf
> index 057c05f..795f43d 100644
> --- a/conf/distro/angstrom-bleeding.conf
> +++ b/conf/distro/angstrom-bleeding.conf
> @@ -24,3 +24,10 @@ DISTRO_PR = ".10"
>
>   # set feed path variables
>   FEED_BASEPATH = "feeds/bleeding-core/${ANGSTROM_PKG_FORMAT}/${TCLIBC}/"
> +
> +DISTRO_FEATURES += "${LDISGOLD}"
> +LDISGOLD_arm = "ld-is-gold"
> +LDISGOLD_x86 = "ld-is-gold"
> +LDISGOLD_x86_64 = "ld-is-gold"
> +LDISGOLD = ""
> +

This patch needs a bit of explanation. Gold is alternative linker that I 
am experimenting with in meta-angstrom. So far it has proved good on
building console-image for arm/x86/x86_64 and few fixes needed for 
meta-oe layer. This patch make gold as default linker on these 
architectures instead of traditional BFD based GNU ld.

GNU ld is still used for eglibc and kernel since they can not yet be 
linked with gold.

Now I will be trying to build systemd-gnome-image on ARM and see how 
that goes and fix the fallouts if any.

Please help testing it out. All thats needed is setting 
DISTRO=angstrom-bleeding

Thx
-Khem



More information about the Angstrom-distro-devel mailing list