[MPlayer-users] Re: Compile error (can't find register in class)

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Fri Jun 16 01:23:45 CEST 2006


On Thursday, 15 June 2006 at 17:50, Jon Drukman wrote:
> Guillaume POIRIER wrote:
> >Hi,
> >
> >On 6/15/06, Jon Drukman <jsd at cluttered.com> wrote:
> >>i tried building mplayer on a 32 bit pentium 4 system and a 64 bit
> >>opteron system, both with red hat enterprise linux 4, and in both cases
> >>i get the following error:
> >>
> >>i386/dsputil_mmx.c: In function `transpose4x4':
> >>i386/dsputil_mmx.c:621: error: can't find a register in class
> >>`GENERAL_REGS' while reloading `asm'
> >>In file included from i386/dsputil_mmx.c:2622:
> >>i386/h264dsp_mmx.c:49:1: warning: "SBUTTERFLY" redefined
> >>i386/dsputil_mmx.c:1525:1: warning: this is the location of the previous
> >>definition
> >>i386/h264dsp_mmx.c:1262:1: warning: "PUT_OP" redefined
> >>i386/dsputil_mmx.c:2377:1: warning: this is the location of the previous
> >>definition
> >>make[1]: *** [i386/dsputil_mmx.o] Error 1
> >>make[1]: Leaving directory `/opt/build/mplayer/libavcodec'
> >>
> >>if i disable MMX it will compile, but it runs dog slow.  any idea how to
> >>overcome this problem?
> >
> >http://www.mplayerhq.hu/DOCS/HTML/en/bugreports_what.html
> 
> in another response, rathann said to make sure i was using 1.0pre8 or 
> later.  this happens with the latest svn checkout.
> 
> 
> Linux distribution: RHEL4
[...]
> gcc/ld versions:
> Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.3/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
> --infodir=/usr/share/info --enable-shared --enable-threads=posix 
> --disable-checking --with-system-zlib --enable-__cxa_atexit 
> --disable-libunwind-exceptions --enable-languages=c,c++,objc,java,f77 
> --enable-java-awt=gtk --host=x86_64-redhat-linux
> Thread model: posix
> gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)

In that case, I'd say it's a bug in gcc-3.4.3.

-- 
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan



More information about the MPlayer-users mailing list