mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02:00
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. (From OE-Core rev: 4015f3279aaced1c5d9ae8a6e666c9fba42558df) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user