Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34013 - Various problems with ffmpeg-0.4.8 (and 0.4.7 ?) ebuild
Summary: Various problems with ffmpeg-0.4.8 (and 0.4.7 ?) ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High critical (vote)
Assignee: PPC Porters
URL: http://fredrik.hubbe.net/plugger/test...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-21 05:41 UTC by Olivier Castan
Modified: 2006-02-04 06:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed ebuild for ffmpeg-0.4.8 (ffmpeg-0.4.8-r1.ebuild,2.35 KB, text/plain)
2003-11-21 05:43 UTC, Olivier Castan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Castan 2003-11-21 05:41:45 UTC
1. The configure script in ffmpeg enable altivec on any PPC architecture
(detected with 'uname -a'), even on G3... Some programs using libavcodec.so
(vlc,...) will stop with SIGILL.
I suggest using the already existing 'altivec' flag and pass '--disable-altivec'
if it's not present.
2. In vlc there's a plugin for mozilla to display video within the browser. It
was not loaded because of a relocation problem with libavcodec.so. Enabling
'-fPIC' on my PPC solved the problem.

Reproducible: Always
Steps to Reproduce:

Actual Results:  
1. "illegal instruction" signal in vlc when reading some .asf or .wmv files.
2. vlcplugin not loaded in mozilla


Trace of mozilla running :
$ strace /usr/lib/mozilla/mozilla-bin 2>&1 | grep plugin
...
write(2, "LoadPlugin: failed to initialize"..., 186LoadPlugin: failed to
initialize shared library /usr/lib/nsbrowser/plugins/libvlcplugin.so
[/usr/lib/libavcodec.so: R_PPC_REL24 relocation at 0x0d89a2a0 for symbol `build'
out of range]
...

$ emerge info

Portage 2.0.49-r15 (default-ppc-1.4, gcc-3.2.3, glibc-2.2.5-r4,2.3.2-r3,
2.4.21-ppc-r2)
=================================================================
System uname: 2.4.21-ppc-r2 ppc
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -mcpu=750"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe -mcpu=750"
DISTDIR="/home/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://194.83.57.11/sites/www.ibiblio.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://194.83.57.7/sites/www.ibiblio.org/gentoo/
http://194.83.57.2/sites/www.ibiblio.org/gentoo/
http://194.83.57.3/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="oss dvd xv jpeg nls mitshm gif png truetype ppc cups foomaticdb gnome-libs
alsa gdbm berkdb slang readline aalib bonobo ggi tcltk X sdl gpm tcpd pam libwww
ssl perl python esd imlib oggvorbis gnome gtk motif opengl mozilla ldap crypt
dillo faad fbcon flash gd gtk2 gtkhtml java mad matroska mpeg ncurses pdflib
ppds quicktime spell tiff X509 xface xmms xvid zlib -qt -kde -guile"
Comment 1 Olivier Castan 2003-11-21 05:43:15 UTC
Created attachment 21030 [details]
Proposed ebuild for ffmpeg-0.4.8
Comment 2 Luca Barbato gentoo-dev 2003-11-21 21:14:55 UTC
ffmpeg related bug addressed.

please open a new bug about vlc, strangely the plugin should build with -fPIC already and adding that flag globally didn't help here