GNOME Bugzilla – Bug 329532
streamer-0.10.2: All 34 tests fail when run on a linuxPPC
Last modified: 2006-03-10 16:40:27 UTC
System: G4 PowerMac with dual 533MHz CPU's, 1GB RAM, SCSI drives YDL-4.0.1 [FC2 clone for PPC] gcc-3.3.3 ================================================================================ All 34 tests run by 'make check' fail, each with the same relocation error: /opt/garnome-2.13.x/src/desktop/gstreamer/work/main.d/gstreamer-0.10.2/tests/check/libs/.libs/lt-gstnettimeprovider: error while loading shared libraries: /opt/garnome-2.13.x/src/desktop/gstreamer/work/main.d/gstreamer-0.10.2/libs/gst/check/.libs/libgstcheck-0.10.so.0: R_PPC_REL24 relocation at 0x0ff848dc for symbol `malloc' out of range The R_PPC_REL24 relocation error arises when PIC and non-PIC code are indiscriminately thrown together into a shared library. This is not to say that PIC and non-PIC code cannot be "properly" combined to form a shared library on a PPC. It's all a matter of using the right combination of compiler and linker flags. For what it's worth, all 34 tests pass when run on a lintel box. One consequence of these failures is totem fails to run on a PPC when built using the gst-0.10.x back end. totem does run when built using either the gst-0.8.11 back end or the xine-lib-1.1.1 back end. -Joseph
Check needs to be built with -fPIC. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344309
David, Thanks. Rebuilding check with '-fPIC -DPIC' was the obvious choice [:-)]. Consequently, =================== All 34 tests passed =================== which is good news for gstreamer-0.10.2 and not so good news for totem, which does not run on a PPC when using the gstreamer-0.10.x back end. -Joseph
Joseph, what is the status ? Why doesn't totem work with the gstreamer back-end although you managed to compile gstreamer correctly ?
Edward, The problem appears to be related to running totem on a linuxPPC. See bug # 329394. As it stands today, the released version of totem, 1.3.90 runs properly when built using either gstreamer-0.8.11 or xine-lib-1.1.1. It does not run at all on a linuxPPC when built using gstreamer-0.10.2. The totem-CVS, as of yesterday, works if goom visualization is turned off. I am hopeful the totem team will continue to make progress. -Joseph