Summary: | media-video/mplayer-1.0_rc4_p20100506 compile failure with Gentoo Prefix and OS X 32-bit | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | CFuga <cfuga> |
Component: | Mac OSX | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log for media-video/mplayer-1.0_rc4_p20100506
Handles x86-macos |
Description
CFuga
2010-07-26 04:48:52 UTC
Created attachment 240175 [details]
build.log for media-video/mplayer-1.0_rc4_p20100506
Problem is you're running out of registers here. (problem with x86 CPUs :)) http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-November/047222.html suggests you need -fomit-frame-pointer, could you add that your CFLAGS and try if it works for you? Yup, it works like a charm. I added -fomit-frame-pointer to CFLAGS, MPlayer compiled fine, and plays my videos. Thanks. Created attachment 240445 [details, diff]
Handles x86-macos
Untested patch, should work though.
(In reply to comment #4) > Created an attachment (id=240445) [details] > Handles x86-macos > > Untested patch, should work though. > I did this, so our diffs are cleaner. Index: mplayer-1.0_rc4_p20100506.ebuild =================================================================== --- mplayer-1.0_rc4_p20100506.ebuild (revision 58314) +++ mplayer-1.0_rc4_p20100506.ebuild (working copy) @@ -571,6 +571,9 @@ # workaround bug, x86 just has too few registers, see c.f. # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=402950#44 [[ ${CHOST} == i?86-*solaris* ]] && append-flags -fomit-frame-pointer + # and 32b osx, bug 329861 + [[ ${CHOST} == i?86-*darwin* ]] && append-flags -fomit-frame-pointer + ########################### # X enabled configuration # |