On Saturday 18 August 2007 21:19, Kevin Brosius wrote:
> Johannes Sixt wrote:
> > On Saturday 18 August 2007 03:35, Kevin Brosius wrote:
> > > While this addresses libmpeg3, there are also uses of USEMMX in
> > > quicktime/ffmpeg/libavcodec
> >
> > The purpose of this fix, AFAIR, was to address only MMX issues in
> > libmpeg3, not in ffmpeg. I faintly recall that I have even encouraged j
> > not to touch USEMMX in ffmpeg, because it has a different meaning/purpose
> > there. What's your problem?
>
> I suspect it is that MMX is now enabled in ffpmeg where it was not
> before, and fPIC is not set properly for the ffpmeg build.  I am seeing
> an fPIC error while trying to link mpegvideo_mmx.o in
> ffmpeg/libavcodec.  The failure is because the mmx .o file is built
> without -fPIC.
>
> Note that the patch adds a x86_64 cpu target to configure.in which auto
> detects mmx, it seems.  This enables mmx for all sublibs on x86_64,
> which was not the case before.  There is a new USEMMX32 define for
> non-64 bit targets...  Also, the configure for 3dnow was left off the
> x86_64 arch block in configure.in, was this intentional?
>
> Anyway, we should be able to enable mmx across the board on x86_64, I
> would think.  I'll look in to why ffmpeg doesn't configure the same as
> other parts of the build with respect to -fPIC.  I noticed there was a
> change to it's -fPIC preference also.  This may relate to the trouble.
>
> Do you recall what platform j was using?  I assume the patch fixed the
> build on his platform while breaking SUSE.

Sorry, I can't remember the details, not even my own arguments. Please search 
in ML archives. I'd appreciate if you could go over this issue again. I don't 
have the hardware to help. Let's hope that j is listening and can give 
feedback.

-- Hannes

_______________________________________________
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to