On Wed, 16 Nov 2005, A.M.P. Boelens wrote:
I try to rebuild linxine1 without stripping because it hangs on a certain mp3,
but it won't build. I get the following error:
[...]
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../include
-I../../../../include -I../../../../src -I../../../../src/xine-engine
-I../../../../src/xine-engine -I../../../../src/xine-utils
-I../../../../src/input -I../../../../src/input -I../../../../lib -DSIMPLE_IDCT
-DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT -DUSE_FASTMEMCPY -DCONFIG_RISKY
-DCONFIG_DECODERS -DXINE_MPEG_ENCODER -DCONFIG_ZLIB -mtune=athlon -O3 -pipe
-fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4
-mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2
-fno-strict-aliasing -ffast-math -finline-functions -Wall -DNDEBUG -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wnested-externs -Wcast-align
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -g -O0 -MT
dsputil_mmx.lo -MD -MP -MF .deps/dsputil_mmx.Tpo -c
How did you manage to get "-O0" to your compiler flags?
It should be obvious that the C wrapped MMX assembler code only works if
gcc is allowed to optimize the wrapping C away. Otherwise, the compiler
will run out of registers which leads to this:
dsputil_mmx.c -o .libs/dsputil_mmx.o dsputil_mmx.c: In function
'h263_h_loop_filter_mmx':
dsputil_mmx.c:586: error: can't find a register in class 'GENERAL_REGS' while
reloading 'asm'
dsputil_mmx.c:586: error: can't find a register in class 'GENERAL_REGS' while
reloading 'asm'
make[6]: *** [dsputil_mmx.lo] Error 1
make[6]: Leaving directory
`/home/arnout/src/xine-lib-1.0.1/src/libffmpeg/libavcodec/i386'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/home/arnout/src/xine-lib-1.0.1/src/libffmpeg/libavcodec'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/arnout/src/xine-lib-1.0.1/src/libffmpeg'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/arnout/src/xine-lib-1.0.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/arnout/src/xine-lib-1.0.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/arnout/src/xine-lib-1.0.1'
make: *** [build-stamp] Error 2
So what exactly did you try to do?
--
A: Because it breaks the logical sequence of discussion.
Q: Why is top posting bad?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]