[MPlayer-dev-eng] [PATCH] remove mp3lib

Diego Biurrun diego at biurrun.de
Sun Dec 11 15:58:21 CET 2011


On Fri, Dec 02, 2011 at 08:07:47PM +0100, Thomas Orgis wrote:
> Am Fri, 2 Dec 2011 09:30:29 +0100
> schrieb Thomas Orgis <thomas-forum at orgis.org>: 
> 
> > Then, I built with CFLAGS="-O3 -march=k6-3 -g -pipe" and the build
> > fails in libswscale with the assembler not getting enough registers to
> > work with. Do you have tips on getting a working build of current
> > MPlayer sources?
> 
> Well, I seem to manage to get working build now, with
> --extra-cflags="-march=k6-3 -mtune=k6-3" (not overriding optimization
> level itself). But while we're at it, I think we should fix MPlayer's
> (or ffmpeg's?) build system for K6-2/3+ CPUs. Wasn't that tried before,
> considering that Diego sports such a machine?
> 
> Anyhow, this randomly selected command line reveals the delusion:
> 
> /usr/lib/gcc/i486-linux-gnu/4.4.5/cc1 -quiet -I. -I./ -Ilibdvdread4 -I.
> -Iffmpeg -MD libavformat/ape.d -MP -MQ libavformat/ape.o
> -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE -D_REENTRANT libavformat/ape.c -march=athlon
> --param l1-cache-size=32 --param l1-cache-line-size=32 --param
> l2-cache-size=256 -mtune=athlon -quiet -dumpbase ape.c -march=k6-3
> -mtune=k6-3 -auxbase-strip libavformat/ape.o -O4 -Wundef -Wall
> 
> Before my override comes into play, the build system thinks this is an
> Athlon cpu (-march=athlon -mtune=athlon). Makes we wonder: Wouldn't
> native also just work? Why is the specific CPU enforced there? The main
> configure script selects -march=native. But that is a side issue. Main
> point is: Who thinks that the K6-3+ is an K7? At least the cache size
> works for this particular CPU, though you are ignoring my 1 MiB (or
> was it 2?) of 3rd level cache on the mainboard;-)

This is very weird.  Try finding the line in configure that sets it.

Diego


More information about the MPlayer-dev-eng mailing list