[MPlayer-dev-eng] [PATCH] remove mp3lib
Thomas Orgis
thomas-forum at orgis.org
Fri Dec 2 20:07:47 CET 2011
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. 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;-)
Anyhow, I'm off experimenting with MPlayer benchmarking on that system.
Alrighty then,
Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20111202/860e01ca/attachment.asc>
More information about the MPlayer-dev-eng
mailing list