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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Dec 3 08:17:54 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
> -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls
> -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization
> -Wno-pointer-sign -Wdeclaration-after-statement
> -Werror-implicit-function-declaration -std=gnu99 -ffast-math
> -fomit-frame-pointer -fno-tree-vectorize -o -
> 
> 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.

You completely lost me at that point. I have no idea where all those
--param flags come from, and a specific CPU is only used by configure
if native is not supported.


More information about the MPlayer-dev-eng mailing list