* [Buildroot] [PATCH 1/1] gstreamer: fix build on riscv
@ 2018-11-17 18:45 Fabrice Fontaine
2018-11-17 22:19 ` Peter Seiderer
2018-11-18 7:36 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2018-11-17 18:45 UTC (permalink / raw)
To: buildroot
RISC-V supports unaligned accesses, but these might run extremely slowly
depending on the implementation so set as_cv_unaligned_access to no on
this architecture, see:
https://gitlab.freedesktop.org/gstreamer/gstreamer/commit/8a156d1725ecd03f2e8cdc8874e081dda2d3b43d
Fixes:
- http://autobuild.buildroot.org/results/dca32c929350311fca1a85e251d318b43c4a3177
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/gstreamer/gstreamer/gstreamer.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/gstreamer/gstreamer/gstreamer.mk b/package/gstreamer/gstreamer/gstreamer.mk
index 88cc798828..2ec360c94d 100644
--- a/package/gstreamer/gstreamer/gstreamer.mk
+++ b/package/gstreamer/gstreamer/gstreamer.mk
@@ -15,7 +15,7 @@ GSTREAMER_LICENSE_FILES = COPYING
# Checking if unaligned memory access works correctly cannot be done when cross
# compiling. For the following architectures there is no information available
# in the configure script.
-ifeq ($(BR2_arc)$(BR2_xtensa)$(BR2_microblaze)$(BR2_nios2)$(BR2_or1k),y)
+ifeq ($(BR2_arc)$(BR2_xtensa)$(BR2_microblaze)$(BR2_nios2)$(BR2_or1k)$(BR2_riscv),y)
GSTREAMER_CONF_ENV = as_cv_unaligned_access=no
endif
ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y)
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] gstreamer: fix build on riscv
2018-11-17 18:45 [Buildroot] [PATCH 1/1] gstreamer: fix build on riscv Fabrice Fontaine
@ 2018-11-17 22:19 ` Peter Seiderer
2018-11-18 7:36 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Seiderer @ 2018-11-17 22:19 UTC (permalink / raw)
To: buildroot
Hello Fabrice,
On Sat, 17 Nov 2018 19:45:33 +0100, Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> RISC-V supports unaligned accesses, but these might run extremely slowly
> depending on the implementation so set as_cv_unaligned_access to no on
> this architecture, see:
> https://gitlab.freedesktop.org/gstreamer/gstreamer/commit/8a156d1725ecd03f2e8cdc8874e081dda2d3b43d
>
> Fixes:
> - http://autobuild.buildroot.org/results/dca32c929350311fca1a85e251d318b43c4a3177
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/gstreamer/gstreamer/gstreamer.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/gstreamer/gstreamer/gstreamer.mk b/package/gstreamer/gstreamer/gstreamer.mk
> index 88cc798828..2ec360c94d 100644
> --- a/package/gstreamer/gstreamer/gstreamer.mk
> +++ b/package/gstreamer/gstreamer/gstreamer.mk
> @@ -15,7 +15,7 @@ GSTREAMER_LICENSE_FILES = COPYING
> # Checking if unaligned memory access works correctly cannot be done when cross
> # compiling. For the following architectures there is no information available
> # in the configure script.
> -ifeq ($(BR2_arc)$(BR2_xtensa)$(BR2_microblaze)$(BR2_nios2)$(BR2_or1k),y)
> +ifeq ($(BR2_arc)$(BR2_xtensa)$(BR2_microblaze)$(BR2_nios2)$(BR2_or1k)$(BR2_riscv),y)
> GSTREAMER_CONF_ENV = as_cv_unaligned_access=no
> endif
> ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y)
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Regards,
Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] gstreamer: fix build on riscv
2018-11-17 18:45 [Buildroot] [PATCH 1/1] gstreamer: fix build on riscv Fabrice Fontaine
2018-11-17 22:19 ` Peter Seiderer
@ 2018-11-18 7:36 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2018-11-18 7:36 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> RISC-V supports unaligned accesses, but these might run extremely slowly
> depending on the implementation so set as_cv_unaligned_access to no on
> this architecture, see:
> https://gitlab.freedesktop.org/gstreamer/gstreamer/commit/8a156d1725ecd03f2e8cdc8874e081dda2d3b43d
> Fixes:
> - http://autobuild.buildroot.org/results/dca32c929350311fca1a85e251d318b43c4a3177
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-18 7:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-17 18:45 [Buildroot] [PATCH 1/1] gstreamer: fix build on riscv Fabrice Fontaine
2018-11-17 22:19 ` Peter Seiderer
2018-11-18 7:36 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox