[FFmpeg-devel] Symbol versioning failure on Android
Martin Storsjö
martin
Wed Dec 8 12:45:27 CET 2010
On Wed, 8 Dec 2010, Aurelien Jacobs wrote:
> On Wed, Dec 08, 2010 at 11:37:56AM +0200, Martin Storsj? wrote:
> > On Tue, 7 Dec 2010, Martin Storsj? wrote:
> > [...]
> >
> > An even more accurate, but more messy, solution would be to link a full
> > binary, then examine the built binary and see if it specifies
> > /system/bin/linker as its dynamic linker. (I'm not totally sure of how to
> > achieve that cleanly, though.)
>
> You can add a function like:
>
> check_string(){
> log check_string "$@"
> str="$1"
> shift
> check_ld "$@" && strings $TMPE | grep -q "$str"
> }
>
> And then you can use it this way:
>
> check_string /system/bin/linker <<EOF && echo disable symver
> int main(void){ return 0; }
> EOF
Thanks for the suggestion, the attached patch does things this way.
So, now there's three options. Which one is preferred?
// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure-Disable-symbol-versioning-on-Android.patch
Type: text/x-diff
Size: 1348 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101208/02d269fd/attachment.patch>
More information about the ffmpeg-devel
mailing list