[oe-commits] [openembedded-core] 11/13: gstreamer1.0-plugins-common.inc: disable orc on mips

git at git.openembedded.org git at git.openembedded.org
Mon Feb 3 23:33:16 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit b80bf495326077c682b6dfdd2461087dd61c2f99
Author: Mingli Yu <mingli.yu at windriver.com>
AuthorDate: Wed Jan 22 00:35:47 2020 -0800

    gstreamer1.0-plugins-common.inc: disable orc on mips
    
    After transiton to meson build for gstreamer series,
    for gstreamer1.0-plugins-base, with below two commits
    introduced:
    238080ed89 gstreamer: Remove unused common files and patches
    20614408dc gstreamer1.0-plugins-base: Transition to meson based builds
    
    With below config in local.conf
    MACHINE ??= "qemumips64"
    require conf/multilib.conf
    MULTILIB_GLOBAL_VARIANTS_append = " libn32"
    MULTILIBS ?= "multilib:lib32 multilib:libn32"
    DEFAULTTUNE_virtclass-multilib-lib32 ?= "mips"
    DEFAULTTUNE_virtclass-multilib-libn32 ?= "mips64-n32"
    
    there comes below failure:
    $ bitbake lib32-gstreamer1.0-plugins-base
    [snip]
    mips-pokymllib32-linux-gcc -meb -mabi=32 -mhard-float -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mybuild/tmp/work/mips-pokymllib32-linux/lib32-gstreamer1.0-plugins-base/1.16.1-r0/lib32-recipe-sysroot -Itests/check/7d01337@@orc_video at exe -Itests/check -I../gst-plugins-base-1.16.1/tests/check -I/mybuild/tmp/work/mips-pokymllib32-linux/lib32-gstreamer1.0-plugins-base/1.16.1-r0/lib32-recipe-sysroot/usr/include/orc-0.4 -fdiagn [...]
     sr/src/debug/lib32-gstreamer1.0-plugins-base/1.16.1-r0 -fdebug-prefix-map=/mybuild/tmp/work/mips-pokymllib32-linux/lib32-gstreamer1.0-plugins-base/1.16.1-r0=/usr/src/debug/lib32-gstreamer1.0-plugins-base/1.16.1-r0 -fdebug-prefix-map=/mybuild/tmp/work/mips-pokymllib32-linux/lib32-gstreamer1.0-plugins-base/1.16.1-r0/lib32-recipe-sysroot= -fdebug-prefix-map=/mybuild/tmp/work/mips-pokymllib32-linux/lib32-gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native= -MD -MQ 'tests/check/7d01 [...]
    FAILED: tests/check/7d01337@@orc_video at exe/meson-generated_.._orc_video.c.o
    {standard input}: Assembler messages:
    {standard input}:46587: Error: branch out of range
    {standard input}:46613: Error: branch out of range
    [snip]
    
    BTW, gstreamer1.0-plugins-good also occurs
    the same build failure as above.
    
    Disable orc as workaround to fix the above issue
    
    Signed-off-by: Mingli Yu <mingli.yu at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
index ccf5550..dba96e0 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
@@ -18,7 +18,10 @@ require gstreamer1.0-plugins-packaging.inc
 # This value is used in the PACKAGECONFIG values for each plugin set recipe.
 # By modifying it, Orc can be enabled/disabled in all of these recipes at once.
 GSTREAMER_ORC ?= "orc"
-
+# workaround to disable orc on mips to fix the build failure
+# {standard input}: Assembler messages:
+# {standard input}:46587: Error: branch out of range
+GSTREAMER_ORC_mips = ""
 PACKAGECONFIG[orc] = "-Dorc=enabled,-Dorc=disabled,orc orc-native"
 
 # TODO: put this in a gettext.bbclass patch (with variables to allow for

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list