Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 2/2] mplayer: add -fomit-frame-pointer for i386
@ 2009-01-26  9:16 Markus Heidelberg
  2009-01-26  9:22 ` Peter Korsgaard
  2009-01-26  9:23 ` Peter Korsgaard
  0 siblings, 2 replies; 5+ messages in thread
From: Markus Heidelberg @ 2009-01-26  9:16 UTC (permalink / raw)
  To: buildroot

This seems to be required to compile some of the inline asm.

This solves the following compiler errors:
h264.c: In function 'decode_cabac_residual':
h264.c:6158: warning: passing argument 4 of 'decode_significance_8x8_x86' discards qualifiers from pointer target type
cabac.h: In function 'get_cabac_noinline':
cabac.h:513: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
cabac.h:513: error: 'asm' operand has impossible constraints

While searching several weeks ago, I hit the following URL, which
unfortunately currently doesn't seem to work anymore and I can't
remember what the bug was about.

Also see http://bugs.uclibc.org/view.php?id=4604

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
---
 package/multimedia/mplayer/mplayer.mk |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/package/multimedia/mplayer/mplayer.mk b/package/multimedia/mplayer/mplayer.mk
index 719cc67..b65d288 100644
--- a/package/multimedia/mplayer/mplayer.mk
+++ b/package/multimedia/mplayer/mplayer.mk
@@ -25,6 +25,11 @@ else
 MPLAYER_LARGEFILE:=--disable-largefiles
 endif
 
+ifeq ($(BR2_i386),y)
+# This seems to be required to compile some of the inline asm
+MPLAYER_CFLAGS:=-fomit-frame-pointer
+endif
+
 $(DL_DIR)/$(MPLAYER_SOURCE):
 	$(call DOWNLOAD,$(MPLAYER_SITE),$(MPLAYER_SOURCE))
 
@@ -38,7 +43,7 @@ $(MPLAYER_DIR)/.configured: $(MPLAYER_DIR)/.unpacked
 	(cd $(MPLAYER_DIR); rm -rf config.cache; \
 		$(TARGET_CONFIGURE_OPTS) \
 		$(TARGET_CONFIGURE_ARGS) \
-		CFLAGS="$(TARGET_CFLAGS)" \
+		CFLAGS="$(TARGET_CFLAGS) $(MPLAYER_CFLAGS)" \
 		LDFLAGS="$(TARGET_LDFLAGS)" \
 		./configure \
 		--prefix=/usr \
-- 
1.6.1.1.227.g86702

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

* [Buildroot] [PATCH 2/2] mplayer: add -fomit-frame-pointer for i386
  2009-01-26  9:16 [Buildroot] [PATCH 2/2] mplayer: add -fomit-frame-pointer for i386 Markus Heidelberg
@ 2009-01-26  9:22 ` Peter Korsgaard
  2009-01-26  9:23 ` Peter Korsgaard
  1 sibling, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2009-01-26  9:22 UTC (permalink / raw)
  To: buildroot

>>>>> "Markus" == Markus Heidelberg <markus.heidelberg@web.de> writes:

 Markus> This seems to be required to compile some of the inline asm.

Thanks, committed.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 2/2] mplayer: add -fomit-frame-pointer for i386
  2009-01-26  9:16 [Buildroot] [PATCH 2/2] mplayer: add -fomit-frame-pointer for i386 Markus Heidelberg
  2009-01-26  9:22 ` Peter Korsgaard
@ 2009-01-26  9:23 ` Peter Korsgaard
  2009-01-26  9:29   ` Markus Heidelberg
  1 sibling, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2009-01-26  9:23 UTC (permalink / raw)
  To: buildroot

>>>>> "Markus" == Markus Heidelberg <markus.heidelberg@web.de> writes:

 Markus> While searching several weeks ago, I hit the following URL, which
 Markus> unfortunately currently doesn't seem to work anymore and I can't
 Markus> remember what the bug was about.

 Markus> Also see http://bugs.uclibc.org/view.php?id=4604

That's unfortunately a link to the old (removed because of security
breach) mantis tracker.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 2/2] mplayer: add -fomit-frame-pointer for i386
  2009-01-26  9:23 ` Peter Korsgaard
@ 2009-01-26  9:29   ` Markus Heidelberg
  2009-01-26  9:41     ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Markus Heidelberg @ 2009-01-26  9:29 UTC (permalink / raw)
  To: buildroot

Peter Korsgaard, 26.01.2009:
> >>>>> "Markus" == Markus Heidelberg <markus.heidelberg@web.de> writes:
> 
>  Markus> While searching several weeks ago, I hit the following URL, which
>  Markus> unfortunately currently doesn't seem to work anymore and I can't
>  Markus> remember what the bug was about.
> 
>  Markus> Also see http://bugs.uclibc.org/view.php?id=4604
> 
> That's unfortunately a link to the old (removed because of security
> breach) mantis tracker.

I thought so yes, is the new bugtracker already working?
When entering bug id 4604 on bugs.busybox.net, I got the error "Bug
#4604 does not exist.", so I kept this dead URL in the commit message
for the sake of completeness.

Markus

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

* [Buildroot] [PATCH 2/2] mplayer: add -fomit-frame-pointer for i386
  2009-01-26  9:29   ` Markus Heidelberg
@ 2009-01-26  9:41     ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2009-01-26  9:41 UTC (permalink / raw)
  To: buildroot

>>>>> "Markus" == Markus Heidelberg <markus.heidelberg@web.de> writes:

 >> That's unfortunately a link to the old (removed because of security
 >> breach) mantis tracker.

 Markus> I thought so yes, is the new bugtracker already working?

It is, but the old issues have not been migrated (and I'm afraid they
never will).

 Markus> When entering bug id 4604 on bugs.busybox.net, I got the
 Markus> error "Bug #4604 does not exist.", so I kept this dead URL in
 Markus> the commit message for the sake of completeness.

Ok - Thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2009-01-26  9:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26  9:16 [Buildroot] [PATCH 2/2] mplayer: add -fomit-frame-pointer for i386 Markus Heidelberg
2009-01-26  9:22 ` Peter Korsgaard
2009-01-26  9:23 ` Peter Korsgaard
2009-01-26  9:29   ` Markus Heidelberg
2009-01-26  9:41     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox