[Libav-user] ff_log2_tab defined multiple times in the fmpeg 1.1 libraries, bug or feature ??

Lars Hammarstrand lars.hammarstrand at gmail.com
Wed Feb 13 19:36:44 CET 2013


Apparently there are some issues with ios 64-bit osx: "
http://stackoverflow.com/questions/2906147/what-does-the-all-load-linker-flag-do
":

*"Important:* For 64-bit and iPhone OS applications, there is a linker bug
that prevents -ObjC from loading objects files from static libraries that
contain only categories and no classes. The workaround is to use the
-all_load or -force_load flags"





2013/2/13 "René J.V. Bertin" <rjvbertin at gmail.com>

>
> On Feb 13, 2013, at 18:55, Lars Hammarstrand wrote:
>
> > > There's your explanation (from `man gcc`):
> > >       -all_load
> > >           Loads all members of static archive libraries.  See man
> ld(1) for more information.
> >
> > Good eyes and a very observant mind, thank you very much ;-)
>
> Bah, who knows what font size I have in my mail reader? ;)
>
> IIRC, -all_load is mostly/only of interest when creating libraries from
> other (static) libraries, to ensure that all functions/modules get pulled
> in. I don't really see the interest when linking an application, unless of
> course you want to enable plugins to dlsym variables or functions that the
> app doesn't use itself. And I'm not sure if I find that better practice
> than defining global variables multiple times in public libraries ;)
>
> R.
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130213/db12ceab/attachment.html>


More information about the Libav-user mailing list