[MPlayer-users] Problems compiling Multiple versions on my duron system.

Rando Christensen rando at babblica.net
Mon Dec 9 10:24:02 CET 2002


I'm receiving the following errors trying to compile mplayer:

make -C liba52
make[1]: Entering directory `/home/eyez/src/MPlayer-0.90rc1/liba52'
gcc -c  -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o crc.o crc.c
gcc -c  -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o resample.o resample.c
gcc -c  -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o bit_allocate.o bit_allocate.c
gcc -c  -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o bitstream.o bitstream.c
gcc -c  -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o downmix.o downmix.c
gcc -c  -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o imdct.o imdct.c
In file included from imdct.c:400:
imdct_3dnow.h: In function `fft_asmb_3dnow':
imdct_3dnow.h:241: Invalid `asm' statement:
imdct_3dnow.h:241: fixed or forbidden register 6 (bp) was spilled for class GENERAL_REGS.
imdct_3dnow.h: In function `fft_asmb16_3dnow':
imdct_3dnow.h:267: Invalid `asm' statement:
imdct_3dnow.h:267: fixed or forbidden register 6 (bp) was spilled for class GENERAL_REGS.
imdct_3dnow.h: In function `imdct_do_512_3dnow':
imdct_3dnow.h:376: Invalid `asm' statement:
imdct_3dnow.h:376: fixed or forbidden register 6 (bp) was spilled for class GENERAL_REGS.
In file included from imdct.c:402:
imdct_3dnow.h: In function `fft_asmb_3dnowex':
imdct_3dnow.h:241: Invalid `asm' statement:
imdct_3dnow.h:241: fixed or forbidden register 6 (bp) was spilled for class GENERAL_REGS.
imdct_3dnow.h: In function `fft_asmb16_3dnowex':
imdct_3dnow.h:267: Invalid `asm' statement:
imdct_3dnow.h:267: fixed or forbidden register 6 (bp) was spilled for class GENERAL_REGS.
imdct_3dnow.h: In function `imdct_do_512_3dnowex':
imdct_3dnow.h:376: Invalid `asm' statement:
imdct_3dnow.h:376: fixed or forbidden register 6 (bp) was spilled for class GENERAL_REGS.
make[1]: *** [imdct.o] Error 1
make[1]: Leaving directory `/home/eyez/src/MPlayer-0.90rc1/liba52'
make: *** [liba52/liba52.a] Error 2

This is some configure output:

Config files successfully generated by ./configure !

  Install prefix: /usr/local
  Data directory: /usr/local/share/mplayer
  Config direct.: /usr/local/etc/mplayer

  Byte order: Little Endian
  Optimizing for: i686 mmx mmx2 3dnow 3dnowex mtrr
  
  Enabled optional drivers:
    Input: streaming tv cdda dvdnav mpdvdkit2 vcd 
    Codecs: qtx divx5linux libavcodec real dshow/dmo win32 libvorbis
libmad
    Audio output: arts oss sdl mpegpes(file) 
    Video output: xvidix sdl vesa gif89a jpeg png mpegpes(file) fbdev
svga aa opengl dga xv x11   
    Disabled optional drivers:
    Input: tv-v4l tv-bsdbt848 dvdread dvdcss 
    Codecs: divx4linux xvid libdv xanim liblzo 
    Audio output: sgi sun alsa dxr2 nas win32 
    Video output: bl zr dxr3 dxr2 directx ggi xmga mga directfb tdfxfb
3dfx 


A bit of system information:

<This is a slackware 8.1 system on a duron 1.2 Ghz machine>
% gcc -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release)
% ld -v
GNU ld version 2.12.90.0.9 20020526
% as --version | head -1
GNU assembler 2.12.90.0.9 20020526
% uname -a
Linux cesario 2.4.20 #3 Tue Dec 3 15:48:45 MST 2002 i686 unknown
% ls -l /lib/libc-*so
-rwxr-xr-x    1 root     root      5029105 May 17  2002
/lib/libc-2.2.5.so*
% cat < /proc/cpuinfo 
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 4
model name      : AMD Athlon(tm) Processor
stepping        : 2
cpu MHz         : 1200.073
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow 
bogomips        : 2392.06

Some other possible interesting information:

I've tried this a few times on different distributions (player is
probably my biggest requirement of a distribution, if it doesn't work,
i try something else.). Something similar also happens on
slackware-current and gentoo, both of which use gcc3.2 and a bit more
bleeding edge of a binutils. (IIRC there were less errors on those
systems, but it was still ASM errors in that same file in functions
with 3dnow in the names and GENERAL_REGS in the error)

This happens on pre10, cvs, and rc1.

The last time I had a working compile was a few releases ago, probably
somewhere between pre6 and pre8. I know for sure that pre6 compiled and
worked on before for me. Interestingly, that version, and plenty before
it, compiled just fine- However, my motherboard/cpu have changed since
then due to them failing, so I can't tell you conclusively
whether this can be attributed to my version number changes or the
hardware changes.

While before it was a duron 800 on an Epox motherboard, this
is a duron 1.2 in a Microstar(MSI) kt333 motherboard (this also means my
ram has changed, but no other hardware in the system has).

I'm not sure what this may mean; it seems to suggest that something is
awry with the CPU difference, since this seems to have something to do
with 3dnow/3dnowex.

I've tried also messing about with these compile options, none of which
matter, I still get the error:

--disable-3dnow
--disable-3dnowex
--disable-runtime-cpudetection

I can try with any other options you'd like me to try. I'm really
beginning to miss watching movies while i work :)


-- 
< There is a light that shines on the frontier >
<   And maybe someday, We're gonna be there.   >
<    Rando Christensen / rando at babblica.net    >




More information about the MPlayer-users mailing list