[OE-core] [PATCH] directfb.inc: enable bfd linker workaround for all arm targets
Khem Raj
raj.khem at gmail.com
Thu Jan 14 18:25:51 UTC 2016
Andre
I have a fix for this issue in binutils
can you try it out if it works for you ?
https://github.com/kraj/openembedded-core/commit/0e35ad5a35262cfb7a6249ce158f76d1399d6cb4
> On Dec 21, 2015, at 5:07 PM, Andre McCurdy <armccurdy at gmail.com> wrote:
>
> Although the gold linker problems with DirectFB have only so far been
> observed with armv7a, they could potentially affect future arm targets
> too. Since there's no particular downside to using the bfd linker for
> DirectFB, apply the workaround to all arm targets.
>
> Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
> ---
> meta/recipes-graphics/directfb/directfb.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-graphics/directfb/directfb.inc b/meta/recipes-graphics/directfb/directfb.inc
> index b905ab0..603aba3 100644
> --- a/meta/recipes-graphics/directfb/directfb.inc
> +++ b/meta/recipes-graphics/directfb/directfb.inc
> @@ -23,7 +23,7 @@ S = "${WORKDIR}/DirectFB-${PV}"
> LDFLAGS_append =" -lts -lm"
>
> # Workaround for linking issues seen with armv7a + gold
> -LDFLAGS_append_armv7a = "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
> +LDFLAGS_append_arm = "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
>
> BINCONFIG = "${bindir}/directfb-config"
>
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160114/d5cf4146/attachment-0002.sig>
More information about the Openembedded-core
mailing list