[FFmpeg-devel] Problem building shared libraries using svn-r11100+ on x86_64

Måns Rullgård mans
Wed Dec 5 01:59:01 CET 2007


Nicolas George <nicolas.george at normalesup.org> writes:

> Le quartidi 14 frimaire, an CCXVI, M?ns Rullg?rd a ?crit?:
>> No need, I've already fixed configure.
>
> I have seen, but I am not really happy with the concept of changing the
> linking style of the whole library just to change the linking of a few
> global constants.

The change should have a positive effect overall, as determined by
Loren.  That alone is reason enough to use it.

> In particular, I fear this may break some third party applications that
> relied on overloading specific functions of the library.

That's their problem.

> The visibility attributes does _exactly_ the same thing than -Bsymbolic, but
> _just_ for the variables where it is needed. Furthermore, it does not
> require a configure test.

It's not standard C, so it does require a test.  The same effect can
be achieved with linker scripts which, while non-standard, do not
clutter the code.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list