[MPlayer-dev-eng] [PATCH] configure on amd64

Aurelien Jacobs aurel at gnuage.org
Mon Sep 20 00:56:27 CEST 2004


On Sat, 18 Sep 2004 13:57:17 +0200
Dominik 'Rathann' Mierzejewski <dominik at rangers.eu.org> wrote:

> On Saturday, 18 September 2004 at 11:35, Reimar Döffinger wrote:
> > Hi,
> > 
> > >Not only does the given patch not work, but it breaks the configure
> > >script for amd64.  At least on my system.
> > 
> > Just as a sidenote: That patch only fixed compilation with -m32.
> > Sorry, I didn't know that when I posted that patch...
> 
> Just to show that I do have something working, here's a patch that
> makes MPlayer compile and work on one Gentoo/Opteron system, although
> I didn't have 32bit Xlibs installed there, so I couldn't test any
> display. Additionally, VESA doesn't compile due to non-existent(?)
> kernel headers. I don't recommend this to be applied just yet, though.

Glad that you don't recommend to apply this !
This patch force gcc to use -m32 on x86_64 arch and this is a very
bad idea ! It simply don't work at all on a pure 64 bits system,
without any 32 bits lib installed (which is the case of my system).

Current MPlayer compile and works well on x86_64 in 64 bits mode.
It lacks all the mmx/sse/... extensions but compling it as a 32 bits
binary is not the right solution IMHO.
Maybe you could add a configure option to be able to select 32 bits
mode on x86_64 ?

Aurel




More information about the MPlayer-dev-eng mailing list