[FFmpeg-devel] [PATCH] Symbian OS won't load binaries which have a function pointer assigned directly using a library routine

Måns Rullgård mans
Mon Jan 24 17:40:14 CET 2011

"Ronald S. Bultje" <rsbultje at gmail.com> writes:

> Hi,
> On Mon, Jan 24, 2011 at 10:18 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
>> maybe its something with a missing linked in lib? and this works
>> because macros get used or something in that direction i dont know exactly
> I'm guessing that the functions are completely missing in their libc,
> and that indeed the C code is converted into something else using
> macros. Great way to save space by making libc smaller.

If it were that simple, I would have expected the compilation or at
the very least linking to fail.

It could also be that the (dynamic) linker refuses to resolve a
non-call reference with a PLT address.  They wouldn't be the first to
have problems in that area.  Under glibc, the two pointers to the same
function obtained from different shared objects do not always compare
equal.  We were bitten by that one in the past.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list