From patchwork Tue Aug 19 16:06:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Brodkin X-Patchwork-Id: 381393 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 855161400E4 for ; Wed, 20 Aug 2014 02:07:06 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B44EE8B332; Tue, 19 Aug 2014 16:07:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sw3G7v2sIlEA; Tue, 19 Aug 2014 16:07:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 1C4A689C99; Tue, 19 Aug 2014 16:07:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 1BB581BF978 for ; Tue, 19 Aug 2014 16:07:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 17F528B1EF for ; Tue, 19 Aug 2014 16:07:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wCq7r_lK-AGa for ; Tue, 19 Aug 2014 16:07:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtprelay.synopsys.com (us01smtprelay-2.synopsys.com [198.182.44.111]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 5114C8B04F for ; Tue, 19 Aug 2014 16:07:01 +0000 (UTC) Received: from us02secmta1.synopsys.com (us02secmta1.synopsys.com [10.12.235.96]) by smtprelay.synopsys.com (Postfix) with ESMTP id 3CFE924E1007; Tue, 19 Aug 2014 09:07:00 -0700 (PDT) Received: from us02secmta1.internal.synopsys.com (us02secmta1.internal.synopsys.com [127.0.0.1]) by us02secmta1.internal.synopsys.com (Service) with ESMTP id 2119D4E216; Tue, 19 Aug 2014 09:07:00 -0700 (PDT) Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by us02secmta1.internal.synopsys.com (Service) with ESMTP id 0019A4E214; Tue, 19 Aug 2014 09:07:00 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id E71A4409; Tue, 19 Aug 2014 09:06:59 -0700 (PDT) Received: from abrodkin-8560l.internal.synopsys.com (abrodkin-8560l.internal.synopsys.com [10.121.8.95]) by mailhost.synopsys.com (Postfix) with ESMTP id 9F50D408; Tue, 19 Aug 2014 09:06:58 -0700 (PDT) From: Alexey Brodkin To: buildroot@buildroot.org Date: Tue, 19 Aug 2014 20:06:55 +0400 Message-Id: <1408464415-18240-1-git-send-email-abrodkin@synopsys.com> X-Mailer: git-send-email 1.9.3 Cc: Alexey Brodkin Subject: [Buildroot] [PATCH] gstreamer{, 1}: fix unaligned access detection for arc X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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 Cc: Anton Kolesov Cc: Peter Korsgaard --- package/gstreamer/gstreamer/gstreamer.mk | 3 +++ package/gstreamer1/gstreamer1/gstreamer1.mk | 3 +++ 2 files changed, 6 insertions(+) diff --git a/package/gstreamer/gstreamer/gstreamer.mk b/package/gstreamer/gstreamer/gstreamer.mk index 4696876..8e0b042 100644 --- a/package/gstreamer/gstreamer/gstreamer.mk +++ b/package/gstreamer/gstreamer/gstreamer.mk @@ -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 \ diff --git a/package/gstreamer1/gstreamer1/gstreamer1.mk b/package/gstreamer1/gstreamer1/gstreamer1.mk index bf23582..528351f 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.mk +++ b/package/gstreamer1/gstreamer1/gstreamer1.mk @@ -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 \