gstreamer{, 1}: fix unaligned access detection for arc
PATCH 1/1 gstreamer{, 1}: fix unaligned access detection for arc
Fixes the same issue as reported for microblaze here
http://autobuild.buildroot.net/results/f49/f4914bb3999c8a7a0c0a2afdac5de40fb9058372/
Similar to the existing handling for avr32, microblaze and xtensa. Also add it for gstreamer1 for good measure as it was missing there as well.
--- package/gstreamer/gstreamer/gstreamer.mk | 3 +++ package/gstreamer1/gstreamer1/gstreamer1.mk | 3 +++ 2 files changed, 6 insertions(+)
package/gstreamer/gstreamer/gstreamer.mk +3 -0
@@ -18,6 +18,9 @@ endif ifeq ($(BR2_aarch64),y) GSTREAMER_CONF_ENV = as_cv_unaligned_access=yes endif +ifeq ($(BR2_arc),y) +GSTREAMER_CONF_ENV = as_cv_unaligned_access=no +endif GSTREAMER_CONF_OPT = \ --disable-examples \
package/gstreamer1/gstreamer1/gstreamer1.mk +3 -0
@@ -20,6 +20,9 @@ endif ifeq ($(BR2_aarch64),y) GSTREAMER1_CONF_ENV = as_cv_unaligned_access=yes endif +ifeq ($(BR2_arc),y) +GSTREAMER1_CONF_ENV = as_cv_unaligned_access=no +endif GSTREAMER1_CONF_OPT = \ --disable-examples \
Signature · 1 line
1.9.3
PATCH 1/1 gstreamer{, 1}: fix unaligned access detection for arc
Hi Alexey,
Quoted 20 lines · Alexey Brodkin
Fixes the same issue as reported for microblaze here
http://autobuild.buildroot.net/results/f49/f4914bb3999c8a7a0c0a2afdac5de40fb9058372/Similar to the existing handling for avr32, microblaze and xtensa. Also add it for gstreamer1 for good measure as it was missing there as well.
Signed-off-by Alexey Brodkin <[email protected]>Cc Anton Kolesov <[email protected]>Cc Peter Korsgaard <[email protected]>--- package/gstreamer/gstreamer/gstreamer.mk | 3 +++ package/gstreamer1/gstreamer1/gstreamer1.mk | 3 +++ 2 files changed, 6 insertions(+)package/gstreamer/gstreamer/gstreamer.mk +0
-0
package/gstreamer/gstreamer/gstreamer.mk endif · line 23
Quoted 6 lines
package/gstreamer/gstreamer/gstreamer.mk +3
-0@@ -18,6 +18,9 @@ endif ifeq ($(BR2_aarch64),y) GSTREAMER_CONF_ENV = as_cv_unaligned_access=yes endif +ifeq ($(BR2_arc),y) +GSTREAMER_CONF_ENV = as_cv_unaligned_access=no +endif
Instead of adding another 'ifeq' stanza, why not add ARC to the existing list of architectures? Something like:
package/gstreamer/gstreamer/gstreamer.mk +1 -1
@@ -12,7 +12,7 @@ GSTREAMER_INSTALL_STAGING = YES # 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_avr32)$(BR2_xtensa)$(BR2_microblaze),y) +ifeq ($(BR2_avr32)$(BR2_xtensa)$(BR2_microblaze)$(BR2_arc),y) GSTREAMER_CONF_ENV = as_cv_unaligned_access=no endif ifeq ($(BR2_aarch64),y)
package/gstreamer1/gstreamer1/gstreamer1.mk +1 -1
@@ -14,7 +14,7 @@ GSTREAMER1_LICENSE = LGPLv2+ LGPLv2.1+ # 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_avr32)$(BR2_xtensa)$(BR2_microblaze),y) +ifeq ($(BR2_avr32)$(BR2_xtensa)$(BR2_microblaze)$(BR2_arc),y) GSTREAMER1_CONF_ENV = as_cv_unaligned_access=no endif ifeq ($(BR2_aarch64),y)
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -