All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gstreamer1.0-plugins-common.inc: disable orc on mips
@ 2020-01-21  7:19 mingli.yu
  2020-01-21  7:32 ` ✗ patchtest: failure for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: mingli.yu @ 2020-01-21  7:19 UTC (permalink / raw
  To: crg7475, openembedded-core

From: Mingli Yu <mingli.yu@windriver.com>

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@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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wmissing-declarations -Wredundant-decls -Wundef -Wwrite-strings -Wformat -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith -Wmissing-prototypes -Wdeclaration-after-statement -O2 -g -feliminate-unused-debug-types -fmacro-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=/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/7d01337@@orc_video@exe/meson-generated_.._orc_video.c.o' -MF 'tests/check/7d01337@@orc_video@exe/meson-generated_.._orc_video.c.o.d' -o 'tests/check/7d01337@@orc_video@exe/meson-generated_.._orc_video.c.o' -c tests/check/orc_video.c
FAILED: tests/check/7d01337@@orc_video@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@windriver.com>
---
 .../findutils/{findutils_4.6.0.bb => findutils_4.7.0.bb}     | 0
 .../gstreamer/gstreamer1.0-plugins-common.inc                | 5 ++++-
 2 files changed, 4 insertions(+), 1 deletion(-)
 rename meta/recipes-extended/findutils/{findutils_4.6.0.bb => findutils_4.7.0.bb} (100%)

diff --git a/meta/recipes-extended/findutils/findutils_4.6.0.bb b/meta/recipes-extended/findutils/findutils_4.7.0.bb
similarity index 100%
rename from meta/recipes-extended/findutils/findutils_4.6.0.bb
rename to meta/recipes-extended/findutils/findutils_4.7.0.bb
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
index ccf55500a9..3896424b2d 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_remove_mips = "orc"
 PACKAGECONFIG[orc] = "-Dorc=enabled,-Dorc=disabled,orc orc-native"
 
 # TODO: put this in a gettext.bbclass patch (with variables to allow for
-- 
2.23.0



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* ✗ patchtest: failure for gstreamer1.0-plugins-common.inc: disable orc on mips
  2020-01-21  7:19 [PATCH] gstreamer1.0-plugins-common.inc: disable orc on mips mingli.yu
@ 2020-01-21  7:32 ` Patchwork
  2020-01-21  8:39 ` [PATCH v2] " mingli.yu
  2020-01-21 18:36 ` [PATCH] " Khem Raj
  2 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2020-01-21  7:32 UTC (permalink / raw
  To: mingli.yu; +Cc: openembedded-core

== Series Details ==

Series: gstreamer1.0-plugins-common.inc: disable orc on mips
Revision: 1
URL   : https://patchwork.openembedded.org/series/22184/
State : failure

== Summary ==


Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:



* Issue             Series does not apply on top of target branch [test_series_merge_on_head] 
  Suggested fix    Rebase your series on top of targeted branch
  Targeted branch  master (currently at 1098fdf360)



If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).

---
Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2] gstreamer1.0-plugins-common.inc: disable orc on mips
  2020-01-21  7:19 [PATCH] gstreamer1.0-plugins-common.inc: disable orc on mips mingli.yu
  2020-01-21  7:32 ` ✗ patchtest: failure for " Patchwork
@ 2020-01-21  8:39 ` mingli.yu
  2020-01-21 18:36 ` [PATCH] " Khem Raj
  2 siblings, 0 replies; 6+ messages in thread
From: mingli.yu @ 2020-01-21  8:39 UTC (permalink / raw
  To: crg7475, openembedded-core

From: Mingli Yu <mingli.yu@windriver.com>

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@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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wmissing-declarations -Wredundant-decls -Wundef -Wwrite-strings -Wformat -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith -Wmissing-prototypes -Wdeclaration-after-statement -O2 -g -feliminate-unused-debug-types -fmacro-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=/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/7d01337@@orc_video@exe/meson-generated_.._orc_video.c.o' -MF 'tests/check/7d01337@@orc_video@exe/meson-generated_.._orc_video.c.o.d' -o 'tests/check/7d01337@@orc_video@exe/meson-generated_.._orc_video.c.o' -c tests/check/orc_video.c
FAILED: tests/check/7d01337@@orc_video@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@windriver.com>
---
 .../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 ccf55500a9..3896424b2d 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_remove_mips = "orc"
 PACKAGECONFIG[orc] = "-Dorc=enabled,-Dorc=disabled,orc orc-native"
 
 # TODO: put this in a gettext.bbclass patch (with variables to allow for
-- 
2.23.0



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] gstreamer1.0-plugins-common.inc: disable orc on mips
  2020-01-21  7:19 [PATCH] gstreamer1.0-plugins-common.inc: disable orc on mips mingli.yu
  2020-01-21  7:32 ` ✗ patchtest: failure for " Patchwork
  2020-01-21  8:39 ` [PATCH v2] " mingli.yu
@ 2020-01-21 18:36 ` Khem Raj
  2020-01-22  1:51   ` Yu, Mingli
  2020-01-22  8:35   ` [PATCH v3] " mingli.yu
  2 siblings, 2 replies; 6+ messages in thread
From: Khem Raj @ 2020-01-21 18:36 UTC (permalink / raw
  To: Mingli Yu; +Cc: Patches and discussions about the oe-core layer

On Mon, Jan 20, 2020 at 11:19 PM <mingli.yu@windriver.com> wrote:
>
> From: Mingli Yu <mingli.yu@windriver.com>
>
> 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@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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wmissing-declarations -Wredundant-decls -Wundef -Wwrite-strings -Wformat -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith -Wmissing-prototypes -Wdeclaration-after-statement -O2 -g -feliminate-unused-debug-types -fmacro-prefix-map=/mybuild/tmp/work/mips-pokymllib32-linux/lib32-gstreamer1.0-plugins-base/1.16.1-r0=/u
>  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/7d01337@@orc_video@exe/meson-generated_.._orc_video.c.o' -MF 'tests/check/7d01337@@orc_video@exe/meson-generated_.._orc_video.c.o.d' -o 'tests/check/7d01337@@orc_video@exe/meson-generated_.._orc_video.c.o' -c tests/check/orc_video.c
> FAILED: tests/check/7d01337@@orc_video@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.

I think there is some difference in behavior that meson migration has
brought. It will be good to see compiler cmdline for same file on zeus
e.g. perhaps we missed some flags

>
> Disable orc as workaround to fix the above issue
>
> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
> ---
>  .../findutils/{findutils_4.6.0.bb => findutils_4.7.0.bb}     | 0
>  .../gstreamer/gstreamer1.0-plugins-common.inc                | 5 ++++-
>  2 files changed, 4 insertions(+), 1 deletion(-)
>  rename meta/recipes-extended/findutils/{findutils_4.6.0.bb => findutils_4.7.0.bb} (100%)
>
> diff --git a/meta/recipes-extended/findutils/findutils_4.6.0.bb b/meta/recipes-extended/findutils/findutils_4.7.0.bb
> similarity index 100%
> rename from meta/recipes-extended/findutils/findutils_4.6.0.bb
> rename to meta/recipes-extended/findutils/findutils_4.7.0.bb
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
> index ccf55500a9..3896424b2d 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_remove_mips = "orc"

No need to remove set it
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
> --
> 2.23.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] gstreamer1.0-plugins-common.inc: disable orc on mips
  2020-01-21 18:36 ` [PATCH] " Khem Raj
@ 2020-01-22  1:51   ` Yu, Mingli
  2020-01-22  8:35   ` [PATCH v3] " mingli.yu
  1 sibling, 0 replies; 6+ messages in thread
From: Yu, Mingli @ 2020-01-22  1:51 UTC (permalink / raw
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer



On 01/22/20 02:36, Khem Raj wrote:
> On Mon, Jan 20, 2020 at 11:19 PM <mingli.yu@windriver.com> wrote:
>>
>> From: Mingli Yu <mingli.yu@windriver.com>
>>
>> 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@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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wmissing-declarations -Wredundant-decls -Wundef -Wwrite-strings -Wformat -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith -Wmissing-prototypes -Wdeclaration-after-statement -O2 -g -feliminate-unused-debug-types -fmacro-prefix-map=/mybuild/tmp/work/mips-pokymllib32-linux/lib32-gstreamer1.0-plugins-base/1.16.1-r!
 0=/u
>>   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/7d01337@@orc_video@exe/meson-generated_.._orc_video.c.o' -MF 'tests/check/7d01337@@orc_video@exe/meson-generated_.._orc_video.c.o.d' -o 'tests/check/7d01337@@orc_video@exe/meson-generated_.._orc_video.c.o' -c tests/check/orc_video.c
>> FAILED: tests/check/7d01337@@orc_video@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.
>
> I think there is some difference in behavior that meson migration has
> brought. It will be good to see compiler cmdline for same file on zeus
> e.g. perhaps we missed some flags

Hi Khem,

Thanks your respond!

Yes, it should be some different behavior I guess after migration to 
meson. Have compared basically for the flags before I sent the patch 
actually and didn't find the apparent difference. I prefer disable the 
orc first on mips.

Hi Carlos,

Any suggestion?

>
>>
>> Disable orc as workaround to fix the above issue
>>
>> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
>> ---
>>   .../findutils/{findutils_4.6.0.bb => findutils_4.7.0.bb}     | 0
>>   .../gstreamer/gstreamer1.0-plugins-common.inc                | 5 ++++-
>>   2 files changed, 4 insertions(+), 1 deletion(-)
>>   rename meta/recipes-extended/findutils/{findutils_4.6.0.bb => findutils_4.7.0.bb} (100%)
>>
>> diff --git a/meta/recipes-extended/findutils/findutils_4.6.0.bb b/meta/recipes-extended/findutils/findutils_4.7.0.bb
>> similarity index 100%
>> rename from meta/recipes-extended/findutils/findutils_4.6.0.bb
>> rename to meta/recipes-extended/findutils/findutils_4.7.0.bb
>> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
>> index ccf55500a9..3896424b2d 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_remove_mips = "orc"
>
> No need to remove set it
> GSTREAMER_ORC_mips = ""

Okay, will sent v3 to include the change.

Thanks,

>
>>   PACKAGECONFIG[orc] = "-Dorc=enabled,-Dorc=disabled,orc orc-native"
>>
>>   # TODO: put this in a gettext.bbclass patch (with variables to allow for
>> --
>> 2.23.0
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v3] gstreamer1.0-plugins-common.inc: disable orc on mips
  2020-01-21 18:36 ` [PATCH] " Khem Raj
  2020-01-22  1:51   ` Yu, Mingli
@ 2020-01-22  8:35   ` mingli.yu
  1 sibling, 0 replies; 6+ messages in thread
From: mingli.yu @ 2020-01-22  8:35 UTC (permalink / raw
  To: crg7475, raj.khem, openembedded-core

From: Mingli Yu <mingli.yu@windriver.com>

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@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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wmissing-declarations -Wredundant-decls -Wundef -Wwrite-strings -Wformat -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith -Wmissing-prototypes -Wdeclaration-after-statement -O2 -g -feliminate-unused-debug-types -fmacro-prefix-map=/mybuild/tmp/work/mips-pokymllib32-linux/lib32-gstreamer1.0-plugins-base/1.16.1-r0=/u
 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/7d01337@@orc_video@exe/meson-generated_.._orc_video.c.o' -MF 'tests/check/7d01337@@orc_video@exe/meson-generated_.._orc_video.c.o.d' -o 'tests/check/7d01337@@orc_video@exe/meson-generated_.._orc_video.c.o' -c tests/check/orc_video.c
FAILED: tests/check/7d01337@@orc_video@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@windriver.com>
---
 .../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 ccf55500a9..dba96e0f6e 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
-- 
2.23.0



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-22  8:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-21  7:19 [PATCH] gstreamer1.0-plugins-common.inc: disable orc on mips mingli.yu
2020-01-21  7:32 ` ✗ patchtest: failure for " Patchwork
2020-01-21  8:39 ` [PATCH v2] " mingli.yu
2020-01-21 18:36 ` [PATCH] " Khem Raj
2020-01-22  1:51   ` Yu, Mingli
2020-01-22  8:35   ` [PATCH v3] " mingli.yu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.