freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] LD version script


From: Werner LEMBERG
Subject: Re: [ft-devel] LD version script
Date: Sun, 28 Jan 2018 19:11:34 +0100 (CET)

>> OK.  After a bit of searching the internet I now believe to know
>> what symbol versioning is good for.  Is there any better-known
>> (GNU) library (besides libc) that does that by default?
> 
> libc is confined by the standard. FreeType, on the other hand, can
> deprecate, rename, and adopt interfaces much more freely.  I failed
> to grasp why a library like FreeType should have a record when a
> certain symbol was adopted.  It is not portable to keep multiple
> versions of the same symbol.  FreeType strives for extreme
> portability.

Indeed.  Such a feature, I reckon is for libraries like libc.
However, providing versioned symbols seems to be useful.

> Here is a rather silly examples without actual versioning:
> https://github.com/FFmpeg/FFmpeg/blob/master/libavdevice/libavdevice.v
> and similar.
> https://sourceforge.net/p/libpng/code/ci/libpng16/tree/scripts/vers.c
> is a plain looking scaffold

Thanks.  So, if you like, please work on symbol versioning!


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]