From patchwork Sun Apr 2 11:25:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 746166 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vwtFZ5ngGz9ryr for ; Sun, 2 Apr 2017 21:25:22 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id AF37184535; Sun, 2 Apr 2017 11:25:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ubSsysJtHkS9; Sun, 2 Apr 2017 11:25:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A6AE383CC0; Sun, 2 Apr 2017 11:25:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 9BC771BFE6A for ; Sun, 2 Apr 2017 11:25:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id EB55C25B32 for ; Sun, 2 Apr 2017 11:25:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bG8L3BGFaImH for ; Sun, 2 Apr 2017 11:25:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19]) by silver.osuosl.org (Postfix) with ESMTPS id EE7D3239B5 for ; Sun, 2 Apr 2017 11:25:13 +0000 (UTC) Received: from fwd23.aul.t-online.de (fwd23.aul.t-online.de [172.20.26.128]) by mailout06.t-online.de (Postfix) with SMTP id 9072241D1297 for ; Sun, 2 Apr 2017 13:25:11 +0200 (CEST) Received: from fli4l.lan.fli4l (Gn5xEsZUZhwBmJyKr7z9h1Uj8xPemPfhVMxxFZOI7wOR-xkXUKM73h6ITHW+UyxQL9@[79.222.107.143]) by fwd23.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1cudd6-13EiNU0; Sun, 2 Apr 2017 13:25:08 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:49462 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.89) (envelope-from ) id 1cudd5-0000Ks-Kc for buildroot@buildroot.org; Sun, 02 Apr 2017 13:25:08 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 2 Apr 2017 13:25:07 +0200 Message-Id: <20170402112507.14419-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.11.0 X-ID: Gn5xEsZUZhwBmJyKr7z9h1Uj8xPemPfhVMxxFZOI7wOR-xkXUKM73h6ITHW+UyxQL9 X-TOI-MSGID: fa29d88b-7f14-43cf-9c50-af48f793493a Subject: [Buildroot] [PATCH 1/1] package/mplayer: disable inline asm on i386 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" A similar fix was committed to ffmpeg: https://git.buildroot.net/buildroot/commit/package/ffmpeg?id=bfb8df2ad9b164b421d25294c6882c8b61dc59a5 Special cflags, added by https://git.buildroot.net/buildroot/commit/package/multimedia/mplayer?id=fd38100e1189d19cad87a64c52df2c773eb47e40 are no longer needed now so remove them as well. Fixes http://autobuild.buildroot.net/results/030/03066dd8937ef4c75d62f237fd195df92b247ee2// and many others. Signed-off-by: Bernd Kuhls --- package/mplayer/mplayer.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk index 6b3009abc..14ab8acee 100644 --- a/package/mplayer/mplayer.mk +++ b/package/mplayer/mplayer.mk @@ -285,10 +285,13 @@ MPLAYER_CFLAGS += -mfpu=neon endif endif +define MPLAYER_DISABLE_INLINE_ASM + $(SED) 's,#define HAVE_INLINE_ASM 1,#define HAVE_INLINE_ASM 0,g' \ + $(@D)/config.h +endef + ifeq ($(BR2_i386),y) -# inline asm breaks with "can't find a register in class 'GENERAL_REGS'" -# inless we free up ebp -MPLAYER_CFLAGS += -fomit-frame-pointer +MPLAYER_POST_CONFIGURE_HOOKS += MPLAYER_DISABLE_INLINE_ASM endif ifeq ($(BR2_X86_CPU_HAS_MMX),y)