Nick Lewycky <nicho...@mxc.ca> writes:
> Package: libavformat52
> Version: 4:0.5+svn20090706-2+b1
> Severity: important
> On my powerpc system, any binary linked against libavformat hits the
> following problem:
> nicho...@tracer:~$ mplayer --help
> mplayer: error while loading shared libraries:
> /usr/lib/libavformat.so.52: R_PPC_REL24 relocation at 0x0d925f74 for
> symbol `fcntl' out of range
> For example, 'gnash' also does this. It's possible that the library
> just needs to be compiled with -fPIC instead of -fpic?
That's right, and actually, the situation is even a bit more difficult.
in fact, the library is compiled 3 times in total for 3 different
variants. The first one is as static library, which doesn't need to be
compiled with -fPIC. The last one is with altivec optimisations, which
already has "-fPIC -DPIC" as instructed per --extra-cflags flag.
The non-altivec version however is compiled with -fPIC only, no -DPIC
is added. This is arguably a bug in the configure script and should be
fixed and not overriden by a configure line, though.
Can you arrange me access to such a machine so that I can look at fixing
the configure script? without a real machine, developing a fix for this
will be pretty challenging. The machine should have all
build-dependencies of ffmpeg installed, preferably in an unstable
Reinhard Tartler, KeyID 945348A4
pkg-multimedia-maintainers mailing list