After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 329532 - streamer-0.10.2: All 34 tests fail when run on a linuxPPC
streamer-0.10.2: All 34 tests fail when run on a linuxPPC
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.x
Other Linux
: Normal blocker
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-02-01 22:26 UTC by Joseph Sacco
Modified: 2006-03-10 16:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joseph Sacco 2006-02-01 22:26:57 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
Comment 1 David Schleef 2006-02-02 02:33:13 UTC
Check needs to be built with -fPIC.  See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344309

Comment 2 Joseph Sacco 2006-02-02 03:45:18 UTC
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
Comment 3 Edward Hervey 2006-02-06 09:19:52 UTC
Joseph, what is the status ? Why doesn't totem work with the gstreamer back-end although you managed to compile gstreamer correctly ?
Comment 4 Joseph Sacco 2006-02-06 13:34:31 UTC
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