[MPlayer-users] configure and Cyrix C3

Andre Majorel aym-reyalpm at teaser.fr
Sat Nov 12 00:21:48 CET 2005


On 2005-11-11 23:28 +0100, Guillaume POIRIER wrote:
> On 11/11/05, Andre Majorel <aym-reyalpm at teaser.fr> wrote:
> > On 2005-11-11 21:50 +0100, Guillaume POIRIER wrote:
> > > On 11/11/05, Andre Majorel <aym-reyalpm at teaser.fr> wrote:
> > > > As of today, MPlayer HEAD does not build out of the box on
> > > > Cyrix/VIA C3 systems. It compiles, but the resulting binary
> > > > crashes with an "Illegal instruction" error.
> > > >
> > > > configure (correctly) detects a 686 CPU and (incorrectly) passes
> > > > GCC the -march=i686 option. gcc -march=i686 produces code which
> > > > uses the CMOV instruction, which is missing on the C3. This is
> > > > true for all versions of GCC, as far as I know. Checked with 3.3.5
> > > > and 4.0.2.
> > >
> > > Could you please try the attached patch with gcc-3.3 and 4.0?
[...]
> Woops, I made a typo. New patch attached.

Your new patch works with GCC 4.0.2 (although it might not
without my changes in libavutil/common.h).

Thanks.

-- 
André Majorel <URL:http://www.teaser.fr/~amajorel/>
Do not use this account for regular correspondence.
See the URL above for contact information.




More information about the MPlayer-users mailing list