[MPlayer-dev-eng] [PATCH] Fix crash when using win32 codecs on mac osx / intel

Diego Biurrun diego at biurrun.de
Fri Aug 24 12:19:29 CEST 2007


On Fri, Aug 24, 2007 at 02:50:19PM +0800, Ulion wrote:
> 2007/8/24, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> >
> > Well, the problem I have is that if -fno-unit-at-a-time is needed, it
> > should be needed on non-Darwin as well, unless it is a bug Apple
> > introduced - and the blog post makes it look very much like a bug.
> > So I'd stll like to know if someone got it to work without
> > -fno-unit-at-a-time with at least some compiler version.
> 
> Yes, it seems a gcc bug on darwin intel x86.
> After test a build without -fno-unit-at-a-time, I found it also seems
> work. So maybe now only the -mstackrealign is enough to make the
> loader work. I tested with wmv9 video/audio and drv43260.dll codecs
> and seems work without problem by now.
> 
>  My gcc is i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer,
> Inc. build 5367), It comes from XCode 2.4.? I think.
> 
> So the new fix is following, or remove the X86 arch limit as Diego said.

I liked your previous patch better that integrated into the existing
ifeq.  And now please remove the test for ARCH_X86.

Diego



More information about the MPlayer-dev-eng mailing list