[MPlayer-users] Re: mplayer WMV8 and gcc3.2 problem - solved

Arpi arpi at thot.banki.hu
Wed Aug 14 12:13:02 CEST 2002


Hi,

> > > with the help of the Mandrake compiler maintainer this problem has
> > > been solved. With gcc 3.2 or 3.1.1 you need to add the compiler
> > > option -mno-omit-leaf-frame-pointer to make the win32 dll loader
> > > work again. I don't know if this is a gcc bug, maybe it's just
> > > different default optimizations in the newer compilers.
> > Is it enough to add to loader's Makefile, or have to compile every >
> > file with this option?
> 
> Hi,
> 
> I think it's OK just to compile the win32 dll loader with this option,
> but I'll have to try it to make it sure. I'll give you the definitive
> answer tomorrow.

thanks

> > anyway gcc 2.95.x seems to have this option too, so it wouldn't hurt
> > adding without version check - maybe it fixes 2.9[VI] too :)
> 
> This is not a good idea. I had complains from a user as an answer to
> my post on the xine-users list. He had compiled xine with this option 
> and Red Hat's gcc-2.9[VI]-112 compiler and it crashed while it was 
> working fine without the extra option. OK, it's a different program,
> but the dll loader is shared with xine isn't it?

dunno.
at least we don't share the loader with xine, imho xine uses the avifile
code as-is or with little modification. our loader code is also the avifile
one but Al3x patched it to hell to support many new DLLs. These patches are
usually sent back to Kabi (avifile maintainer) and sooner or later merged,
but i don't know how much teh xine one differs from our atm.
This patching-merging-forking process usually took long.

Actually i should re-check at least the differences between our and avifile's
loader and merge their changes and sent them some new patches...

> In my experience the crash did't apprear with Mandrake's gcc 2.9[VI],
> only with gcc 3.1.1 or 3.2. So it would be better to check the
> compiler version.
ok

> PS I think it unfair that Arpi is allowed to post a 2 followed by a
> dot and a 9 and a 6.
no you can post 2.96 too, but don't mention the compiler's name
near to that :)


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list