[MPlayer-dev-eng] [RFC] all of FFmpeg as svn:external

İsmail Dönmez ismail at namtrac.org
Thu Sep 30 17:25:26 CEST 2010


Hi;

On Thu, Sep 30, 2010 at 6:20 PM, Diego Biurrun <diego at biurrun.de> wrote:
>
> On Thu, Sep 30, 2010 at 12:05:43PM +0300, İsmail Dönmez wrote:
> >
> > On Tue, Sep 28, 2010 at 11:54 PM, Diego Biurrun <diego at biurrun.de> wrote:
> > > > Updated version with some small fixes for make distclean...
> > >
> > > Applied.
> >
> > This breaks mplayer build on OSX 64bit mode:
> >
> > make -C ffmpeg/libavcodec
> > YASM  x86/deinterlace.o
> > x86/deinterlace.asm:79: error: macho: sorry, cannot apply 32 bit
> > absolute relocations in 64 bit mode, consider "[_symbol wrt rip]" for
> > mem access, "qword" and "dq _foo" for pointers.
> > x86/deinterlace.asm:81: error: macho: sorry, cannot apply 32 bit
> > absolute relocations in 64 bit mode, consider "[_symbol wrt rip]" for
> > mem access, "qword" and "dq _foo" for pointers.
> >
> > Google tells me that yasm needs a DPIC flag on OSX and its in ffmpeg configure:
> >
> > 2619:        enabled pic               && append YASMFLAGS "-DPIC"
>
> This is what we have:
>
>  test "$pic" = "yes"      && yasmdefines="$yasmdefines -DPIC"
>
> So why did this suddenly break?

I don't see that definition:


[~/Sources/mplayer]> svn up configure
At revision 32418.

[~/Sources/mplayer]> grep YASMFLAGS configure
  echo "$_yasm $YASMFLAGS -o $TMPEXE $TMPS $@" >> "$TMPLOG"
  $_yasm $YASMFLAGS -o "$TMPEXE" "$TMPS" "$@" >> "$TMPLOG" 2>&1
if test -z "$YASMFLAGS" ; then
  YASMFLAGS="-f $objformat"
  x86_64 && YASMFLAGS="$YASMFLAGS -m amd64"
    elf) test $_debug && YASMFLAGS="$YASMFLAGS -g dwarf2" ;;
    YASMFLAGS="-f $objformat $yasmdefines"
YASMFLAGS  = $YASMFLAGS
MPlayer compilation will use the CPPFLAGS/CFLAGS/LDFLAGS/YASMFLAGS set by you,


More information about the MPlayer-dev-eng mailing list