From: Khem Raj Date: Sun, 7 Oct 2018 01:29:16 +0000 (-0700) Subject: ffmpeg: use bfd linker always for x86 target X-Git-Tag: uninative-2.3~137 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4015f3279aaced1c5d9ae8a6e666c9fba42558df;p=openembedded-core.git ffmpeg: use bfd linker always for x86 target gold crashes when linking, so use bfd linker here, another option is to use --disable-asm but then we loose performance. Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb index 58f58fc5c8..7d1af04047 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb @@ -117,6 +117,10 @@ EXTRA_OECONF = " \ " EXTRA_OECONF_append_linux-gnux32 = " --disable-asm" +# gold crashes on x86, another solution is to --disable-asm but thats more hacky +# ld.gold: internal error in relocate_section, at ../../gold/i386.cc:3684 + +LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" do_configure() { ${S}/configure ${EXTRA_OECONF}