FS#900 - xine-lib does not compile with gcc 3.4

Attached to Project: Arch Linux
Opened by Manuel Zamora (tale) - Monday, 10 May 2004, 19:48 GMT
Last edited by Judd Vinet (judd) - Monday, 10 May 2004, 23:37 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To dorphell (dorphell)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

xine-lib does not compile with gcc 3.4. I get the following error:

[snip]
/bin/sh ../../../libtool-nofpic --mode=compile 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 -DSIMPLE_IDCT -DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT -DUSE_FASTMEMCPY -DCONFIG_RISKY -DCONFIG_DECODERS -DXINE_MPEG_ENCODER -DCONFIG_ZLIB -mcpu=pentiumpro -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 -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -march=i686 -O2 -pipe -c -o rpza.lo `test -f 'rpza.c' || echo './'`rpza.c
motion_est.c: In function `ff_estimate_p_frame_motion':
mpegvideo.h:895: sorry, unimplemented: inlining failed in call to 'ff_h263_round_chroma': function body not available
motion_est.c:895: sorry, unimplemented: called from here
mpegvideo.h:895: sorry, unimplemented: inlining failed in call to 'ff_h263_round_chroma': function body not available
motion_est.c:896: sorry, unimplemented: called from here
mpegvideo.h:895: sorry, unimplemented: inlining failed in call to 'ff_h263_round_chroma': function body not available
motion_est.c:895: sorry, unimplemented: called from here
mpegvideo.h:895: sorry, unimplemented: inlining failed in call to 'ff_h263_round_chroma': function body not available
motion_est.c:896: sorry, unimplemented: called from here
motion_est.c: At top level:
motion_est.c:384: warning: 'full_motion_search' defined but not used
motion_est.c:438: warning: 'log_motion_search' defined but not used
motion_est.c:514: warning: 'phods_motion_search' defined but not used
make[5]: *** [motion_est.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
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 -DSIMPLE_IDCT -DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT -DUSE_FASTMEMCPY -DCONFIG_RISKY -DCONFIG_DECODERS -DXINE_MPEG_ENCODER -DCONFIG_ZLIB -mcpu=pentiumpro -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 -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -march=i686 -O2 -pipe -c rpza.c -MT rpza.lo -MD -MP -MF .deps/rpza.TPlo -o .libs/rpza.o
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
mpegvideo.c: At top level:
mpegvideo.c:3905: warning: 'pre_estimate_motion_thread' defined but not used
mpegvideo.c:3924: warning: 'estimate_motion_thread' defined but not used
make[5]: Leaving directory `/var/abs/multimedia/xine-lib/src/xine-lib-1-rc3c/src/libffmpeg/libavcodec'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/abs/multimedia/xine-lib/src/xine-lib-1-rc3c/src/libffmpeg/libavcodec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/abs/multimedia/xine-lib/src/xine-lib-1-rc3c/src/libffmpeg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/multimedia/xine-lib/src/xine-lib-1-rc3c/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/multimedia/xine-lib/src/xine-lib-1-rc3c'
make: *** [all] Error 2
[snip]

It worked on the same system with the previous gcc version without any problem.
This task depends upon

Closed by  dorphell (dorphell)
Tuesday, 08 June 2004, 20:22 GMT
Reason for closing:  Deferred
Comment by LavaPunk (LavaPunk) - Wednesday, 12 May 2004, 04:36 GMT
I also receive this build error while building under gcc 3.4
Comment by dorphell (dorphell) - Tuesday, 08 June 2004, 20:22 GMT
Should be fixed in next release according to xine cvs. I havn't seen any patches and I don't have time to write some so I'll just wait for the next release.. shouldn't be long.
Comment by dorphell (dorphell) - Tuesday, 08 June 2004, 20:22 GMT
Should be fixed in next release according to xine cvs. I havn't seen any patches and I don't have time to write some so I'll just wait for the next release.. shouldn't be long.

Loading...