Bug#561956: relocation for fcntl out of range on powerpc

2009-12-21 Thread Reinhard Tartler
Nick Lewycky  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
chroot.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#561956: relocation for fcntl out of range on powerpc

2009-12-21 Thread Nick Lewycky

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?

Nick

-- System Information:
Debian Release: squeeze/sid
 APT prefers unstable
 APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32-trunk-powerpc

Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libavformat52 depends on:
ii  libavcodec52  4:0.5+svn20090706-2+b1 ffmpeg codec library
ii  libavutil49   4:0.5+svn20090706-2+b1 ffmpeg utility library
ii  libbz2-1.01.0.5-3high-quality block-sorting 
file co

ii  libc6 2.10.2-2   GNU C Library: Shared libraries
ii  zlib1g1:1.2.3.3.dfsg-15  compression library - runtime

libavformat52 recommends no packages.

libavformat52 suggests no packages.

-- no debconf information




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org