Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Heid Oliver <oliver.heid@siemens.com>
To: "'axp-list@redhat.com'" <axp-list@redhat.com>
Subject: RE: Xine patch (was: play films)
Date: Thu, 5 Dec 2002 15:12:26 +0100	[thread overview]
Message-ID: <850F2E3B91BCD611A3FC00508B94988A108C6C@erlh908a.med.siemens.de> (raw)

For the interested: xine ESD sound is broken on alpha because src/libmad/layer3.c does not compile properly with optimization level -O2 or higher. I could not identify the reason; it might be a bug in the gcc's shipped with RH7.1 and RH7.2. My patch just sets the optimization level to -O1 for all sources in src/libmad.

	Oliver

> In my experience the latest xine from http://cambuca.ldhs.cetuc.puc-rio.br/xine/ still has an issue > with esd sound. This patch is a workaround

--- xine-lib.spec~	Wed Sep  4 08:31:33 2002
+++ xine-lib.spec	Thu Dec  5 12:22:45 2002
@@ -178,6 +178,7 @@
 	    --localstatedir=%{_localstatedir} \
 	    --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} \
 	    --infodir=%{_infodir} $BUILD_ARGS
+perl -pi -e "s,-O3,-O1,g" src/libmad/Makefile*
 make
 
 %install
-




             reply	other threads:[~2002-12-05 14:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-05 14:12 Heid Oliver [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-06 10:05 Xine patch (was: play films) Heid Oliver
2002-12-06 18:27 ` Kelledin
2002-12-05 11:41 Heid Oliver
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox